1831343 Members
2986 Online
110024 Solutions
New Discussion

Disabling DHCP

 
SOLVED
Go to solution
Alistair Black
Occasional Contributor

Disabling DHCP

I am trying to re-boot an old HP-UX system which has not been is use since last year. The re-boot sequence got as far as checking network for DHCP server. The systems responded with the following message.

The DHCP Client was refused an extension for the system lease. The system must cease using DHCP for management of the network interface

I have disabled DHCP by edited the file /etc/rc.config.d/netconf and setting DHCP_ENABLE[0]=0

When I now try to restart the server it gets as far as the screen which lists all the process which are started, but the sequence does not get passed "Start NFS Client subsystem".

Is there still something else which has to be done to fully disable DHCP and to use a fixed IP address, which will allow the startup sequence to complete and have a system which can be used on the network.
3 REPLIES 3
Alan Riggs
Honored Contributor
Solution

Re: Disabling DHCP

You will have to give this server an IP address for it to start up any network services. It has been configured to grab a dynamic IP from a DHCP server, but you have disabled that. So you will have to give it a static IP. Edit netconf again, or run set_parms ip_address. (You may want to run set_parms addl_netwrk as well, or just plain set_parms to cover all bases.) If you choose to set it up manually, you will also have ot provide information on teh default gateway and netmask for the subnet.
Kofi ARTHIABAH
Honored Contributor

Re: Disabling DHCP

Alistair:

You are on the right track, you have to disable nfs client as well - set all the variables in /etc/rc.config.d/nfsconf to 0 (that way it does not attempt to start nfs) also edit the /etc/rc.config.d/namesvrs and set WAIT_FOR_NIS_SERVER=FALSE
nothing wrong with me that a few lines of code cannot fix!
Belinda Dermody
Super Advisor

Re: Disabling DHCP

Another quick fix would be to chmod 444 of the /sbin/auto_parms file