Skip to content

socket.error: [Errno 19] No such device #4

@MuntherN

Description

@MuntherN

Greeting ,

at first thank you very much for your great work , i am beginner in python , when i run your program i get the error below

Traceback (most recent call last):
File "send_arp.py", line 192, in
main()
File "send_arp.py", line 174, in main
request_target_mac=bcast_mac)
File "send_arp.py", line 83, in send_arp
sock.bind((device, socket.SOCK_RAW))
File "/usr/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 19] No such device

i do not understand if i must write the src ip and src mac for sender device or destination device
best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions