Operating System - Linux
1829773 Members
7849 Online
109992 Solutions
New Discussion

Hard-coding NIC to 100/full

 
SOLVED
Go to solution
John Garrott
Occasional Advisor

Hard-coding NIC to 100/full

I am setting up a Proliant blade server running Fedora Core1 as the repository for RHL Enterprise 3.0 ES binaries so that we can push out new servers using Proliant RDP (Rapid Deployment). The networking keeps flaking out; I am intermittantly losing connectivity. I suspect this is due to problems with auto-negotiation between the NIC and the switch port. I want to hard-code the NIC to 100/full but I can't find any reference to a utility to use (something like "lanadmin" in HP-UX). What is the equivalent utility in Red Hat Linux (Fedora Core1)?

John
3 REPLIES 3
Hazem Mahmoud_3
Respected Contributor
Solution

Re: Hard-coding NIC to 100/full

Look into the mii-tool command. You will probably want the -F option. Hope that helps!

-Hazem
Stuart Browne
Honored Contributor

Re: Hard-coding NIC to 100/full

Most of the kernel-drivers for network cards also have the ability to lock the speed at driver initilisation.

modinfo -p

is your friend!

That, combined with an 'options ' line in '/etc/modules.conf' atleast.
One long-haired git at your service...
Peeyush
Regular Advisor

Re: Hard-coding NIC to 100/full

hey John,

Simple..

You cannot set the duplex/speed for the console nic from within the mui. You must set it by modifying the /etc/modules.conf.
For instance, RTL8139 NICs are set at the console by the following string in /etc/modules.conf (one line):

options 8139too line_speed=100 auto_speed=0 full_duplex=1


u can check it by using

ethtool eth0
dmesg | grep eth

Regards
Peeyush
http://geocities.com/peeyush_maurya/
any suggestion for my site.. http://geocities.com/peeyush_maurya/