Linux Force or restart network card auto-negotiation with ethtool
ethtool or mii-tool utility checks or sets the status of a network interface’s Media Independent Interface (MII) unit. Most fast ethernet adapters use an MII to autonegotiate link speed and duplex setting.
Due to software or hardware (network switch or Ethernet card ) error it may be possible that you need to restarts auto-negotiation on the specified ethernet device.
Restart autonegotiation
You don’t have to reboot Linux box, all you have to do is type the following command :
# ethtool -r eth0
Or you can use mii-tool (outdated, use ethtool only)
# mii-tool -r eth0
Output:
# tail -f /var/log/messages
Jul 16 09:34:25 smtp1 kernel: e1000: eth0: e1000_watchdog_task: NIC Link is Up 10 Mbps Full Duplex Jul 16 09:34:25 smtp1 kernel: e1000: eth0: e1000_watchdog_task: 10/100 speed: disabling TSO
See also:
You may also be interested in other helpful articles:
- FreeBSD: How To Start / Restart / Stop Network and Routing Service
- Solaris > How to configure LAN Card (NIC)
- How Do I run firewall script as soon as eth0 interface brings up?
- Ubuntu Linux: Creating ethernet alias for eth0 network device
- Importance of Linux PCI ID Repository
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!
Tags: auto_negotiation, duplex, ethernet_card, ethernet_device, ethtool, independent_interface, link_speed, Linux, mii, mii-tool, network_interface, network_switch



Recent Comments
Today ~ 15 Comments
Today ~ 51 Comments
Today ~ 4 Comments
Today ~ 14 Comments
Today ~ 8 Comments