How do I change speed/duplex settings in Linux

Aruba Employee
Aruba Employee

You can check the current settings from the shell with the ethtool command. To see what's configured on eth0, you can do this:

# ethtool eth0

If you need to change either setting, you can use ethtool -s eth0 [ setting | value ]. So to set, say, duplex to full on eth0, you could do this:

# ethtool –s eth0 speed 100 duplex full autoneg off

It's important to note that this command doesn't set this permanently, so after a reboot it may revert. To make it permanent, add this line:

ETHTOOL_OPTS="speed 100 duplex full autoneg off"



Version history
Revision #:
1 of 1
Last update:
‎06-06-2014 03:52 PM
Updated by:
Labels (1)
Search Airheads
Showing results for 
Search instead for 
Did you mean: