The command is useful for:
To display the current parameters of the first network port (eth0):
1
To configure it with the 1000 Mb/s speed and duplex, in 1000BASE-T:
To let the link light of the device eth0 flash for two minutes:
To print the driver info of the interface eth0:
mii-tool is an older program performing a similar function to ethtool. Since 2003,2 it's considered obsolete and replaced by ethtool.
To display the current parameters:
To force the network speed to 1 Gbit/s, and the duplex in full on the port 1 (eth0):
"9 Linux ethtool Examples to Manipulate Ethernet Card (NIC Card)". www.thegeekstuff.com. 2010-10-28. Retrieved 2020-11-14. https://www.thegeekstuff.com/2010/10/ethtool-command/ ↩
"Ethernet Auto-negotiation and Duplexing on Linux". lists.olug.org. September 2003. http://lists.olug.org/pipermail/olug/2003-September/010415.html ↩