United States (change)
Shortcuts: Downloads Fedora Red Hat Network
Account Links: Cart Your Account Logout
ethtool can be used to set options for many types of ethernet devices. The /etc/sysconfig/network-scripts/ifcfg-ethX can have the ethtool settings added to the file so that the settings are in place whenever the device is brought up.
For example, the command :
ethtool -s eth0 speed 100 duplex full autoneg off
will set the eth0 device to 100Mbs, full duplex, with the auto negotiation off. To have the initialization scripts set this every time the eth0 device is brought up, add a line to the /etc/sysconfig/network-scripts/ifcfg-eth0 like this:
ETHTOOL_OPTS="speed 100 duplex full autoneg off"