Ubuntu: WireShark not working on 12.04, how do I get this working?



Question:

I want to want to read the packets of data that are transferred to and from my laptop. I installed wireshark from the Software Center, but the software isn't able to detect my wireless lan.

Any ideas, what might I be doing wrong?


Solution:1

It probably isn't working because you need to run it as root.

Try launching it using this command.

gksudo wireshark&  

Let me know if this works.


Solution:2

Wireshark does not have necessary privileges to access network interfaces while being run normally under the default settings. However, you should try to run as few programs as possible as root, and wireshark is no exception. Instead, there is a better way.

Check out /usr/share/doc/wireshark-common/README.Debian and try this:

sudo dpkg-reconfigure wireshark-common  sudo usermod -a -G wireshark username  

Select "yes" after running the first command (which tells wireshark that you want to use groups to control capture access), and replace "username" with your username in the second (which adds you to the group "wireshark"). Then simply log out and log back in again, and you should be good to go!


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »