DHCP Client doesn't work on HP-UX 11i (1692 Views)
Reply
Advisor
Pascal Larnicol
Posts: 13
Registered: ‎03-12-2010
Message 26 of 27 (241 Views)

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...
Occasional Visitor
ADP DSM - UNIX
Posts: 1
Registered: ‎08-25-2003
Message 27 of 27 (130 Views)

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.

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.