Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

/dev/lan0 creation

SOLVED
Go to solution
Benjamin_35
Occasional Advisor

/dev/lan0 creation

I have two lan, 0 an 1 . Lan1 is Ok. Lan0 has no /dev/lan0, /dev/ether /dev/diag/lan0.

Anyone could explain me how to create /dev/lan0 in HPUX10.20?

Here goes the results of ioscan -fnC lan

Lan 0 8/4/1/0 btlan4 CLAIMED INTERFACE PCI(10110009) Built in #1

LAN 1 8/16/6 lan2 CLAIMED INTERFACE Built-in LAN /dev/diag/lan1 /dev/ether1 /dev/lan1

Many thanks,
Benjamin.
9 REPLIES
Bill Hassell
Honored Contributor

Re: /dev/lan0 creation

Just use insf -e. It will correct any missing device files automatically. Don't worry that it shows a bunch of existing device files, insf only adds missing files.


Bill Hassell, sysadmin
Hoang Chi Cong_1
Honored Contributor

Re: /dev/lan0 creation

Hi

So just run :
insf -eC lan
As Bill Hassell, no trouble!

Goodluck!
Regard,
Hoang Chi Cong
Looking for a special chance.......
Bharat Katkar
Honored Contributor

Re: /dev/lan0 creation

Hi Bengamin,

Yes "insf -e" should help if in case you or somebody else have deleted or removed the /dev/lan0 file.

Just to clarify one mopre thing:
If "ifconfig lan0" returns "no such interface" then lan0 could be there but not configured.
Just try executing (if /dev/lan0 exists)
# ifconfig lan0 -netmask UP

And then try looking at the Lan Status:
# ifconfig lan0

Other command used to check NIC Cards is:

# lanscan

Hope that helps.
Regards,
You need to know a lot to actually know how little you know
Benjamin_35
Occasional Advisor

Re: /dev/lan0 creation

Hi all,

Thank you for your reply.

the insf -e (or -eC lan) command just reinstalled lan1. It doeesn/t mention anything about lan0. I still don't have /dev/lan0.

lanscan returns lan0 and lan1. Lan0 appears as described below:
8/4/1/0 0x080009B8D74C 0 UP LAN0 UP 5 ETHER YES 119

The hole problem came after recovered the system using Ignite 1.45...
Bharat Katkar
Honored Contributor

Re: /dev/lan0 creation

hi benjamin,

I checked on my both IA/PA systems and on 11.11 and 11.23 but i did not see /dev/lan0.
I was able to see /dev/lan1 and /dev/lan2 on my 11i systems but no lan0.
Still ifconfig lan0 return everything OK.
Is that because of lan0 being on core I/O card?
Anyway, did you try giving some IP address to lan0 even if /dev/lan0 is not there.
Try configuring the lan0 and just ping the IP.
See what "ifconfig lan0" display.

Regards,

You need to know a lot to actually know how little you know
Benjamin_35
Occasional Advisor

Re: /dev/lan0 creation

The lan0 is working "fine". I need /dev/lan0 because of ILOG license(that searchs for /dev/lan0). Without /dev/lan0, the license doesn't work.

Backing to lan0, I can ping it and "rlogin" remote hosts. I'm using an card J3515.

ioscan returns
8/4/1/0 lan "PCI(10110009) --Built in #1

ifconfig lan0, returns:
lan0: flags=863
inet 130.200.1.1 netmask ffffff00 broadcast 130.200.1.255

Thanks,
benjamin

Stephen Keane
Honored Contributor
Solution

Re: /dev/lan0 creation

You could try

ln -s /dev/dlpi /dev/lan0

Always assuming that you have a /dev/dlpi of course.
Benjamin_35
Occasional Advisor

Re: /dev/lan0 creation

Hi all,

Stephen Keane solved the problem. I took a look in another backup tape and discovered that Ignite has change the IP adresses....
So I change the parameters with netconf and then, "ln -s", solved the hostid problem. That's all ok now. Just for information, HP Lan manual talks about ln /dev/lan and /dev/snap too.

Thank you all, and have a good day.
Benjamin.


Gary Cantwell
Honored Contributor

Re: /dev/lan0 creation

Please take a moment to assign points to those who have assisted you, here's how:

http://forums1.itrc.hp.com/service/forums/helptips.do?#33

Thanks,

Gary