Configuring NIC Card

Ed Wilts ewilts at ewilts.org
Wed Apr 13 17:13:58 UTC 2005


On Wed, Apr 13, 2005 at 09:58:10AM -0500, Jay Berryman wrote:
> If you have mii-tool installed you can force the NIC to 100MB-FD by running
> the following command:  mii-tool -F 100baseTx-FD eth0.  To force this on a
> reboot use the full path command and stick it in your /etc/rc.local file.

Jay, please don't top post.

A much cleaner and supported method is to edit the ifcfg script

[root at scsftp pub]# grep ETHTOOL /etc/sysconfig/network-scripts/ifcfg-eth0
ETHTOOL_OPTS="speed 100 duplex full autoneg off"

You'll find this is called by /etc/sysconfig/network-scripts/ifup
You will, of course, need ethtool installed.

-- 
Ed Wilts, RHCE
Mounds View, MN, USA
mailto:ewilts at ewilts.org
Member #1, Red Hat Community Ambassador Program




More information about the redhat-list mailing list