Network card cable connection query
Alan Cox
alan at lxorguk.ukuu.org.uk
Thu Sep 25 10:29:45 UTC 2008
On Thu, 25 Sep 2008 11:15:56 +0100
"Dan Track" <dan.track at gmail.com> wrote:
> Hi
>
> Is there a way to identify whether a network card has a rj45 cable
> plugged into it from linux?
ethtool
/sbin/ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pg
Wake-on: d
Current message level: 0x000000ff (255)
Link detected: yes
More information about the fedora-list
mailing list