ethtool save

Chris Kloiber ckloiber at ckloiber.com
Mon May 24 04:55:17 UTC 2004


On Mon, 2004-05-24 at 00:19, Jan Håkansson wrote:
> 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

That tells me that you have to get the port on the switch set to
auto-negotiate. I've seen this before and recently with a Intel e100
card and a Cisco switch that was forced to 100/full. The cards would not
work correctly unless both the switch and the cards were allowed to
negotiate. Gigabit cards are even pickier about it.

-- 
Chris Kloiber






More information about the users mailing list