pcs pcap not able to recognize interface

Sadashiv sadashiv.linux at gmail.com
Mon Nov 1 13:52:11 CET 2010


I'm facing following error while running Python script. Any idea what
causing this error --


execute_local_command: Traceback (most recent call last):
  File "./pcapreplay/flowreplay.py", line 376, in <module>
    main()
  File "./pcapreplay/flowreplay.py", line 177, in main
    cPcapC = pcs.PcapConnector(clientIface)
  File "/usr/lib/python2.7/site-packages/pcs/__init__.py", line 1850,
in __init__
    self.file = pcap.pcap(name, snaplen, promisc, timeout_ms)
  File "pcap.pyx", line 215, in pcs.pcap.pcap.__init__ (pcs/pcap/
pcap.c:1673)
OSError: ioctl: No such device
[53334 refs]
start.py: ERROR    connection_036: execute_local_command: Traceback
(most recent call last):
  File "./pcapreplay/flowreplay.py", line 376, in <module>
    main()
  File "./pcapreplay/flowreplay.py", line 177, in main
    cPcapC = pcs.PcapConnector(clientIface)
  File "/usr/lib/python2.7/site-packages/pcs/__init__.py", line 1850,
in __init__
    self.file = pcap.pcap(name, snaplen, promisc, timeout_ms)
  File "pcap.pyx", line 215, in pcs.pcap.pcap.__init__ (pcs/pcap/
pcap.c:1673)
OSError: ioctl: No such device
[53334 refs]



More information about the Python-list mailing list