#1Comentário enviado por rodrigo_leonel em 01/02/2013 - 12:58h
mii-tool é uma ferramenta muito boa, porém não suporta redes 1Gb. Abaixo coloquei um exemplo, as primeiras duas interfaces são onboard e as outras são PCI Express Intel F33682 1Gb:
eth0: negotiated 1000baseT-FD flow-control, link ok
eth1: negotiated 1000baseT-FD flow-control, link ok
SIOCGMIIREG on eth2 failed: Input/output error
SIOCGMIIREG on eth2 failed: Input/output error
eth2: negotiated 1000baseT-FD flow-control, link ok
SIOCGMIIREG on eth3 failed: Input/output error
SIOCGMIIREG on eth3 failed: Input/output error
eth3: no link
#2Comentário enviado por rodrigo_leonel em 01/02/2013 - 13:00h
Acrescentando, nesse mesmo caso recomendo o ethtool olha como fica a rede que o mii-tool não reconheceu:
ethtool eth2
Settings for eth2:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
MDI-X: off
Supports Wake-on: pumbag
Wake-on: d
Current message level: 0x00000001 (1)
Link detected: yes
Ou seja, na última linha ele reconhece a conexão da interface.
#3Comentário enviado por dzm_linux em 01/02/2013 - 13:12h
Ótima dica, cherevers!
Eu sabia que havia uma ferramenta mais completa que "mii-tool", mas não conseguia lembrar qual era!
Abraços
Preferências de cookies
Usamos cookies essenciais para manter o site funcionando e Google Analytics para métricas de audiência. Cookies de anúncios só serão carregados se você permitir.
eth0: negotiated 1000baseT-FD flow-control, link ok
eth1: negotiated 1000baseT-FD flow-control, link ok
SIOCGMIIREG on eth2 failed: Input/output error
SIOCGMIIREG on eth2 failed: Input/output error
eth2: negotiated 1000baseT-FD flow-control, link ok
SIOCGMIIREG on eth3 failed: Input/output error
SIOCGMIIREG on eth3 failed: Input/output error
eth3: no link