View unanswered posts | View active topics It is currently Fri Feb 21, 2020 8:53 am



Reply to topic  [ 2 posts ] 
 [SOLVED]wireshark says mintbox has no useable interface..? 
Author Message

Joined: Sat Sep 29, 2012 8:49 pm
Posts: 24
Post [SOLVED]wireshark says mintbox has no useable interface..?
I haven't used wireshark before on my mintbox, but need to do so. However after installing wireshark 1.6.7 and starting it I am told under the capture heading "No interface can be used for capturing in this system with the current configuration. See capture help for details. "

However I can not find any reference to this message there. Is anyone successfully using wireshark on a mint box? Or, can you advise please as to how to get wireshark to work with the lan interface in the mint box..

Thank you

Image

_________________
Geek by nature.. Linux by choice.. ;-)


Last edited by colinmcc on Tue Jan 28, 2014 12:36 am, edited 1 time in total.



Mon Jan 27, 2014 7:25 pm
Profile

Joined: Sat Sep 29, 2012 8:49 pm
Posts: 24
Post Re: wireshark says mintbox has no useable interface..?
AaaaH... Should have Googled that message. What wireshark is really saying is that it doesn't have permission to access the lan port, only root can do that.

So tried sudo wireshark and it shows my interfaces and wireshark works ;-)

However wireshark then has a popup about not using root privileges, so I found:

http://cmc.site11.com/2011/08/ubuntu-10-10-wireshark-no-interfaces-available-solved/ which gives the wireshark author's way.

- raise the capture privileges for the desired user, by adding capturing capabilities:

Note: This is the recommended way by the Wireshark creators.

Open a terminal.
sudo addgroup -system wireshark
sudo chown root:wireshark /usr/bin/dumpcap
sudo setcap cap_net_raw,cap_net_admin=eip /usr/bin/dumpcap

and run the following changing YOUR_USER_NAME with the desired user name:

sudo usermod -a -G wireshark YOUR_USER_NAME

Then just start Wireshark and select the network interface.

Worked for me, my network interfaces showed up and I can capture traffic.

_________________
Geek by nature.. Linux by choice.. ;-)


Tue Jan 28, 2014 12:35 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.