I am trying to run tcpdum on Solaris 10 as root user.
I always get unknown device - even though I am using the name provided by
ifconfig -a
How can I find out the right device name?
I am trying to run tcpdum on Solaris 10 as root user.
I always get unknown device - even though I am using the name provided by
ifconfig -a
How can I find out the right device name?
Use
snoop
in Solaris, instead of tcpdump. The interfaces that are plumbed can be listed withifconfig -a
. The unplumbed interfaces should be listed bydmesg
.I have a solaris box here, but no root access or tcpdump to test. However on my Linux box, i get the interface name from ifconfig which returns something like.
Then feeding this into tcpdump gives:-
What's your actual output from ifconfig -a?