Operating System - HP-UX
1825802 Members
2336 Online
109687 Solutions
New Discussion

Re: lan speed on hpux 11.0

 
SOLVED
Go to solution
vaman
Frequent Advisor

lan speed on hpux 11.0

In one of system the lan0 is get converted to half duplex even if it is configured for 100FD, can u tell me how to set it to 100 FD, which configuration file & all related details.
vaman kulkarni
14 REPLIES 14
Alzhy
Honored Contributor

Re: lan speed on hpux 11.0

lanadmin -X 100FD 0
Hakuna Matata.
Sridhar Bhaskarla
Honored Contributor

Re: lan speed on hpux 11.0

Hi Vaman,

It depends on the card type. You will find multiple files under /etc/rc.config.d/hp*conf files. For ex., if it is a GSC card, then the corresponding file is /etc/rc.config.d/hpgsc100conf. Only use the following

HP__INTERFACE_NAME[0]=lan0
HP__SPEED[0]=100FD

Logon from the console and run '/sbin/init.d/hpgsc100 start' to confirm the settings. To verify the speed use 'lanadmin -x 0'

The above is an example for GSC card. Post your card and system type and one will let you know what file you need to use.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Alzhy
Honored Contributor

Re: lan speed on hpux 11.0

And edit the matching file in /etc/rc.config.d/*lan*.conf.

Hakuna Matata.
vaman
Frequent Advisor

Re: lan speed on hpux 11.0

How to know which lan card itis, is it thr. ioscan or what?
vaman kulkarni
Fred Ruffet
Honored Contributor

Re: lan speed on hpux 11.0

It depends on NIC driver. What is result of "ioscan -fkn -C lan" command ?

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
Sridhar Bhaskarla
Honored Contributor

Re: lan speed on hpux 11.0

Hi,

Post the outputs of 'model' and 'netstat -in' along with 'ioscan -fnC lan'. We should be able to determine the card type from the above.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
vaman
Frequent Advisor

Re: lan speed on hpux 11.0

here is the o/p of ioscan -fkn -C 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 confirmed in /etc/rc.config.d/hpbtlanconf
the setting is 100Fd, still the card is running on Halfduplex?
vaman kulkarni
Sridhar Bhaskarla
Honored Contributor
Solution

Re: lan speed on hpux 11.0

Hi Vaman,

There is a trick to verify the settings. Run the corresponding startup script. Since you made the modifications to hpbtlanconf, run '/sbin/init.d/hpbtlan start'. Once it is done, check the speed with 'lanadmin -x 0'.

In your case it is actually hpbase100conf. Modify it and run it using the script '/sbin/init.d/hpbase100 start'.

HP_BASE100_INTERFACE_NAME[0]=lan0
HP_BASE100_SPEED[0]=100FD

Add only the above lines. '/sbin/init.d/' scripts may cause the network to fail for 11 seconds.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Fred Ruffet
Honored Contributor

Re: lan speed on hpux 11.0

for btlan3 driver, you can edit this file :
/etc/rc.config.d/hpbase100conf

regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
vaman
Frequent Advisor

Re: lan speed on hpux 11.0

Hello srini

is it actually hpbtlanconf or hpbase100conf?

vaman kulkarni
Sridhar Bhaskarla
Honored Contributor

Re: lan speed on hpux 11.0

hpbase100conf

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Gerhard Roets
Esteemed Contributor

Re: lan speed on hpux 11.0

Hi vaman

From the ioscan you will see that it is indeed btlan3.

Regards
Gerhard
Steven E. Protter
Exalted Contributor

Re: lan speed on hpux 11.0

On some HP-9000 systems it has been necessary for me to hard code 100FD into the file /etc/rc.config.d/hpbtlanconf

I've never had to touch the hpbase100conf file.

That doesn't mean that its not a good idea, it just means my limited experience has not forced me to modify that configuration file

On certain gsc card systems I've had to hard code settings in another file(s) in /etc/rc.config.d

hpfcgsc_lanconf
hpgsc100conf

This was due to some sort of defect, and the support center told me to do it to D class systems.

If your system is ignoring speed and duplex instructions you may need to modify more than one configuration file.

In additon, your network switch could be messing you up as well. That needs to be set to 100 BaseT full duplex manual. HP-9000 severs 100 BaseT and lower cards do not like autonegotiate.

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
vaman
Frequent Advisor

Re: lan speed on hpux 11.0

Wel, I got the information from HP that if u have btlan card then it is hpbtlanconf & if btlan3 then hpbase100conf
Thanks for every one who helped me.
vaman kulkarni