Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Networking
cancel
Showing results for 
Search instead for 
Did you mean: 

DHCP Client doesn't work on HP-UX 11i

SOLVED
Go to solution

Re: DHCP Client doesn't work on HP-UX 11i

It is current. I tried to launch without the file /etc/dhcpclient.data, with "touch /etc/dhcpclient.data;chmod 644 /etc/dhcpclient.data", etc...
Always empty file...
Highlighted
ADP DSM - UNIX
Occasional Visitor

Re: DHCP Client doesn't work on HP-UX 11i

I had the same problem for the last day.

I was never able to edit the files and get any results ... until

 

I removed the data entries in /etc/rc.config.d/netconf for all of my interfaces.

Basically set them to blank or two double quotes.

And made the server name "" - this is what causes the system to ask for parms on reboot.

Also - erase /etc/dhcpclient.data and /tmp/dhcpclient.log  ( I just copied /dev/null over them. )

Then rebooted the server.

 

Upon reboot - the boot script decided the server was not configured and prompted me to configure the network interfaces.  DHCP was one of the options - after choosing DHCP the server continued to boot and DHCP client worked like a champ.

 

/etc/rc.config.d/netconf - before the reboot

 

HOSTNAME=""

INTERFACE_NAME[2]=lan2
IP_ADDRESS[2]=
SUBNET_MASK[2]=
BROADCAST_ADDRESS[2]=
INTERFACE_STATE[2]=""
DHCP_ENABLE[2]=1

 

After the reboot netconf looks as follows:

 

HOSTNAME="dhcp-10-1-9-124"

INTERFACE_NAME[2]=lan2
IP_ADDRESS[2]=10.1.9.124
SUBNET_MASK[2]=255.255.255.224
BROADCAST_ADDRESS[2]=255.255.255.255
INTERFACE_STATE[2]=""
DHCP_ENABLE[2]=1

 

Hope this help any who may follow.