Monitoring, Management & Location Tracking

 View Only
last person joined: one year ago 

Articles relating to existing and legacy HPE Aruba Networking products and solutions including AirWave, Meridian Apps, ALE, Central / HPE Aruba Networking Central, and UXI / HPE Aruba Networking User Experience Insight

How do I change speed/duplex settings in Linux 

Jun 06, 2014 06:52 PM

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

Statistics
0 Favorited
1 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.