How do I get permission to use eth0 or lo with wireshark

Asked by eric tennant on 2011-02-06

I can not get wireshark to work it does not show network configerations, & if I try & use eth0 or lo I get a message to say I do not have permission to use it.???
So whats the use of having wireshark to inastll at all.??

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu wireshark Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
2011-02-06
Last query:
2011-02-06
Last reply:
2011-02-06

run:

gksudo wireshark

And you should be ok, the app doesn't work if ran as user.

eric tennant (erictennant) said : #3

Thanks again,
it seems a waste of time loading wireshark from the packet manager.??
if this is all one has to do.??
Cheers
Eric Tennant

You had to install wireshark *somehow*, before using it. The best, fastest, and easiest way to install it is with the package manager. If you hadn't installed it with the package manager, then running "gksudo wireshark" would not have done anything!

eric tennant (erictennant) said : #5

Thanks for the info. much appreciated.
regards
Eric Tennant

you can edit the menu item if it does not have the gksudo item on it so it is default when you run the app

Apparently, the information on the wireshark website to the effect that wireshark must be run as root (e.g. with gksu/gksudo) is no longer current. That works, of course (as you have experienced). But an alternative and arguably preferable solution is to reconfigure the package wireshark-common, add yourself to the wireshark group, and then log out (and back in). See bug 513903 for details. If you want to do this and need help, please feel free to reopen this question.