acloudtree

(Nerd) Ubuntu 9.10 + installing wireshark

From the command line

1
sudo apt-get install wireshark

Once the process completes, wireshark will be installed. The only problem is that if you open the wireshark application, there will not be any physical eth(N) devices to sniff. So how do we remedy this?

Open the application ‘Main Menu’

PathToMainMenu

Select wireshark properties

SelectWiresharkProperties

We need to change the command from this
Wireshark

To this
GksudoWireshark

And what is the reason? Well the ethernet or wireless devices we are after are owned by root. So if we tack on the gksudo command to the front of the wireshark init command, we are effectively opening wireshark as root. With all the implied responsibilities and permissions, make sense?

13 comments

  1. Ted says:

    Great help. Now, it is working. Thanks.

  2. sajid says:

    thanks man..that’s what i’m looking for.

  3. jarvis says:

    Yes, me, too!!! Thanks so much for your excellent help! ^^

  4. Doc says:

    Thanks for that clear and extremely useful advice!

  5. Lu, Jye says:

    Thank you!

  6. ks says:

    Thanks a lot, now it works. No way that I could have figured this out on my own with 2 weeks of Linux (Ubuntu) experience :)

  7. Flavio says:

    Thanks a lot!! I have searched through half of the internet for help about it and now I’m using wireshark, at last!

  8. Nice! Glad to hear it. -peace

  9. Suranga says:

    Thanks a lot bro! It is working for me. Great help!

  10. Mico says:

    Thanks a million! I was tearing my hair out.

  11. [...] Here is a good tutorial show you how to Install wireshark on ubuntu: From the command line [...]

  12. StarQuake says:

    In /usr/share/doc/wireshark-common/README.Debian you can read that the proper way to set this up would be:

    sudo dpkg-reconfigure wireshark-common

    Took me a while to figure out. Thought I should share it with you.

  13. Thanks StarQuake, just used your suggestion and it worked like a champ.

Post a comment

Copyright © Jared Folkins
Programming, Computers, Writing, Economics, and Life

Powered by WordPress