Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I get the error running as root: OSError: [Errno 19] No such device #2

Open
vudumagic1968 opened this issue Jul 17, 2023 · 1 comment

Comments

@vudumagic1968
Copy link

python3.9
Traceback (most recent call last):
File "/export/backups/scratch/mjobe/git/testpy/sniffer/./snifferCore.py", line 95, in
sniffer(count=10,showPort=True,showRawData=True)
File "/export/backups/scratch/mjobe/git/testpy/sniffer/./snifferCore.py", line 71, in sniffer
with PromiscuousSocketManager() as s:
File "/export/backups/scratch/mjobe/git/testpy/sniffer/./snifferCore.py", line 35, in init
fcntl.ioctl(s, FLAGS.SIOCGIFFLAGS, ifr) # get the flags
OSError: [Errno 19] No such device

$ uname -a
Linux engdev71.efjdfw.local 3.10.0-1062.9.1.el7.x86_64 #1 SMP Fri Dec 6 15:49:49 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/redhat-release
CentOS Linux release 7.7.1908 (Core)

@vudumagic1968
Copy link
Author

contact me at [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant