1846679 Members
3083 Online
110256 Solutions
New Discussion

Lan interfaces failed

 
SOLVED
Go to solution
tim_145
Occasional Contributor

Lan interfaces failed

Hi all,
We have installed 11.0 core OS and support_plus cd when the system reboots after this it failed to configure the lan interfaces.

I tried to look into the netconf file everything looks good.
The error in the /etc/rc.log file is as follows:

ERROR :lan0 interface :ifconfig : no such interface
ERROR :lan3 interface :ifconfig : no such interface
ERROR Failed to add route entry becoause its interface is not yet initialized may need to add this route entry with a route command after interface is up

" /sbin/rc.d/S340net start " failed

I have checked all the network configuration files everything looks good.I donot know what is going wrong.
Pls help me out.
Thanks,
8 REPLIES 8
Helen French
Honored Contributor
Solution

Re: Lan interfaces failed

Did you just do an upgrade from 10.20? OR did you put the exact "netconf" file in the new 11.0 system from an old configuration?

One possibility is that you are using the old configs and the lan interface names are changed (lan0, lan1) etc. Check what's the instances on the new OS and try to reconfigure it and edit netconf file too.

Another possibility is the network driver. Did you install all drivers? What will be the output of these commands:

# lanscan
# ioscan -fnC lan
# netstat -ins
# ifconfig lanX
Life is a promise, fulfill it!
tim_145
Occasional Contributor

Re: Lan interfaces failed

Hi,
I have done fresh 11.0 install.
Thanks,
Sridhar Bhaskarla
Honored Contributor

Re: Lan interfaces failed

Hi,

Post your "lanscan" output. Looks like you didn't get the drivers installed.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Jairo Campana
Trusted Contributor

Re: Lan interfaces failed

Problem Description

I am getting errors when I use the ifconfig command. When I execute
the ifconfig lan0 up command, I get this error message:

no such interface

If I execute the ifconfig lan0 inet i.i.i.i netmask n.n.n.n up command,
I get this error message:

plumb error: ifconfig: no such interface

Why am I getting these error messages, and how can I correct the problem?

Configuration Info

Operating System - HP-UX
Version - 11.0
Hardware System - HP9000
Series - T600

Solution

You are getting these error messages because you are missing the soft
link of /dev/lan to /dev/dlpi.

If you execute the ll /dev/lan* command, you will see that the soft
link does not exist:

For example:

crw-r--r-- 1 root root 191 0x000000 Apr 23 15:47 /dev/lan0
crw-rw-rw- 1 bin bin 52 0x010000 Apr 23 15:24 /dev/lan1

Execute these commands to correct the problem:

1. ln -s /dev/dlpi /dev/lan

Note: This command will create the soft link.

2. ll /dev/lan*

crw-rw-rw- 2 root sys 72 0x000077 Dec 30 16:49 /dev/lan
crw-r--r-- 1 root root 191 0x000000 Apr 23 15:47 /dev/lan0
crw-rw-rw- 1 bin bin 52 0x010000 Apr 23 15:24 /dev/lan1

Note: Verify that you have created the soft link.

3. shutdown -r 0

Note: The machine should boot and set the IP addresses.
legionx
Steven E. Protter
Exalted Contributor

Re: Lan interfaces failed

Run ioscan, makes sure the card is claimed.

Try running ifconfig manually and see if it works there.

If it works manually and not at startup, your netconf file has a problem. If that is so, go over it carefully, perhaps get one card working at boot then the other.

You did look at the back of the box and see if the lights are lit right?

In the install, you made sure the drivers were included in the install right?

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
tim_145
Occasional Contributor

Re: Lan interfaces failed

Thanks Steven I will try that out.
Caesar_3
Esteemed Contributor

Re: Lan interfaces failed

Hello!

Run the lanscan to see if you find the
interfaces and the names of them.
If you wouldn't find run the ioscan and check
for "unknown"
If you will see the "unknown" that's mean you
had no driver in kernel for the hardware,
then you will need to install drivers.

Caesar
Suresh Patoria
Super Advisor

Re: Lan interfaces failed

Hi,

You first check the your interface installed in the system or not via ioscan -funC lan

if it is there then follow mention steps

You pls check the file /etc/rc.config.d/netconf in there all the entered entry fine

After this you check out the /etc/hosts file

after all this you restart the system