On Sunday February 1 2009, Low Kian Seong wrote:
Hi all,
Does anyone know why 'tcpdump -i any' ends up in something like this:
tcpdump: SIOCGIFHWADDR: No such device
The command works fine in fedora with the same version of libpcap and tcpdump.
Thanks in advance.
Without really knowing what I'm doing (tcpdump isn't in my repertoire),
I get precisely the same result on my openSUSE 11.1 installation:
% tcpdump -i any
tcpdump: SIOCGIFHWADDR: No such device
However, if I use an explicit interface, it seems to work:
% tcpdump -a eth0
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
08:27:55.348995 IP smiley.19150 > twain.33852: P 420542334:420542637(303) ack 3361969049 win 46