Wireshark on Ubuntu 11.10 No Interfaces
2011.10.26
When installing Wireshark on Ubuntu I’ve run across the issue of no interfaces. Below are the steps to revolve that issue.
Install the setcap executable
$ sudo apt-get install libcap2-bin
Create wireshark group
$ sudo groupadd wireshark
Add your user name to group wireshark
$ sudo usermod -a -G wireshark YOUR_USER_NAME
Change the dumpcap directory to group wireshark
$ sudo chgrp wireshark /usr/bin/dumpcap
Change mode to 750
$ sudo chmod 750 /usr/bin/dumpcap
Grant capabilities with setcap
$ sudo setcap cap_net_raw,cap_net_admin=eip /usr/bin/dumpcap
Verify the change
$ sudo getcap /usr/bin/dumpcap
[…] shell snippet is really trimmed down. For more details, check out tavshed’s blog post. Posted by jharr at […]
Nice post. fixed me right up. thx mate
see the README.debian file installed with wireshack for other alternatives
http://anonscm.debian.org/viewvc/collab-maint/ext-maint/wireshark/tags/1.2.1-2/debian/README.Debian?view=markup
Had to do this also:
sudo chmod +xs /usr/bin/dumpcap
many many thanks
Thank You!!!!!
According its help documents, only two steps:
sudo dpkg-reconfigure wireshark-common
sudo usermod -G wireshark -a $USER
then reboot
[…] solucionarlo y siguiendo a tavshed solo hay que hacer esto: sudo apt-get install libcap2-bin sudo groupadd wireshark sudo usermod -a […]
Thank you!!!!
thanks ……………….it works…
Clearly,
YOU
DA
MAN.
Couldn’t run /usr/bin/dumpcap in child
process: Permission denied