Wireshark does not show any interface to capture packets
11,010
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.
Related videos on Youtube
Author by
Thiago Rider Augusto
Updated on September 18, 2022Comments
-
Thiago Rider Augusto over 1 year
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
-
NonStandardModel almost 8 yearsYou have to run wireshark as root to see all interfaces. Just open terminal and write "sudo wireshark". You will have to enter password.
-
Alcuin Arundel almost 8 yearsTry following these instructions: sathisharthars.wordpress.com/2014/06/04/…
-
-
jiipeezz almost 8 years@ThiagoRiderAugusto My bad, I added one step to the answer. Try select
YES
to the question -
jiipeezz almost 8 yearsJust the user/users added to the group. (somebody correct me if I'm wrong)