1833767 Members
2137 Online
110063 Solutions
New Discussion

LAN card speed change .

 
SOLVED
Go to solution
rveri
Super Advisor

LAN card speed change .

Hi all ,

Here is lanadmin output:

# lanadmin -x 0
Current Speed = 100 Full-Duplex Auto-Negotiation-OFF


I want to make it 10Mbps , Half Duplex.

What is the correct method to do that.

Thanks,
Veri.
13 REPLIES 13
Patrick Wallek
Honored Contributor
Solution

Re: LAN card speed change .

I believe what you want is:

# lanadmin -X 10HD 0

Check the lanadmin man page to verify, but I'm pretty sure the '-X' (capital X) option is what you want.
Fabio Ettore
Honored Contributor

Re: LAN card speed change .

Hi,

the command should be

lanadmin -X 10HD 0

where 10 HD is the speed and 0 is the PPA number from lanscan.

Best regards,
Fabio
WISH? IMPROVEMENT!
Devender Khatana
Honored Contributor

Re: LAN card speed change .

Hi,

Try

#lanadmin -X 10HD 0

Also it can be done through
#lanadmin

As when no option specified it is a menu driven utility.

HTH,
Devender
Impossible itself mentions "I m possible"
Fabio Ettore
Honored Contributor

Re: LAN card speed change .

...and you should change it into config file or the lan card:


Driver Name /etc/rc.config.d/ configuration file
----------- ------------------------------------
lanX ---- hpetherconf (10BT) X=0, 2, or 3
btlan ---- hpbtlanconf (100BT)
btlan0 ---- hpeisabtconf (100BT)
btlan1 ---- hpbasetconf (100BT)
btlan3 ---- hpbase100conf (100BT)
btlan4 ---- hpgsc100conf (100BT)
btlan5 ---- hppci100conf (100BT)
btlan6 ---- hpsppci100conf (100BT)
gelan ---- hpgelanconf (1000BT)
igelan ---- hpigelanconf (1000BT)
fddi ---- hpfddiconf (fddi)
fddi0 ---- n/a (fddi)
fddi3 ---- hphscfddiconf (fddi)
fddi4 ---- hpfddi4conf (fddi)
token1 ---- hptokenconf (token ring)
token2 ---- hptokenconf (token ring)
token3 ---- hptokenconf (token ring)
pcitr ---- pcitrconf (token ring)


According to which lan driver you are talikng about change the relative file. More info with the form to change you will find into the file itsself, otherwise post again and we will help you to change it.

HTH.
Best regards,
Fabio
WISH? IMPROVEMENT!
Hakan Aribas
Valued Contributor

Re: LAN card speed change .

There are two ways:
* at boot time
* via the lanadmin\ -X command

At boot time
------------
From the boot console, select the Configuration menu and from there select LAN Configuration. Required command:

LanConfig 10/Half_dx


via the lanadmin\ -X command
----------------------------
lanadmin -X 10hd
( is the card instance number of the card, which you can get from the output of the lanscan command)
Raj D.
Honored Contributor

Re: LAN card speed change .

You can set the new lan speed using :

# lanadmin -X 10HD 0 [ Where 0 is the PPA#]

And you will get a message like this:
Reset will take approximately 11 seconds.

Check with
# lanadmin -x
# lanadmin -s

Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
rveri
Super Advisor

Re: LAN card speed change .

Fabio ,

its btlan3 driver it is using:


78 -1 btlan3 lan

Which file is resposible in /etc/rc.config.d to put the entry of 10MBps Half Duplex.

Thanks,
Patrick Wallek
Honored Contributor

Re: LAN card speed change .

/etc/rc.config.d/hpbase100conf is the one you need to change so the 10HD gets set the next time you boot.
Raj D.
Honored Contributor

Re: LAN card speed change .

Hi,

You can change the entry in the file as follows: (/etc/rc.config.d/hpbase100conf)


HP_BASE100_SPEED[0]=10FD

Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
rveri
Super Advisor

Re: LAN card speed change .

Hi all ,

Network hangs fully after making the speed to 10MBps Half duplex.

# lanadmin -X 10HD 0

WARNING: an incorrect setting could cause serious network problems!!!

Driver is attempting to set the new speed
Reset will take approximately 11 seconds


This I have done from logging to GSP of the N class. So I was alive. The other window which connected via lan0 , hunged.
-----------------------------------------

Here is ioscan output:
# ioscan -fnC lan
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
lan 0 0/0/0/0 btlan3 CLAIMED INTERFACE HP PCI 10/100Base-TX Core
/dev/diag/lan0 /dev/ether0 /dev/lan0
-------------------------------------------
I made changes in the /etc/rc.config.d/hpbase100conf file also ,

Or does it need a reboot to make it effective ?

Thanks.
rveri
Super Advisor

Re: LAN card speed change .

set back to 100FD , and working fine.
Thanks all.
Devender Khatana
Honored Contributor

Re: LAN card speed change .

Hi Veri,

You set the speed to 10Mbps and the link went away and the interface probably did not came up. The reason seems to be the setting on the other end (Switch or hub). It is perhaps set to 100 FD and not auto-negotiate.

Also after changing speed through lanadmin you do not require to reboot. But if the changed setting worked fine then for the same changes to be effective on next boot, you should update corresponding file.

HTH,
Devender
Impossible itself mentions "I m possible"
Fabio Ettore
Honored Contributor

Re: LAN card speed change .

Ok Veri, good.
Anyway if you want to change the speed about your lan card check the speed of the switches attached to your HP-UX system too. I often saw that differencies between lan card speed and switch speed are the reasons of bad performance about some network services, I think for example about ftp. Take attention to change the speed.

Just a thought...

Best regards,
Fabio
WISH? IMPROVEMENT!