1

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.

rok
  • 159
  • 8
  • 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

1 Answers1

0

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

$ sudo tshark -D
rickhg12hs
  • 394
  • 2
  • 9