Difference between revisions of "Ethtool"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
(ethtool only shows link detected: yes if the NIC is up)
Line 21: Line 21:
 
         Current message level: 0x000000ff (255)
 
         Current message level: 0x000000ff (255)
 
  '''      Link detected: yes'''
 
  '''      Link detected: yes'''
This shows you that a physical connection to the network port eth0 has been established. A basic connection to the network switch or computer on the other end of the cable could be established.
+
''Link detected: yes'' shows you that  
 +
* the network interface is up (ifconfig ''eth0'' up)
 +
* a physical connection to the network switch or computer on the other end of the cable could be established
  
 
= See also =
 
= See also =
 
* [[hwinfo]] --netcard
 
* [[hwinfo]] --netcard
 
* [http://man-wiki.net/index.php/8:ethtool ethtool's man page]
 
* [http://man-wiki.net/index.php/8:ethtool ethtool's man page]

Revision as of 10:58, 7 September 2009

ethtool allows you to check if a network cable is correctly plugged into an ethernet port:

# ethtool eth0
Settings for eth0:
       Supported ports: [ MII ]
       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: 1
       Transceiver: internal
       Auto-negotiation: on
       Supports Wake-on: g
       Wake-on: d
       Current message level: 0x000000ff (255)
       Link detected: yes

Link detected: yes shows you that

  • the network interface is up (ifconfig eth0 up)
  • a physical connection to the network switch or computer on the other end of the cable could be established

See also