1834166 Members
2425 Online
110064 Solutions
New Discussion

Lan error

 
SOLVED
Go to solution
Achilles_2
Regular Advisor

Lan error

I have faced the networking problem. I am using HPUX 11.00 OS and the network doesn't work, so that I use the command lanadmin to check the lan card status. It displays the following problems:

Administration Stauts(value)=up(1)
Operation Stauts(value)=down(2)

how can I change the status of Operation Stauts to up again?

Thanks and Regards,
Alex
7 REPLIES 7
Con O'Kelly
Honored Contributor

Re: Lan error

Hi

You should be able to use:
# ifconfig inet netmask up

Example:
# ifconfig lan1 inet 192.168.10.2 netmask 255.255.255.0 up

Also ensure you have updated /etc/rc.config.d/netconf file with IP address etc for the interface.

Cheers
Con
Jan Sladky
Trusted Contributor

Re: Lan error

hi Alex,

check wheter is driver in kernel by
ioscan -funC lan

it should has CLAIMED status

than you try

ifconfig lan0 up

it activates lan0 interface

post result

br Jan





GSM, Intelligent Networks, UNIX
Bharat Katkar
Honored Contributor

Re: Lan error

Alex,
We discussed same thing yesterday.
See the link below.
Hope that helps.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=642584

Regards,
You need to know a lot to actually know how little you know
Achilles_2
Regular Advisor

Re: Lan error

I have already try the methods you provided, but it's still not worked.
Steve Lewis
Honored Contributor
Solution

Re: Lan error

# lanadmin
Select lan
Select the correct ppa (e.g. lan1 = 1)
Select reset

Check the lights on the interface card, see if you see any traffic. You can use lanscan or ioscan to get the hardware path.

Use linkloop to check connectivity to the interface from another machine on the same subnet.

Then try ifconfig lanX up.

If that still does not work, then check the other end of the cable. It could be that the switch has disabled the port, because of a mis-configuration, security error or some other reason. You may need to re-enable the port before you can bring the lan up again.
It could be caused by different duplex/speed settings on each end, so re-check those.

Failing that, it could be a hardware problem with the interface, or the switch, or the cable. You could try a power-off reboot to see if that fixes it.
Mohanasundaram_1
Honored Contributor

Re: Lan error

Hi Alex,

I have seen this kind of problems when the switch and the card have different negotiation.

Try putting both the LAN card and the switch port in Auto-negotiation and check. If no success, reverse the config by fixing the speed and duplex then try.

Hope this helps.

Cheers,
Mohan.
Attitude, Not aptitude, determines your altitude
Ron Kinner
Honored Contributor

Re: Lan error

Administration Stauts(value)=up(1)
Operation Stauts(value)=down(2)


The first UP means it is administered properly and ready to work.

The second line down(2) essentially means there is no link light. Usually a hardware problem tho it is possible to get the same results with one end set to 10 M and the other set to 100M. You need to check your cable, the NIC, the switch port (shutdown?),- if you have more than one NIC perhaps your idea of which NIC you are using is not the same as the HPUX's- try the other NIC.

Ron