Operating System - HP-UX
1831093 Members
3225 Online
110019 Solutions
New Discussion

GATEWAYLESS Network results in CDE not loading

 
Scott McDade
Frequent Advisor

GATEWAYLESS Network results in CDE not loading

Hello all:

History:

I am working on getting an HPUX 11.11 system on to an ad-hoc network that doesn't have a defined gateway. I am getting the following error in /etc/rc.log file. I tried using the machine's own IP address for a gateway, using the loopback 127.0.0.1 for gateway as well as using 0.0.0.0 as a ROUTE_GATEWAY[0] setting. All result in the following error in the /etc/rc.log file

Problem 1:

ERROR: Failed to add route entry because its interface is not yet initialized. May need to add this route entry with a route command after interface is up : add net default: gateway 127.0.0.1 : Network is unreachable "/sbin/rc2.d.S340net start" FAILED

I then tried 10.10.1.1 and got passed the above error. Is this the correct address to use if you don't have a defined gateway? Does the ROUTE_GATEWAY[0] "0.0.0.0" require "" around the address?

Problem 2:

NOW...CDE will not load....I simply get the blue screen and it sits. The only way I can interrupt is to cycle power and go in a single user mode.

In looking at the /etc/rc.log and no errors......looks like all processes intiialze correctly but CDE still will not load.

I moved the resolv.conf out of the way..

Are there any other files or logs I can check out to help me figure out why CDE won';t load?

Keep it Simple!~
3 REPLIES 3
Ivan Ferreira
Honored Contributor

Re: GATEWAYLESS Network results in CDE not loading

Check your hosts file, you should get an entry for the host name returned by "hostname".

Edit your /etc/nsswitch.conf to avoid the use of /etc/resolf.conf

Can you post your /etc/rc.config.d/netconf file?

You should have it like this:

# ROUTE_DESTINATION[0]=default
# ROUTE_MASK[0]=""
# ROUTE_GATEWAY[0]=""
# ROUTE_COUNT[0]=""
# ROUTE_ARGS[0]=""
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Scott McDade
Frequent Advisor

Re: GATEWAYLESS Network results in CDE not loading

What should the /etc/nsswitch.conf edit look like?
Keep it Simple!~
vofsky
Frequent Advisor

Re: GATEWAYLESS Network results in CDE not loading

you could take a look at the template /etc/nsswitch.files.
for this case,you have to set the ip address in the /etc/rc.config.d/netconf file and then remove the extra entry except the localhost in the /etc/hosts file.