Operating System - HP-UX
1834244 Members
2245 Online
110066 Solutions
New Discussion

Re: Cannot configure lan0

 

Cannot configure lan0

Hi,
I've just installed HP-UX11 on an HPB2000 machine. The machine has a network card built into the motherboard and one in a slot. The one in the slot does not appear to be working (none of the lamps light). I believe this card had worked prior to the installation, so maybe I have to configure it somehow. Anyway, the onboard network card was discovered as lan0 and I am able to use it but I am having a problem setting up its parameters. Originally, I did not set up a gateway or use DHCP. I just assigned it an address of 10.0.0.5. Once the machine booted and I logged in, I checked the netconf file and can see the IP address 10.0.0.5 and a subnet mask of 255.0.0.0. I am able to ping localhost and 10.0.0.5 as well as my gateway at 10.0.0.1, so it appears the network card is configured "ok."
The problem occurs when I try to change the subnet mask to 255.255.255.0 - the machine hangs and I have to use the power switch to reboot it. Also, if I turn on DHCP the same thing happens.
When the machine reboots, I get a fail * on the lan and then it hangs trying to load something for NFS. I skip out of the boot process and modify the netconf file, and I am able to boot up the machine again. From my little knowledge about networking, I am not doing anything wrong. All the Windows machine on my local network are in the 10.0.0 network and use 255.255.255.0 for the subnet mask...and use DHCP. Since I'm new to UNIX, I'm wondering if I am missing something basic here. Thanks for any clues.

Regards,
7 REPLIES 7
Ted Ellis_2
Honored Contributor

Re: Cannot configure lan0

with respect to your lan card not having lights... you most likely need to install the driver for it... the driver comes on the application cdrom software set... these days a 4 or 5 disk set you can get. You could also go to the HP website and search on the lan card part ID.... then download the driver and install it with swinstall. It is a reboot item, but should get that card up and running.

How are you trying to change the subnet mask? Are you using set_parms?

set_parms addl_netwrk

that will fire up a little interface that will directlry address changing subnet mask... try that if you have not already.

Ted
Michael Tully
Honored Contributor

Re: Cannot configure lan0

It appears that the appropriate 'btlan?' driver may not be installed into your kernel. In the output of 'ioscan -fnkC lan' does the card appear as 'UNKNOWN'?
Anyone for a Mutiny ?

Re: Cannot configure lan0

"How are you trying to change the subnet mask? Are you using set_parms? "

I am using set_parms addl_netwrk



"It appears that the appropriate 'btlan?' driver may not be installed into your kernel. In the output of 'ioscan -fnkC lan' does the card appear as 'UNKNOWN'? "

It looks like it has found the btlan3 driver. results of ioscan are:
lan 0 10/0/12/0 btlan3 /dev/ether0 CLAIMED inerface ethernet


Re: Cannot configure lan0

OK. Not sure how I fixed this for sure, but i used SAM and disabled the network card. Once it was disabled, I selected "enable dhcp." After things loaded, it seemed to work and I am now able to ping devices on my network and ftp into the computer.

Perhaps the trick was disabling the lan first, although that doesn't seem like the cause of my problems. At least it is working now.

Thank you for responding to my question!

Regards,

=^..^=
harry d brown jr
Honored Contributor

Re: Cannot configure lan0

Ken,

alert!

set_parms -- sucks and should be discarded by HP or at least rewritten to actually work! It's most likely just writing garbage to your netconf file. You need to manually modify this information and then reboot (to be safe).

and just because something works in windoze doesn't mean it's supposed to work that way.


As for proper networking masks, consult your networking expert that knows the rules your routers/switches have inuse.

live free or die
harry
Live Free or Die

Re: Cannot configure lan0

The reason you cannot use 10.0.0.5 with a subnet mask of 255.255.255.0 is because it violates RFC1122 (subnet with all zeros)
you can disable subnet checking by editting /etc/rc.config.d/netconf with the following 3 lines:
TRANSPORT_NAME[x]=ip
NDD_NAME[x]=ip_check_subnet_addr
NDD_VALUE[x]=0

where x represents the next available index

The reason you do not see the second card, is probably because the driver is not installed. You need to install the driver for the card from you appplication cd

Re: Cannot configure lan0

Thanks everyone,

I think I'm set on this issue.

Regards,

=^..^=