Link State Detection

James McDonald james
Mon Nov 22 01:26:36 PST 2004


I have a linux server with three nics in it.

2 are using ne2k-pci cards and one is a 8139too card

I can use ethtool to find out the Link state on the 8139too

simply by running

ethtool eth0
<snippage>
Link detected: no

Which gives me th Link State of yes or no.

However running it on the  ne2k-pci doesn't give me squat
 ethtool eth1
Settings for eth1:
No data available

What is a universally useful command to detect the link state of a NIC?

This would be handy because I sometimes don't know which interface I'm plugged in to.






-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.linux-sxs.org/pipermail/linux-users/attachments/20041122/0ac8cd1d/attachment.html


More information about the Linux-users mailing list