mii-tool ou ethtool: Qual usar?
Publicado por Rodrigo Leonel em 05/02/2013
[ Hits: 21.057 ]
eth0: negotiated 1000baseT-FD flow-control, link ok# ethtool eth0
Settings for eth0: 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: Unknown Supports Wake-on: g Wake-on: d Link detected: yesAgora, quando vemos uma interface acima de 1000M temos dificuldades com o mii-tool, por ser uma ferramenta antiga. Ele percebe que o link está OK, mas apresenta alguns erros; aliás, se você não tiver configurado o IP na interface, ele nem vai mostrar como "link OK".
SIOCGMIIREG on eth2 failed: Input/output error SIOCGMIIREG on eth2 failed: Input/output error eth2: negotiated 1000baseT-FD flow-control, link ok# 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: yesPara alterar a velocidade da interface e/ou formas de negociação, como o exemplo abaixo:
Login do Ubuntu não funciona - Erro na variável de ambiente PATH [Resolvido]
Limpar a partição /boot no Ubuntu ou Debian
rcconf - Debian Runlevel Configuration Tool
Criar uma memória swap temporária
Automatizando digitação de códigos 2FA no browser
Resolver problemas de Internet
Como compartilhar a tela do Ubuntu com uma Smart TV (LG, Samsung, etc.)
Como converter imagens PNG/JPEG para SVG em linha de comando
Fez porcaria no teu repositório Git? Aprenda a restaurar uma versão anterior do seu código!
Restaurando Fontes de Download do Hydra no Linux
Atualizando "na marra" o YT-DLP quando começa a dar erro de downloads
Como instalar o WPS com interface e corretor ortográfico em PT-BR no Arch Linux
Impossível ativar audio 5.1 (1)
Erro na atualização dos pacotes (1)
Problema com Conexão Outlook via Firewall (OpenSUSE) com Internet Fibr... (3)