Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I set eri0 to 100mb fdx? 2

Status
Not open for further replies.

joeunixadmin

Technical User
Feb 10, 2003
53
DE
Hi,

I have a V120 with an eri Interface and have added the following to /etc/system:
* force eri to 100mb fdx
set eri:adv_autoneg_cap = 0
set eri:adv_100T4_cap = 0
set eri:adv_100hdx_cap = 0
set eri:adv_10fdx_cap = 0
set eri:adv_10hdx_cap = 0
set eri:adv_100fdx_cap = 1

After booting ndd report the driver parameter values as all being set to 1. The corresponding port on the switch is set to 100mb fdx. As expected, network performance is poor until I use ndd to set the parameters to what I thought they were being set to at boot with the entries in /etc/system.

Am I using the wrong entries in /etc/system?

Thanks,

-Joe
 
Hi,

Try put no space between equal sign and driver name. eg

set eri:adv_autoneg_cap=0
set eri:adv_100T4_cap=0
set eri:adv_100hdx_cap=0

feroz
 

If you want to be super-duper shiney shoes, I wouldn't use these entries in /etc/system at all.

Instead, add the actual ndd command strings into a script.
e.g.

for nic in 0 1 2 3
do
ndd -set /dev/qfe instance ${nic}
ndd -set /dev/qfe adv_100fdx_cap 1
ndd -set /dev/qfe adv_100hdx_cap 0
ndd -set /dev/qfe adv_10fdx_cap 0
ndd -set /dev/qfe adv_10hdx_cap 0
ndd -set /dev/qfe adv_autoneg_cap 0
done

for nic in 0
do
ndd -set /dev/eri instance ${nic}
ndd -set /dev/eri adv_100fdx_cap 1
ndd -set /dev/eri adv_100hdx_cap 0
ndd -set /dev/eri adv_10fdx_cap 0
ndd -set /dev/eri adv_10hdx_cap 0
ndd -set /dev/eri adv_autoneg_cap 0
done


Place this script in /etc/init.d and sym link to /etc/rcS.d. Call it S32ndd or something.

Why?

Word on the street is SUN may be withdrawing support for the /etc/system methodolgy and using this mechanism above istead, will be one less thing to worry about at upgrade time. Also, you can run the script instead of having to type the full strings out each time.

cheers,

Dubbs.
 
Hi,

I am agree with dbase77. Spaces are problem.

You can see my running /etc/system file below.

* force network interface into 100 Mbpst FullDuples
set eri:adv_autoneg_cap=0
set eri:adv_100T4_cap=0
set eri:adv_100hdx_cap=0
set eri:adv_10fdx_cap=0
set eri:adv_10hdx_cap=0
set eri:adv_100fdx_cap=1
* end of - force network interface into 100 Mbps FullDuplex
 

Yes, Crash and dbase are quite correct.

Further to my earlier email regarding the alternative to /etc/system. If you were to pay SUN to come in an build a machine for you, the rcS script is also the way that they way do it.

If you used this methodolgy, then your problem would not have occurred.

cheers all,

Dubbs.
 
Hi,

Thanks all for your answers. I have made the change in /etc/system but, will switch to using scripts during my next maintenance window.

Thanks again.

-Joe
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top