mainmenu

How do I get Linux/Ubuntu to show interfaces in Wireshark?

Ah – a common problem.  Wireshark has installed and does not see any of the computer interfaces so you can do captures.

The answer to your problem is simple!  You need to give the Wireshark application root priviledges.

Ubuntu Solution

In Ubuntu, the best way to fix this (and any other application that needs root priviledges) is to change the way the program launches.

  1. Right click on Applications
  2. Now click on Edit Menus
  3. Look in the Internet Tab and find Wireshark

    mainmenu
     

  4. Double click on Wireshark.  The launcer applet will appear.
  5. In the field labeled Command: add gksudo in front of wireshark:

    gkwireshark

Now try launching Wireshark again and all the Interfaces will be there!!

Other Linux Distributions Solution

In other versions of Linux, you have to do all this from the terminal window.

Open a terminal and enter the following commands in order (you can skip the first one if you already have Wireshark installed):

sudo apt-get install wireshark
sudo dpkg-reconfigure wireshark-common 

You will be prompted to allow users to access dumpcap – select OK/Yes.

sudo usermod -a -G wireshark $USER
sudo reboot

Some would argue the reboot is not necessary, that you just need to log out and back in.  

Run Wireshark and the interfaces should be there!!

I hope you find this article and its content helpful.  Comments are welcomed below.  If you would like to see more articles like this, please support us by clicking the patron link where you will receive free bonus access to courses and more, or simply buying us a cup of coffee!, and all comments are welcome! 

 

Leave a Comment

Contact Us Here


Please verify.
Validation complete :)
Validation failed :(
 
Your contact request has been received. We usually respond within an hour, but please be patient. We will get back to you very soon.
Scroll to Top