acloudtree

Tag permissions

(Nerd) Ubuntu 9.10 + installing wireshark

From the command line

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 for this? 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?

Mac OSX & Wireshark

Just a stupid reminder to myself to set the permissions and create sym links for wireshark. xxxxxx$ sudo chmod 777 /dev/bpf*

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

Powered by WordPress