Operating System - HP-UX
1826431 Members
4320 Online
109692 Solutions
New Discussion

Re: How do I reconfigure the LAN ID

 
Olin Byrd, III
Occasional Contributor

How do I reconfigure the LAN ID

My LAN ID was set incorrectly, what mode do I need to be in to reconfigure it to the correct value?
18 REPLIES 18
Andreas Voss
Honored Contributor

Re: How do I reconfigure the LAN ID

Hi,

when i'm right you mean you have entered the wrong IP-address/gateway. To correct this use the command:
/sbin/set_parms ip_address
and further:
/sbin/set_parms addl_network

Regards
Olin Byrd, III
Occasional Contributor

Re: How do I reconfigure the LAN ID

The motherboard was replaced and the wrong LAN ID was assigned.
Andreas Voss
Honored Contributor

Re: How do I reconfigure the LAN ID

Hi,

i'm not sure (depends on what LAN interface you have) but in the file:
/etc/rc.config.d/hpetherconf
you can set the mac address with:
HP_ETHER_STATION_ADDRESS[0]=0xXXXXXXXXXXXX

Regards
Andreas Voss
Honored Contributor

Re: How do I reconfigure the LAN ID

Sorry the submit button goes crazy ...
Victor BERRIDGE
Honored Contributor

Re: How do I reconfigure the LAN ID

Well theres always:
ifconfig lan0 inet `hostname`netmask 255.XXX.XXX.<0>
...
The best is to do a lanscan:
the output should look like:
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
8/16/6 0x080009D2CA13 1 UP lan1 snap1 1 ETHER Yes 119
8/4/1/0 0x0060B0F9BA85 0 UP lan0 snap0 2 ETHER Yes 119

But I agree with Andreas the best is to use set_parms...

Hope it helps
Victor
Larry Basford
Regular Advisor

Re: How do I reconfigure the LAN ID

If you are talking about a desktop motherboard replacement the hardware address can only be reset by HP. If you type it in when it boots and it's wrong you need to send it back to be cleared.
Desaster recovery? Right !
Kofi ARTHIABAH
Honored Contributor

Re: How do I reconfigure the LAN ID

Hi:
you can use the lanadmin command (do a man on lanadmin) to set the lanID on the fly, however, it is best to set it in the corresponding rc.config.d file (this depends on the type of card you are using)

use lanscan to find out the nmid (or PPA in HPUX 11.0) which is required by lanadmin.
nothing wrong with me that a few lines of code cannot fix!
Makis Nikolaidis
New Member

Re: How do I reconfigure the LAN ID

Ok, I order to change the LAN ID of your card permamently you need to do two things.
First run "lanscan" command in order to ivestigate the PPA (or NMID) number of your card.
Secondly, as soon as you find out what is the PPA number, you need to actualy change the LAN address by issuing the command, " lanadmin -a -A .

In this case no matter what happens you will always have the LAN ID that you want.

Always have a backup ...
Berlene Herren
Honored Contributor

Re: How do I reconfigure the LAN ID

If you want to switch lan instance numbers around, try this:In order to switch the instance of lan0 and lan1:


HW Address Net-Interface Name MAC type
56.1 lan0 ether
8 lan1 ether
1) create file called /tmp/hp. Now put in new instances that you want:
8 lan 0 <---where 8 is hw address of card & word LAN MUST be
there. 0 is NEW instance number.
56.1 lan 1 <---where 56.1 is hw address of card & word LAN MUST be there.

1 is NEW instance number.

2) do a: ioinit -f /tmp/hp
3) then reboot
4) do a lanscan to verify new names now are correct.
5) then cd /dev
6) do a: insf -e
7) do a: lssf /dev/lan* look for correct devices files & instances
8) then modify netconf & make sure ip's are going to correct card
9) Reboot again

Berlene

http://www.mindspring.com/~bkherren/dobes/index.htm
Olin Byrd, III
Occasional Contributor

Re: How do I reconfigure the LAN ID

Thanks for all of your responses.

The network is configured and functioning properly but as Larry sumized I am trying to change the value of the LAN ID that was assigned by a service engineer after the motherboard replacement. There is a "ssupdate" command that I should be able to use, I think.
Bob Bell_1
Frequent Advisor

Re: How do I reconfigure the LAN ID

