Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

$ sudo tshark -i wlan0 -w ./log/sniffer.pcap


OS: Ubuntu

Instead of running as root, try reconfiguring the Wireshark installation to allow non-root packet capturing by running sudo dpkg-reconfigure wireshark-common and answering "yes" if it asks whether you want to allow capturing by non-root users, and then run TShark without sudo.