Operating System - HP-UX
1833436 Members
3397 Online
110052 Solutions
New Discussion

lan card needs to be reset after each reboot

 
Greg Hale
Advisor

lan card needs to be reset after each reboot

We have a K200 running HP-UX 11.00. Everytime we reboot the server the lan card needs to be reconfigured. If I go into SAM the lan card shows up but it isn't configured. Then I also need to run set_parms addl_netwrk so that I can connect from someplace besides the console.

We recently upgraded from 10.20 to 11.00 on this box and I am assuming that we either need to load some additional software or we need to modify some config files. The lan card worked fine when we were running 10.20.

Any help would be greatly appreciated.

thanks,

Greg Hale
4 REPLIES 4
Rita C Workman
Honored Contributor

Re: lan card needs to be reset after each reboot

My bet would be you have not gone in and configured the /etc/rc.config.d/netconf file.
You need to run a few utilities so you ensure you config the info to the correct lan (if you have multiple lan cards)
lanscan
netstat
ipconfig lan_

Manually edit your netconf file with the information you get from these files...but you probably already know the info if you've been doing it manually. After you config the file you may want to stop inetd and restart it to ensure it's reading everything ok.
/sbin/init.d/inetd stop
/sbin/initd.inetd start

Hope this helps,
/rcw
Alex Glennie
Honored Contributor

Re: lan card needs to be reset after each reboot

... and make sure there are no OLD COPIES of the netconf file in the /etc/rc.config.d/ dir.
Greg Hale
Advisor

Re: lan card needs to be reset after each reboot

I've been working with HP Support. They had me do a ifconfig lan0 and it returned: no such device. They then had me run /sbin/init.d/net start and then do another ifconfig lan0. This time the ifconfig lan0 returned some values and config information. I was also then able to ping to and from the server.

However, I rebooted the server again to see what would happen and all changes were lost again.
Greg Hale
Advisor

Re: lan card needs to be reset after each reboot

Problem Solved. Turns out their was a script missing from /sbin/rc2.d. The S340net script that links to /sbin/init.d/net was missing. Once that script file was added back the server was rebooted and the lan card and connection came up fine.

Thanks to everyone for their help.

-Greg