Ethernet card, cable link state ?

Nils Philippsen nphilipp at redhat.com
Sun Mar 20 19:28:40 UTC 2005


On Sun, 2005-03-20 at 19:28 +0000, Jonathan Andrews wrote:
> Sorry if this is off topic, but i've googled myself into a corner.
> 
> Whats the best way to check the cable link state for an ethernet
> connection under core 3 ? I assumed that I would find something in /proc
> - but so far nothing seems to toggle between cable connected and cable
> disconnected.  eth0 is up.
> 
> Is the link state tracked for all eth devices, the linux device driver I
> book implies it is.
> 
> Any pointers at docs would be very helpful at this point.

Try "ethtool eth0" and go from there.

Nils
-- 
     Nils Philippsen    /    Red Hat    /    nphilipp at redhat.com
"They that can give up essential liberty to obtain a little temporary
 safety deserve neither liberty nor safety."     -- B. Franklin, 1759
 PGP fingerprint:  C4A8 9474 5C4C ADE3 2B8F  656D 47D8 9B65 6951 3011




More information about the fedora-devel-list mailing list