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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

100FDX on Sparc-10

Status
Not open for further replies.

rmmagow

Technical User
Jan 2, 2002
93
US
I have a Sparc 10 system running solaris 8. need to hard code 100fdx on all ethernet ports.
I have an hme0 and qfe0~3 installed and active.
Here's my plan of action:
Edit /etc/system to put in these lines

set hme:hme_adv_autoneg_cap = 0
set hme:hme_adv_100T4_cap = 0
set hme:hme_adv_100fdx_cap = 1
set hme:hme_adv_100hdx_cap = 0
set hme:hme_adv_10fdx_cap = 0
set hme:hme_adv_10hdx_cap = 0

set qfe:gfe_adv_autoneg_cap = 0
set gfe:qfe_adv_100T4_cap = 0
set qfe:qfe_adv_100fdx_cap = 1
set qfe:qfe_adv_100hdx_cap = 0
set qfe:qfe_adv_10fdx_cap = 0
set qfe:qfe_adv_10hdx_cap = 0

First, is this correct? Will the qfe statements set ALL my qfe's to 100fdx. After making these changes I'll reboot the machine. The switches are also set to 100FDX hard-code.
THANKS VERY VERY MUCH




 
Help. I'm really desperate to know if this works as expected. THANKS
 
You may be able to do this - I've never tried setting thm in /etc.system. You can set and get the parameters on the fly using ndd but need to specify the instance you are setting. e.g. for hme1

ndd -set /dev/hme instance 1
ndd -set /dev/hme adv_autoneg_cap 0
ndd -set /dev/hme adv_100T4_cap 0
ndd -set /dev/hme adv_100fdx_cap 1
ndd -set /dev/hme 100hdx_cap 0
ndd -set /dev/hme 10fdx_cap 0
ndd -set /dev/hme 10hdx_cap 0

You can use ndd -get to see what the current settings are.

We simply have a loop in an rc script /etc/rc2.d/S99nddconfig...

for INTERFACE in 0 1 2 3
do
ndd -set /dev/qfe $IF
ndd -set /dev/qfe adv_autoneg_cap = 0
...etc.
done

This definately works.

PS you have a typo 'set qfe:gfe_adv_autoneg_cap = 0'
 
OK, I think I understand. Would I therefor need to say
ndd -set /dev/hme instance 0 for hme0, instance 1 for hme1
ndd -set /dev/qfe instance 0 instance 1, instance 2 etc for my 4 qfe ports?

I'm pretty ignorant of the script function although on second look I'm sure I can figure it out. Just never done much scripting.
Thanks much for your reply. I have enough here to at least ensure I get my interfaces set correctly.
 
If you set them in /etc/system they will be set for all interfaces, as you guessed.

Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top