Same problem here:
# uname -a
Linux laila 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 GNU/Lin
# python --version
Python 2.5.1c1
# scapy -s test
/usr/bin/scapy:3101: Warning: 'with' will become a reserved keyword in Python 2.6
/usr/bin/scapy:3103: Warning: 'with' will become a reserved keyword in Python 2.6
INFO: Can't open /etc/ethertypes file
Traceback (most recent call last):
File "/usr/bin/scapy", line 10647, in <module>
class Conf(ConfClass):
File "/usr/bin/scapy", line 10693, in Conf
route = Route()
File "/usr/bin/scapy", line 1911, in __init__
self.resync()
File "/usr/bin/scapy", line 1915, in resync
self.routes = read_routes()
File "/usr/bin/scapy", line 2234, in read_routes
ifreq = ioctl(s, SIOCGIFADDR,struct.pack("16s16x",iff))
IOError: [Errno 99] Cannot assign requested address
Please merge/reference to #106768.
Same problem here:
# uname -a
Linux laila 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 GNU/Lin
# python --version
Python 2.5.1c1
# scapy -s test scapy:3101: Warning: 'with' will become a reserved keyword in Python 2.6 scapy:3103: Warning: 'with' will become a reserved keyword in Python 2.6 struct. pack("16s16x" ,iff))
/usr/bin/
/usr/bin/
INFO: Can't open /etc/ethertypes file
Traceback (most recent call last):
File "/usr/bin/scapy", line 10647, in <module>
class Conf(ConfClass):
File "/usr/bin/scapy", line 10693, in Conf
route = Route()
File "/usr/bin/scapy", line 1911, in __init__
self.resync()
File "/usr/bin/scapy", line 1915, in resync
self.routes = read_routes()
File "/usr/bin/scapy", line 2234, in read_routes
ifreq = ioctl(s, SIOCGIFADDR,
IOError: [Errno 99] Cannot assign requested address
Regards,
Dominik