Click to See Complete Forum and Search --> : Changing NIC Speed In RH 7.2


rcasero
07-14-2005, 01:33 PM
I have been trying to change the NIC speed from HD to FD on two of my servers.

When I execute mii-tool -F 100baseTX-FD eth0

It will work untill I reboot the server, can someone please tell me which file to modify so this setting can stick. Also tried modifing the rc.local and no luck.

Ralph.

ph34r
07-14-2005, 01:41 PM
Either edit your network init script, or put it in rc.local

rcasero
07-14-2005, 02:45 PM
I edited the rc.local and had no luck.

This is the syntax I'm currently using in the rc.local file.

/sbin/mii-tool --force 100baseTx-FD eth0

How would I edit the /sbin/init file ?

Ralph.

rcasero
07-15-2005, 12:39 PM
I found the mysterious file that forces the NIC to 100 Full Duplex.

Script file resides in /etc/sysconfig/network-scripts/ file name is ifcfg-eth0.

Lines added to the end of ifcfg-eth0 file.
TYPE=Ethernet
mii-tool –F 100baseTx-FD eth0

Note: this works on both RH 7.2 and RH Ent 3.0

:) :) :D