- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Change of lan name Part 2
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
09-13-2002 01:18 PM
09-13-2002 01:18 PM
we tried your solution with the ioinit, but it failed because we still have somehow the entry for the lan1 somewhere in the system... we've removed the entries in netconf and the device files and rebooted, but we still have this problem... somehow we have to "delete" the entry for lan1 so that we can reconfigure it...
any ideas?
jerome (working with konrad)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2002 01:30 PM
09-13-2002 01:30 PM
Re: Change of lan name Part 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2002 01:31 PM
09-13-2002 01:31 PM
Re: Change of lan name Part 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2002 01:33 PM
09-13-2002 01:33 PM
Re: Change of lan name Part 2
lanscan -v and see what it says about lan1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2002 01:50 PM
09-13-2002 01:50 PM
Re: Change of lan name Part 2
to answer your question, lanscan -v doesn't show anything about lan1...
our netconf file has the entry for three different interface cards [0] [2] [3] with all the normal entries for Interface name...
i tried forcing [2] to the name lan1, but it causes a duplicate address error and i can't connect...
any help would be great... this is a critical issue...
thanks
jerome
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2002 04:23 PM
09-13-2002 04:23 PM
Solution# cd /
# ioscan -kf|grep -e INTERFACE -e DEVICE|awk '{printf "%s %s %s\n",$3,$1,$2}'>infile
The infile would look something like this ..
......
0/0/2/0 ext_bus 2
0/0/2/0.2 target 3
0/0/2/0.2.0 disk 1
0/0/2/0.7 target 4
0/0/2/1 ext_bus 3
10/4/8 lan 1
.......
10/12/6 lan 0
.....
Before you do anything else, run "lanscan" and you should see (fr the above example) ..
10/4/8=lan1
10/12/6=lan0
Now let say I want to swap the instance numbers. You would vi the infile.. and edit just that 2 lines to look like this ..
....
10/4/8 lan 0
....
10/12/6 lan 1
Do not change the rest of the entries in that file. Test the "ioinit" command against the file :-
# ioinit -f infile 2>&1|more
==> Look for errors with any of the changed lines. If no diagnostic message is displayed for that line then it is good. All other lines that do not change will say something like ..
..
ioinit: Input identical to kernel, line ignored
Input line 1: 0/0/2/0 ext_bus 0
....
The next step is to rename /etc/ioconfig and /stand/ioconfig so that if anything wrong you can go back to original config. Rename them to say ".bak" extension. Reboot the system. It will come up to ioinitrc and give this message:-
/sbin/ioinitrc /etc/ioconfig missing. Restore it from backup or invoke /sbin/ioinit -c to recreate it from kernel.
(in ioinitrc) #
Run this :-
(in ioinitrc) # /sbin/ioinit -f /infile -r
(in ioinitrc) # ^d
The last command in the ioinitrc prompt is CTRL-D. After that the system will reboot and you should get the instance numbers for swapped.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2002 04:58 PM
09-13-2002 04:58 PM
Re: Change of lan name Part 2
Do you have ANY idea how many "james"'s there are in the world?
:-)))
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2002 06:06 PM
09-13-2002 06:06 PM
Re: Change of lan name Part 2
Ahh, now I see the related thread.
Are you somehow talking about the HOST name and not the name "lan1" or "lan2"??
The reason I ask this is: you say your customer doesn't want to use "your" lan name, so again, are you talking about the HOST name???
If you REALLY are talking about "lan1" showing up somewhere, do this:
ls -l /dev/lan*
Can you post :
ioscan -fn
The whole thing as a text file.
then post
/etc/rc.config.d/netconf
live free or die
harry