Monitoring, Management & Location Tracking

How do I change speed/duplex settings in Linux

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"

in

/etc/sysconfig/network-scripts/ifcfg-eth0

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

Request an official Aruba knowledge base article to be written by our experts.