Pour vérifier la prensence d'une liaison ethernet sur ta carte réseau, tu peux utiliser les mii-tools :
mii-diag ou mii-tool.
Voici un exemple sur deux de mes machines :
*******
# mii-diag
Using the default interface 'eth0'.
Basic registers of MII PHY #1: 1000 796d 0020 6180 05e1 45e1 0005 2001.
The autonegotiated capability is 01e0.
The autonegotiated media type is 100baseTx-FD.
Basic mode control register 0x1000: Auto-negotiation enabled.
You have link beat, and everything is working OK.
Your link partner advertised 45e1: Flow-control 100baseTx-FD 100baseTx 10baseT-FD 10baseT, w/ 802.3X flow control.
End of basic transceiver information.
*******
# mii-tool eth0
eth0: no link
# mii-tool eth1
eth1: negotiated 100baseTx-FD flow-control, link ok
*******
# utilisation des mii-tools
Posté par Nicolas Ferre . En réponse au message script wifi. Évalué à 2.
mii-diag ou mii-tool.
Voici un exemple sur deux de mes machines :
*******
# mii-diag
Using the default interface 'eth0'.
Basic registers of MII PHY #1: 1000 796d 0020 6180 05e1 45e1 0005 2001.
The autonegotiated capability is 01e0.
The autonegotiated media type is 100baseTx-FD.
Basic mode control register 0x1000: Auto-negotiation enabled.
You have link beat, and everything is working OK.
Your link partner advertised 45e1: Flow-control 100baseTx-FD 100baseTx 10baseT-FD 10baseT, w/ 802.3X flow control.
End of basic transceiver information.
*******
# mii-tool eth0
eth0: no link
# mii-tool eth1
eth1: negotiated 100baseTx-FD flow-control, link ok
*******
voir l'option --status de mii-diag...