Setting up HP-UX server as dhcp client

This Procedure I tested long time ago. And it worked for me.

a) The name resolution for localhost/loopback must work without any network. So:
/etc/hosts
127.0.0.1 localhost loopback
/etc/nsswitch.conf
hosts: files [NOTFOUND=continue] dns

b) Setup the rc-config file for dhcp:
/etc/rc.config.d/netconf:
HOSTNAME=""
PERATING_SYSTEM=HP-UX
LOOPBACK_ADDRESS=127.0.0.1
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=
SUBNET_MASK[0]=255.255.255.255
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=1
GATED=0
GATED_ARGS=""
RDPD=0
RARP=0
PAY ATTENTION: In this file the hostname is NOT set, the subnetmask is set to 255.255.255.255
and all route entries are removed!

c) Remove all files, that start with dhcp
rm /etc/dhcp*

d) create a blank /etc/dhcpclient.data with permissions 644:
touch /etc/dhcpclient.data
chmod 644 /etc/dhcpclient.data

e) in /etc/inetd.conf comment the line which starts with "bootps"

f) Create a rc file, that blanks out the /etc/dhcpclient.data at each shutdown. The link should
be a K-Link in /sbin/rc0.d/ (For instructions how to create a working rc script see
/sbin/init.d/template)