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 :
in Amazon Linux AMI (it's not Ubuntu)? Thanks. asked 29 Oct '13, 08:52 warrior7089 edited 29 Oct '13, 08:53 |
One Answer:
Amazon AMI is based on CentOS. So, please do this:
or maybe for AMI
then set the capabilities for dumpcap
Then run the following command as non root user!
If you see interfaces: problem solved! Regards answered 31 Oct '13, 04:24 Kurt Knochner ♦ edited 31 Oct '13, 04:25 |
Thanks. It works.
good.
Hint: If a supplied answer resolves your question can you please "accept" it by clicking the checkmark icon next to it. This highlights good answers for the benefit of subsequent users with the same or similar questions.