ethtool save

Jan Håkansson jan.hakansson at affv.nu
Sun May 23 16:19:32 UTC 2004


sön 2004-05-23 klockan 17.32 skrev Chris Kloiber:
> 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
> 
> 
Hi

It work, but only if I set the speed to 10, when I try speed 100 the
network wont start.
Thanks.

/Jan





More information about the users mailing list