Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am debugging a local ethernet connection on a Linux machine. I want to inspect the ethernet packets as they travel. in and out current machines' interfaces. I do not have a GUI on the machine. Is there tool to do this?

share|improve this question
up vote 3 down vote accepted

As luck would have it, there are indeed tools to do such a thing:

share|improve this answer
I am using Linux over a command line, WireShark as a GUI tool doesn't seem to meet the requirement. – steveyang Apr 5 '12 at 3:10
@yangchenyun updated my post. Wireshark will still work and so will tcpdump. – Wesley Apr 5 '12 at 3:14
...and you can still run it on a remote GUI display, and you can import tcpdump files.... – symcbean Apr 5 '12 at 9:02

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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