Thursday, May 25, 2006

mii-tool vs ethtool

both commands are actually doing the same things. an useful tool to display or change ethernet cards settings, but bare in mind that mii-tool only for 10/100M NIC while ethtool can support all hardware. so in case you are using GB cards, you should use ethtool then.
# 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 auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: umbg
Wake-on: g
Current message level: 0x00000007 (7)
Link detected: yes

for more info
# man ethtool

1 comment:

Anonymous said...

an useful tool is incorrect
"u" is a vowel; however, the rule a before consonants and an before vowels actually refers to the sounds they make when pronounced, not the letters themselves.

Some vowels, and many consonants, can make sounds opposite to what common sense would dictate.

In this case, usage makes a "w" sounds, which is a consonant. So the correct wording would be: a useful tool.

If you liked the insight, go listen to grammer girl's podcast on qdnow.com.

Anonymous googler out!