Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

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.

share|improve this answer

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!

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.