HomeLinuxLinux networkingForce the speed and duplex of a Linux ethernet interface

Force the speed and duplex of a Linux ethernet interface

Using mii-tool, the speed and duplex of an ethernet interface can be set manually.


You must set both the speed and duplex at the same time (it is not possible to auto-negotiate only one). Typical combinations are the following:

100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD

To set 100 Mbps and full duplex on interface eth0, for example, use:

mii-tool -F 100baseTx-FD eth0

Quinn McHenry
Quinn McHenry
Quinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York.
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

LATEST REVIEWS

Recent Comments

error: Content is protected !!