====== ethtool ======
===== Voir les info d'une carte réseau : =====
ethtool eth0
Exemple de sortie :
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Speed: 10Mb/s
Duplex: Half
Port: MII
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000033 (51)
drv probe ifdown ifup
Link detected: no
===== Voir le driver utilisé =====
ethtool -i eth0
Exemple de sortie :
driver: b43
version: 3.2.13-1-ARCH
firmware-version: 666.2
bus-info: ssb0:0
supports-statistics: no
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no
===== Afficher les stats d'une carte réseau =====
ethtool -S eth0
===== Changer la vitesse du lien : =====
ethtool -s eth0 speed 100 autoneg off
===== Configurer la fonction wakeonlan en mode "g" : =====
ethtool -s eth0 wol g
===== Identifier la prise correspondant à l'interface (allume la led de la carte) =====
ethtool -p eth0