Operating System - Linux
1820493 Members
2080 Online
109624 Solutions
New Discussion юеВ

Re: ethtool cannot set new setting:Invalid argument

 
James Yang_2
Occasional Contributor

ethtool cannot set new setting:Invalid argument

OS: RedHat Linux enterprise 4
Server: BL20P

I want to set NIC to be autoneg off speed 1000 duflex full by

>ethtool -s eth0 speed 1000 duplex full autoneg off

But I receive Cannot set new setting: Invalid argument
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: ethtool cannot set new setting:Invalid argument

Shalom James,

Try it without the -s

Also, make sure that the switch port settings supports 1000 BaseT before you start, otherwise all you will get is a core dump and a headache.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ivan Ferreira
Honored Contributor

Re: ethtool cannot set new setting:Invalid argument

What is the output of ethtool eth0?

I think that the -s parameter should be specified according to the man page.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
James Yang_2
Occasional Contributor

Re: ethtool cannot set new setting:Invalid argument

Must with -s to set options. Will not take without -s.

The BL20P using bcm5700 driver. Is there anthing to do with the driver?



Ivan Ferreira
Honored Contributor

Re: ethtool cannot set new setting:Invalid argument

Can you try one by one?

eth0 -s eth0 speed 1000
eth0 -s eth0 duplex full
eth0 -s eth0 autoneg off

Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Ivan Ferreira
Honored Contributor

Re: ethtool cannot set new setting:Invalid argument

Also, It seems that the use of autonegotiation with 1000BaseT is mandatory:

Although auto-negotiation can be disabled for
100BaseTX or 10BaseT connectivity, it is always required for normal
1000BaseT operation.

The IEEE 802.3ab specification does not allow for forced mode 1000BASE-T with autonegotiation disabled running at 1000 Mbps. As a result, many switch vendors do not support forced mode.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?