These commands work for me with Wireshark 1.6.2 on Ubuntu Server 11.10 (64-bit):
$ sudo apt-get install wireshark
$ sudo dpkg-reconfigure wireshark-common
$ sudo usermod -a -G wireshark $USER$ sudo reboot
Instead of rebooting, you can logout with this command:
- Ubuntu Desktop:$ gnome-session-quit --logout --no-prompt
- Ubuntu Server:$ pkill -KILL -u $USER
or simply (if you're already at the login shell):
$ exitIf the solution above still fails on your system, an alternative is to set the setuid
bit for dumpcap
(which lets dumpcap
run effectively as the owner of the file, which is root in this case):
$ sudo chmod 4711 `which dumpcap`