Wireshark does not show any interface to capture packets

I've installed Wireshark in Ubuntu 16.04 with the command:

sudo apt-get install wireshark

After program start, Start Capture and Stop Capture buttons are disabled. Even opening Capture Options window, I can't see any interfaces to capture packets from. They don't show even with menu Capture > Refresh Interfaces.

Where are all machine's interfaces?

Edit:

I also noticed there's a message in the main screen:

Couldn't run /usr/bin/dumpcap in child process: Permission denied

3

1 Answer

Even though you could run wireshark as root, it should be avoided.

Instead, try this:

sudo dpkg-reconfigure wireshark-common

Select YES to the question

Then add your user to newly created wireshark group with this

sudo adduser $USER wireshark

Finally log out, and log back in and you should be able to capture packets.

4

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like