Operating System - HP-UX
1825524 Members
2002 Online
109681 Solutions
New Discussion юеВ

lan configuration problem

 
sparky_2
Frequent Advisor

lan configuration problem

I need to change the speed of my network card (port on switch is set to 100 Base T full-duplex but card is set to 10 Base T half-duplex). Trying to force this with lanadmin -S is not working.
The lanscan command does not display any network cards, but outputs the following error:
"/stand/vmunix: no namelist"
Does this signify a problem with the kernel build itself? Can anyone suggest the best way to approach this problem? Thanks.
7 REPLIES 7
federico_3
Honored Contributor

Re: lan configuration problem

Telia BackOffice
Valued Contributor

Re: lan configuration problem

check to see if /stand is mounted on you system.
Rita C Workman
Honored Contributor

Re: lan configuration problem

You need to check a couple things first. My example is for a 10.2. The difference for 10.2 to 11 is 10.2 uses the nmid and 11 like the ppa.
First run:
ioscan -fkC lan > ioscan.lan
Check to see what driver your card is using-you will need to know this.
And run lanscan to get nmid of lan card
Here's a quick list:

btlan0 hpeisabtconf
btlan hpbtlanconf
btlan1 hpbasetconf
btlan3 hpbase100conf
btlan4 hpgsc100conf
btlan5 hpci100conf
btlan6 hpsppci100conf

So example your lan2 is nmid 4 and your driver is btlan1.

lanadmin -X 100FD 4
That's a capital X and FD. This will change the card to 100full duplex for nmid 4

To make change permanent than edit the corresponding driver file..
/etc/rc.config.d/basetconf

Make sure to change 2 lines:
HP_BASET_INTERFACE_NAME=lan2
HP_BASET_MAC_ADDRESS (ignore)
HP_BASET_SPEED=100FD

Hope this helps,
Rit
harry d brown jr
Honored Contributor

Re: lan configuration problem

You have to address your serious kernel issue first!

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc592e7e60861d511abcd0090277a778c,00.html


live free or die
harry
Live Free or Die
Sanjay_6
Honored Contributor

Re: lan configuration problem

Hi Keelin,

If you have /stand correctly mounted and the kernel exist. Reboot the system if you have rebuilt the kernel but have not rebooted the system. Looks like the system is unable to find the kernel it booted from.

Hope this helps.

Regds
Krishna Prasad
Trusted Contributor

Re: lan configuration problem

On my system the file I need to set the speed to 100 FD is

/etc/rc.config.d/hpbtlanconf the file looks like this

HP_BTLAN_INTERFACE_NAME[0]=lan4
HP_BTLAN_SPEED[0]=100FD
Positive Results requires Positive Thinking
Rita C Workman
Honored Contributor

Re: lan configuration problem

Keelin,

I think Harry's post is very much in agreement w/your issue.

Ron,

You might want to post your question yourself....
But, if your /etc/rc.config.d/hp* file is set right than you might double check things..
lanscan to get the lan# and corresponding nmid# (or ppa# for 11).
To check..
lanadmin -x #
(where x is little x and # is the ppa# or nmid# for the 100baseT)
If it comes back with 100Full Duplex Auto-Neg OFF than your OK on your server.
AND NOW, it is important to ensure that your switch port is set the exact same. If it isn't change it and lock the entry so it doesn't reset it to default of half duplex should there be a power issue.

If your lanadmin command does not show the above...then:
lanadmin -X 100FD

Hope this helps,
Rit