mii-tool ou ethtool: Qual usar?
Publicado por Rodrigo Leonel em 05/02/2013
[ Hits: 20.532 ]
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:
Como verificar o TIPO e o TAMANHO da memória RAM no Linux (com bônus)
Alterar data e hora que um arquivo foi criado
Os comandos basename e dirname
Conflito na tecla F10 para sair do MC (midnight commander) dentro do Gnome
Partição - Formatando e mantendo seu UUID
Atualizar o macOS no Mac - Opencore Legacy Patcher
Crie alias para as tarefas que possuam longas linhas de comando - bash e zsh
Criando um gateway de internet com o Debian
Configuração básica do Conky para mostrar informações sobre a sua máquina no Desktop
Aprenda a criar músicas com Inteligência Artificial usando Suno AI
Como instalar o navegador TOR no seu Linux
Instalando Zoom Client no Ubuntu 24.04 LTS
Instalando Zoom Client no Fedora 40
Instalando Navegador Firefox no Debian 12
Bloqueando propagandas no Youtube e outros sites com o uBlocker Origin