chozabu / LinNetLim

A Netlimiting program for Linux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Running under 2.7 getting `error: [Errno 19] No such device` exception

tijko opened this issue · comments

All dependencies are installed and running with:

sudo python2 kivy_ui.py

This is with archlinux and Python2.7:


 Exception in thread Thread-1:
 Traceback (most recent call last):
   File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
     self.run()
   File "/usr/lib/python2.7/threading.py", line 754, in run
     self.__target(*self.__args, **self.__kwargs)
   File "/home/tijko/Downloads/LinNetLim-master/scapy_watcher.py", line 59, in launch_watcher
     run()
   File "/home/tijko/Downloads/LinNetLim-master/scapy_watcher.py", line 55, in run
     sniff(iface="wlp3s0", prn=pkt_callback, filter="tcp", store=0)
   File "/usr/lib/python2.7/site-packages/scapy/sendrecv.py", line 593, in sniff
     **karg)]
   File "/usr/lib/python2.7/site-packages/scapy/arch/linux.py", line 488, in __init__
     self.ins.bind((iface, type))
   File "/usr/lib/python2.7/socket.py", line 228, in meth
     return getattr(self._sock,name)(*args)
 error: [Errno 19] No such device

Showing the Python version and compile info:

python2 -c "import sys; print(sys.version)"
2.7.12 (default, Nov  7 2016, 11:55:55)
[GCC 6.2.1 20160830]