Tcpdump runs on command line without a GUI. It is available on nearly every Unix system and is perfect for remote troubleshooting.
Basic usage:
tcpdump -i eth0
tcpdump -i eth0 host 192.168.1.100
tcpdump -i eth0 port 80
tcpdump -i eth0 -w capture.pcap
Useful options:
-n: Do not resolve hostnames-v: Increase verbosity-c N: Capture N packets then stop-w file: Write to file
Capture to file with tcpdump, then analyze with Wireshark for best results.