- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can I change Lan Interface Name from lan1 to lan0
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 05:25 AM
05-15-2002 05:25 AM
It is the only lan card on the machine.
When I do a 'lanscan' I get a NetworkInterface Name Unit of lan1 (see attachment). This has not been a problem until I installed a licence which is tied into the Station Address of the unit, because the licence is looking for lan0.
A simple solution would be to change it from lan1 to lan0. Is this possible, and if so, how do I do it?
JJHH
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 05:31 AM
05-15-2002 05:31 AM
Re: Can I change Lan Interface Name from lan1 to lan0
Edit your /etc/rc.config.d/ configuration file and specify the card you want as the *first* (element [0]).
In this case, if I recall, the file should be 'hpetherconf'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 05:36 AM
05-15-2002 05:36 AM
Re: Can I change Lan Interface Name from lan1 to lan0
Make the following changes to the /etc/rc.config.d/hpetherconf file.
HP_ETHER_INTERFACE_NAME[0]=lan1
Use the lanadmin command lanadmin -a and find the station address.
for eg:
sukant@nask3>> lanadmin -a 0
Station Address = 0x080009adacbd
Then change the following parameter to the station address in the /etc/rc.config.d/hpetherconf file
HP_ETHER_STATION_ADDRESS[0]=
This would do.
-Sukant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 05:50 AM
05-15-2002 05:50 AM
Re: Can I change Lan Interface Name from lan1 to lan0
It would appear that the interface has been configured more than once, hence the lan1 designation.
fix the /etc/rc.config.d/netconf file and the easiest way is to reboot to make it change
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 06:01 AM
05-15-2002 06:01 AM
Re: Can I change Lan Interface Name from lan1 to lan0
It may be possible to change from lan1 to lan0 by doing
rmsf on /dev/lan1 and then
doing insf -e to recreate the lan0 device. However you have to run this commands from the console hench the lanconnectoion will be gone.
Then you have to reboot.
Do't forget to update the /etc/rc.config.d/netconf file.
From the output format of the lanscan, it looks like
you are running 10.20
Be very carefully! It's a risky operation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 06:02 AM
05-15-2002 06:02 AM
Re: Can I change Lan Interface Name from lan1 to lan0
JJHH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 06:05 AM
05-15-2002 06:05 AM
Re: Can I change Lan Interface Name from lan1 to lan0
Just changing the name from lan1 to lan0 doesn't work, or even by modifying the file as JRF says, since the lan card has a path on scsi and major/minor attached to it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 06:35 AM
05-15-2002 06:35 AM
Re: Can I change Lan Interface Name from lan1 to lan0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 06:41 AM
05-15-2002 06:41 AM
Re: Can I change Lan Interface Name from lan1 to lan0
OK, you want to change the card's instance number. Do this:
Make a file, called '/tmp/laninit' and place the following line in it:
8/16/6 lan 0
Now, do:
# ioinit -f /tmp/laninit
Now reboot and verify the correct instance number with 'lanscan'. Then:
# cd /dev
# insf -e
# lssf /dev/lan* #...to verify device files...
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 07:10 AM
05-15-2002 07:10 AM
Re: Can I change Lan Interface Name from lan1 to lan0
Try these procedures to change the instance no of the lan cards,
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=0a25dc6b1cf07dffc8/screen=ckiDisplayDocument?docId=200000058668743
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 07:17 AM
05-15-2002 07:17 AM
Re: Can I change Lan Interface Name from lan1 to lan0
I was beginning to get VERY NERVOUS after reading some of the replies, but yours was more encouraging. I'll try it when I can get the users off the system.
May I ask you, in the tmp file, should there be a space between 'lan' and '0' ?
JJHH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 07:19 AM
05-15-2002 07:19 AM
Re: Can I change Lan Interface Name from lan1 to lan0
Yes, there *is* a blank (space) between "0" and "lan" in the line of the file I showed.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 08:21 AM
05-15-2002 08:21 AM
Re: Can I change Lan Interface Name from lan1 to lan0
I tried your solution, but when I entered 'ioinit -f /tmp/laninit' I got the response:
'ioinit: Instance number 0 already exists for class lan.'
Line 1. 8/16/6 lan 0
JJHH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 08:24 AM
05-15-2002 08:24 AM
Re: Can I change Lan Interface Name from lan1 to lan0
Thanks for your reference, but I can't access it. I'm registered in the Europe Resource Centre and can't access the US Resource Center.
JJHH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 08:34 AM
05-15-2002 08:34 AM
SolutionTo access the link posted by us, if the link has us-support and you are accessing the same from europe itrc, substitute europe-support in place of us-support and the link should open up on the europe itrc. By the way the TKB doc no is KBAN00000795
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 08:47 AM
05-15-2002 08:47 AM
Re: Can I change Lan Interface Name from lan1 to lan0
I presume then, that at one time there *was* a card at instance #0. Although the thread referenced below describes a case with a tape drive, the issue is the same, I believe. Follow the discussion starting with the thread referenced by Joseph in this thread, and continue with its denoument by Carsten Krege. If this fits, contact HP Support for the utility Carsten used.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x60cacf38d6bdd5118ff10090279cd0f9,00.html
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2002 12:47 AM
05-16-2002 12:47 AM
Re: Can I change Lan Interface Name from lan1 to lan0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2002 02:00 AM
05-16-2002 02:00 AM
Re: Can I change Lan Interface Name from lan1 to lan0
James, you are the lucky one as I've had some success following the Carsten thread. The ioc program was attached to his reply, so I detached it and gave it a spin:
> ./ioc | grep -e Class -e lan
Class I H/W Path Driver
lan 0 8 8 1 0 btlan4
lan 1 8 16 6 lan2
The previously configured lan0 was there!
I created a file /tmp/laninit containing the lines:
8/8/1/0 lan 2
8/16/6 lan 0
and did:
> ioinit -f /tmp/laninit
> ./ioc | grep -e Class -e lan
Class I H/W Path Driver
lan 2 8 8 1 0 btlan4
lan 0 8 16 6 lan2
Then I did a similar procedure to change lan2 to lan1. - Just to practice my newly acquired skill!
So, now I need to reboot to verify the instance number change with lanscan, and to create the device files.
It looks as if things are going to work out. I'll let you know.
Once again, THANK YOU VERY MUCH !!!!!!!
JJHH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2002 11:35 PM
05-16-2002 11:35 PM
Re: Can I change Lan Interface Name from lan1 to lan0
It worked like a dream! Thank you.
And thanks to everyone who contributed.
JJHH