Operating System - HP-UX
1827894 Members
1678 Online
109969 Solutions
New Discussion

How to permanently disable DHCP client?

 
Mike Burk
Advisor

How to permanently disable DHCP client?

How do I permanently disable the DHCP client in 11.0? I set DHCP_ENABLE(0)=0 in /etc/rc.config.d set_parms still says I have an active DHCP lease after I reboot. I want to set a static IP and gateway. What am I missing?

Thanks,

Mike
3 REPLIES 3
steven Burgess_2
Honored Contributor

Re: How to permanently disable DHCP client?

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
take your time and think things through
steven Burgess_2
Honored Contributor

Re: How to permanently disable DHCP client?

Hi

Then run set_parms_ip_address

Steve
take your time and think things through
Steven Sim Kok Leong
Honored Contributor

Re: How to permanently disable DHCP client?

Hi,

I think you have a typo.

DHCP_ENABLE(0)=0

should be:

DHCP_ENABLE[0]=0

Check if you have other interfaces defined, and disable DHCP for them accordingly eg.

DHCP_ENABLE[1]=0

and so forth.

Hope this helps. Regards.

Steven Sim Kok Leong