≡ Menu

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:

Share this on:

Your support makes a big difference:
I have a small favor to ask. More people are reading the nixCraft. Many of you block advertising which is your right, and advertising revenues are not sufficient to cover my operating costs. So you can see why I need to ask for your help. The nixCraft, takes a lot of my time and hard work to produce. If you use nixCraft, who likes it, helps me with donations:
Become a Supporter →    Make a contribution via Paypal/Bitcoin →   

Don't Miss Any Linux and Unix Tips

Get nixCraft in your inbox. It's free:



{ 1 comment… add one }
  • bachchulal varma February 27, 2014, 1:10 pm

    hi,,

    i am getting this error in fedora.

    Feb 27 16:27:18 qh-terminator kernel: e1000e: eth5 NIC Link is Down

    Feb 27 16:27:20 qh-terminator kernel: e1000e: eth5 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None

    Feb 27 16:27:20 qh-terminator kernel: 0000:06:00.0: eth5: 10/100 speed: disabling TSO

Security: Are you a robot or human?

Leave a Comment


   Tagged with: , , , , , , , , , , ,