[NTLUG:Discuss] DHCP/Ntp.conf issue

Stephen Davidson gorky at freenet.carleton.ca
Thu Oct 30 06:46:25 CST 2003


Ed Coates wrote:
> 
> On Wed, 29 Oct 2003, Stephen Davidson wrote:
> 
> 
>>Greetings.
>>
>>Whenever I connect my computer via DHCP to a network, my /etc/ntp.conf file gets overwritten (generally with a totally useless "loopback" clock).  The original file gets saved, and is restored once my network connections are
>>terminated.  Needless to say, this does bad things to my system clock.
>>
>>Questions:
>>Is there a way to get the DHCP server to send a valid ntp.conf file?  I was unable to find anything in the Man pages on this. I have admin access to the DHCP servers on two of the networks, so can put this in myself in those
>>cases.
>>If there is not a way to get this file sent from the DHCP server, is it possible to disable this behaviour on a SuSE 8.2 client?
>>
>>Regards,
>>Steve
>>
> 
> Steve,
> 
> Edit /etc/sysconfig/network/dhcp and set DHCLIENT_MODIFY_NTP_CONF to
> DHCLIENT_MODIFY_NTP_CONF="no"
> 
> That should take care of it for you.
> 
> Ed
> 

Hi Ed.

Thanks.

Is it possible to get the DHCP server to serve up an NTP config file for the local network?  I was not able to find anything about this in the DHCP pages, and the fact that SuSE dhcp client modifies this file leads me to 
suspect that there may be a way.

Regards,
Steve

-- 
Java/J2EE Developer/Integrator
Co-Chair, Dallas/FortWorth J2EE Sig
214-724-7741






More information about the Discuss mailing list