Networking
Showing results for 
Search instead for 
Do 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
Occasional Visitor

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

[ Edited ]

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.