Operating System - HP-UX
1833777 Members
1936 Online
110063 Solutions
New Discussion

Setting lan speed/duplex on HP 10.20

 
Mark2010_1
Frequent Advisor

Setting lan speed/duplex on HP 10.20

Hi,

I am wondering if there is any way to set the speed/duplex on lan cards over HP UX 10.20.

Tried lanadmin but does not wor :-( and can not use SAM.

BR
9 REPLIES 9
Steven E. Protter
Exalted Contributor

Re: Setting lan speed/duplex on HP 10.20

Shalom,

Then you are out of luck.

sam or lanadmin are the tools.

I bet the landadmin -X command is giving you a core dump.

If you try and change the speed on the built in lan card on many hp-9000 servers, you get a core dump because these built in NIC's can't change speed.

Please provide the lanadmin error message to confirm.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
James R. Ferguson
Acclaimed Contributor

Re: Setting lan speed/duplex on HP 10.20

Hi:

If I recall correctly, you can't dynamically set the duplex on 10.20. You will need to edit the appropriate '/etc/rc.config.d' configuration file instead --- or use SAM. A restart of the networking services (or a reboot) will be required to affect the change.

Regards!

...JRF...
Mark2010_1
Frequent Advisor

Re: Setting lan speed/duplex on HP 10.20

Hi SEP & JRF,

"If you try and change the speed on the built in lan card on many hp-9000 servers, you get a core dump because these built in NIC's can't change speed."

==> Does this means the built in CORE IO card card operate just at 100 Mbps Full Duplex (HP 9000 K360 server) ?

"You will need to edit the appropriate '/etc/rc.config.d' configuration file instead"

==> Is it netconf file or another file ??

BR
Steven E. Protter
Exalted Contributor

Re: Setting lan speed/duplex on HP 10.20

Shalom,

The built in NIC card maxes out at 10 BaseT half duplex on that model, if I'm not mistaken.

You can look up the spec's on http://docs.hp.com

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
whiteknight
Honored Contributor

Re: Setting lan speed/duplex on HP 10.20


Mark2010,

Do you have addtional lan card other than core IO lan card ?
please paste your lanscan/ ioscan -fnC lan output of your 10.20 server, to see what kind of lan card and driver it used.

WK
please assign points



Problem never ends, you must know how to fix it
Mark2010_1
Frequent Advisor

Re: Setting lan speed/duplex on HP 10.20

Hi WK,

I will try tomorow, and post the printout.

don't worry, I am used to assign points when get tips, you can check my history :-))

Kind Regards
Sandman!
Honored Contributor

Re: Setting lan speed/duplex on HP 10.20

Checkout Pete Randall's reply in the ITRC thread below...

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1042562

~hope it helps
Gilles Allard
Advisor

Re: Setting lan speed/duplex on HP 10.20

First, speed change depends on the Lan card features. If it has multiple rates, you should be able to use lanadmin to set the speed:
lanadmin -X 100FD nmid
You can find the nmid with lanscan.
On my systems, I use J3516A with btlan4 driver. In 10.20, btlan4 driver is configured through the /etc/rc.config.d/hpgsc100conf file with the following parameters:
HP_GSC100_INTERFACE_NAME[n]=xxx
HP_GSC100_INTERFACE_SPEED[n]=100FD
HP_GSC100_STATION_ADDRESS[n]=xxx
The last one is optional.
The speed parameter can be 10 or 100, concatenated to HD or FD.
You can then restart the driver with:
/sbin/init.d/hpgsc100 start


Mark2010_1
Frequent Advisor

Re: Setting lan speed/duplex on HP 10.20

Hi,

We fixed the problem by changing the card since even if lanscan / ifconfig show status OK, linkloop failed.

Things are now OK.

Thanks all of you for the tips and ideas.

BR