My goal is to capture packets with tshark in Amazon Linux AMI. While typing tshark in the command line there's an error:

"tshark: There are no interfaces on which a capture can be done" 

How to implement the solution from Wireshark setup Linux for nonroot user

$ sudo apt-get install wireshark
$ sudo dpkg-reconfigure wireshark-common 
$ sudo usermod -a -G wireshark $USER
$ gnome-session-quit --logout --no-prompt

in Amazon Linux AMI (it's not Ubuntu)? Thanks.

  • I thinkt hat magic group stuff is debian-ism meaning you can't duplicate it on a RH-based system as-such. I don't know that there is any similar mechanism on RH-based distributions. – Etan Reisner Oct 29 '13 at 15:44

Run tshark with root priveleges. See if this lists possible capture interfaces.

$ sudo tshark -D

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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