"tshark: There are no interfaces on which a capture can be done" in Amazon Linux AMI

Posted by user1264304 on Server Fault See other posts from Server Fault or by user1264304
Published on 2013-10-29T14:17:46Z Indexed on 2013/10/29 15:58 UTC
Read the original article Hit count: 324

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.

© Server Fault or respective owner

Related posts about linux

Related posts about amazon-ec2