Difference between revisions of "Ethtool"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
 
Line 27: Line 27:
 
= See also =
 
= See also =
 
* [[hwinfo]] --netcard
 
* [[hwinfo]] --netcard
* [http://man-wiki.net/index.php/8:ethtool ethtool's man page]
+
* [http://linux.die.net/man/8/ethtool ethtool's man page]
  
 
[[Category:Networking]]
 
[[Category:Networking]]
 
[[Category:Command]]
 
[[Category:Command]]

Latest revision as of 08:30, 21 April 2014

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