ethtool save

Chris Kloiber ckloiber at ckloiber.com
Sun May 23 15:32:56 UTC 2004


On Sun, 2004-05-23 at 22:39, Jan Håkansson wrote:
> Hi
> 
> I have tried to change my settings on my NIC with ethtool.
> I run "ethtool -s eth1 autoneg off" and "ethtool -s eth1 duplex full".
> And it working perfect, but when I restart the computer the setting are
> back to autoneg on and duplex half.
> How can I save the settings.
> 
> /Jan

Add to /etc/sysconfig/network-scripts/ifcfg-eth1:

ETHTOOL_OPTS="speed 100 duplex full autoneg off"

Of course this should not be needed. If you set your switches port to
auto-negotiation the network card will likely do the right thing.

-- 
Chris Kloiber






More information about the fedora-list mailing list