How do I change network interface settings in Linux?
-
To change network interface configuration such as speed, duplex or negotiation, do the following, as root:
# ethtool -s eth0 speed 100
This will change the speed of interface eth0 to 100
# ethtool -s eth0 duplex full
This will set the duplex to full (as opposed to half) on interface eth0
# ethtool -s eth0 autoneg off
This will turn autonegotiation off for interface eth0
© Lightnetics 2024