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

12 comments

  1. […] shell snippet is really trimmed down. For more details, check out tavshed’s blog post. Posted by jharr at […]

  2. Nice post. fixed me right up. thx mate

    brandon, 2012.01.03
  3. 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

    s h, 2012.01.10
  4. Had to do this also:
    sudo chmod +xs /usr/bin/dumpcap

    Rasmus Melgaard, 2012.01.12
  5. many many thanks

    john johnson, 2012.01.19
  6. Thank You!!!!!

    Brendan, 2012.02.03
  7. According its help documents, only two steps:
    sudo dpkg-reconfigure wireshark-common
    sudo usermod -G wireshark -a $USER

    then reboot

    benison, 2012.03.22
  8. […] solucionarlo y siguiendo a tavshed solo hay que hacer esto: sudo apt-get install libcap2-bin sudo groupadd wireshark sudo usermod -a […]

  9. Thank you!!!!

    Captain Flint, 2012.03.29
  10. thanks ……………….it works…

    vikash, 2012.04.06
  11. Clearly,
    YOU
    DA
    MAN.

    Yo, 2012.04.14
  12. Couldn’t run /usr/bin/dumpcap in child
    process: Permission denied

    Alia, 2012.07.06

Leave a comment