Correct me if I am wrong. I am under the impression that only HP can do this. Because of Software to Hardware liscensing issues. A package maybe sold at X dollars to run on Y machine, and mapped to this specific ID. The act of upgrading this machine to Z level may in fact increase the cost of X.. Or, of reinstalling the package on a wholly different box. Again, I am thinking that on HP can set this straight for you. Then again, only HP was supposed to have SSCONFIG for upgrading 800 to 9x9 machines..
The man who never makes a mistake always takes orders from one who does.
Jayapal AP
Advisor

Re: How do I reconfigure the LAN ID

Hello,

For configuring the LAN ID Do the following steps
STEP 1) Get into root user by using

$ su root
#set_parms ip_address
#set_parms addl_netwrk
STEP 2) After configuring the LAN ID. reboot the station or U can try one more option which will normally reset the LAN interface parameters without reboot. i.e
in Command prompt type following command
#landiag
U will find an menu driven options then type
"l" (that is small "L")
after this type "r". this will resets the parameter and then it will come back to enter command prompt. Then type "q". it will brings U to # prompt.

Then try your lan connectivity. hope it will work.

good luck

Jayapal
Jayapal AP
Jayapal AP
Advisor

Re: How do I reconfigure the LAN ID

Hello,

For configuring the LAN ID Do the following steps
STEP 1) Get into root user by using

$ su root
#set_parms ip_address
#set_parms addl_netwrk
STEP 2) After configuring the LAN ID. reboot the station or U can try one more option which will normally reset the LAN interface parameters without reboot. i.e
in Command prompt type following command
#landiag
U will find an menu driven options then type
"l" (that is small "L")
after this type "r". this will resets the parameter and then it will come back to enter command prompt. Then type "q". it will brings U to # prompt.

Then try your lan connectivity. hope it will work.

good luck

Jayapal
Jayapal AP
Jayapal AP
Advisor

Re: How do I reconfigure the LAN ID

Hello,

For configuring the LAN ID Do the following steps
STEP 1) Get into root user by using

$ su root
#set_parms ip_address
#set_parms addl_netwrk
STEP 2) After configuring the LAN ID. reboot the station or U can try one more option which will normally reset the LAN interface parameters without reboot. i.e
in Command prompt type following command
#landiag
U will find an menu driven options then type
"l" (that is small "L")
after this type "r". this will resets the parameter and then it will come back to enter command prompt. Then type "q". it will brings U to # prompt.

Then try your lan connectivity. hope it will work.

good luck

Jayapal
Jayapal AP
Jayapal AP
Advisor

Re: How do I reconfigure the LAN ID

Hello,

For configuring the LAN ID Do the following steps
STEP 1) Get into root user by using

$ su root
#set_parms ip_address
#set_parms addl_netwrk
STEP 2) After configuring the LAN ID. reboot the station or U can try one more option which will normally reset the LAN interface parameters without reboot. i.e
in Command prompt type following command
#landiag
U will find an menu driven options then type
"l" (that is small "L")
after this type "r". this will resets the parameter and then it will come back to enter command prompt. Then type "q". it will brings U to # prompt.

Then try your lan connectivity. hope it will work.

good luck

Jayapal
Jayapal AP
Jayapal AP
Advisor

Re: How do I reconfigure the LAN ID

Hello,

For configuring the LAN ID Do the following steps
STEP 1) Get into root user by using

$ su root
#set_parms ip_address
#set_parms addl_netwrk
STEP 2) After configuring the LAN ID. reboot the station or U can try one more option which will normally reset the LAN interface parameters without reboot. i.e
in Command prompt type following command
#landiag
U will find an menu driven options then type
"l" (that is small "L")
after this type "r". this will resets the parameter and then it will come back to enter command prompt. Then type "q". it will brings U to # prompt.

Then try your lan connectivity. hope it will work.

good luck

Jayapal
Jayapal AP
Jayapal AP
Advisor

Re: How do I reconfigure the LAN ID

Hello,

For configuring the LAN ID Do the following steps
STEP 1) Get into root user by using

$ su root
#set_parms ip_address
#set_parms addl_netwrk
STEP 2) After configuring the LAN ID. reboot the station or U can try one more option which will normally reset the LAN interface parameters without reboot. i.e
in Command prompt type following command
#landiag
U will find an menu driven options then type
"l" (that is small "L")
after this type "r". this will resets the parameter and then it will come back to enter command prompt. Then type "q". it will brings U to # prompt.

Then try your lan connectivity. hope it will work.

good luck

Jayapal
Jayapal AP
Olin Byrd, III
Occasional Contributor

Re: How do I reconfigure the LAN ID

Can anyone email me at olin@3bow.com and tell me how to use SSUPDATE?