How to set AUTONEG OFF on RedHat WS 4 update 5
We run Redhat Workstation 4 update 5 (64-bit) and tried to set the autoneg off using the following command and received errors:
#ethtool -s ethx autoneg off speed 1000 duplex full Cannot set new settings: Invalid argument not setting speed not setting duplex not setting autoneg Secondly, editted the file /etc/sysconfig/network-scripts/ifcfg-ethx to include the following line: ETHTOOL_OPTS="autoneg off speed 1000 duplex full" and run the command: #service network restart This action disabled the interface. We have rebooted and the interface is still disabled. We have chenged the ifcfg-ethx file back to the original form and rebooted, still the same problem. Please help out with some advise. |
Can you bring it up with ifconfig?
Code:
ifconfig eth0 media 1000baseTX mediaopt full-duplex $IP-ADDRESS |
If you are forcing the speed and duplex settings of the interface, I don't think you need to specify Autoneg off.. That's sorta redundant.
ethtool -s eth0 speed 1000 duplex full and remember if you are forcing speed and duplex on a NIC you MUST do the same to the switchport the device is connected to, or you will cause a duplex mismatch. not sure why your nic didn't come back up.. is there anything in your logs ? cat /var/log/dmesg | grep -i eth |
Quote:
OP,do you have Realtek PCI/PCcard/s and what driver do you use for it,if so? |
Entries in /var/log/dmesg
divert: not allocating divert_blk for non-ethernet device lo forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.42-rh. divert: allocating divert_blk for eth0 eth0: forcedeth.c: subsystem: 0103c:12fe bound to 0000:00:08.0 divert: allocating divert_blk for eth1 eth1: forcedeth.c: subsystem: 0103c:12fe bound to 0000:00:09.0 # lspci |grep -ethernet 00:08.0 Ethernet controller: nVidia Corporation MCP55 Ethernet (rev a3) 00:09.0 Ethernet controller: nVidia Corporation MCP55 Ethernet (rev a3) System is HPxw 9400. Entries in /var/log/dmesg relating to ethernet: |
All times are GMT -5. The time now is 10:33 PM. |