Operating System - Linux
1831301 Members
2963 Online
110023 Solutions
New Discussion

Re: Setting LAN card options in /etc/modules.conf

 
Frank Gomes
Occasional Advisor

Setting LAN card options in /etc/modules.conf

I installed Redhat AS 2.1, on a rx5670, Itanium server. It is up and running.

I don't know the LAN card options to set in /etc/modules.conf file. The LAN card is from broadcomm. I need to nail the LAN card for 100baseT FULL.

Thanks.

Regards,

Frank

2 REPLIES 2
Paulo A G Fessel
Trusted Contributor

Re: Setting LAN card options in /etc/modules.conf

Check the Broadcom FAQs:

http://www.broadcom.com/support/faq_drivers.php#87

87.) How do I force speed and duplex for bcm5700 driver under Linux?
To set forced 100 Mbps full duplex:
insmod bcm5700 line_speed=100 full_duplex=1 auto_speed=0

or set the following in modules.conf

options bcm5700 line_speed=100 full_duplex=1 auto_speed=0

or use ethtool:

ethtool -s eth0 speed 100 duplex full autoneg off

Note: If the auto_speed is not set to zero if would negotiate at the speed and duplex that was set with respective parameters.

Don't forget to assign the points!

HTH
Paulo Fessel
L'employé propose, le boss dispose.
jbjbjb
Advisor

Re: Setting LAN card options in /etc/modules.conf

vi /etc/modules.conf
options eth0 line_speed=100 full_duplex=1

other options
line_speed=0 auto
auto_speed=0 (auto disabled) or 1 auto enabled
full_duplex=0 half

After making mods type:
ifdown eth0
ifup eth0

Then install the rpm for mii-tool and run it. It will reture the speed, negotiation, etc.

John