[NTLUG:Discuss] DHCP/Ntp.conf issue

Jack Snodgrass jack at jacksnodgrass.com
Wed Oct 29 10:57:09 CST 2003


On Wed, 2003-10-29 at 06:53 -0600, 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?
> 


if you just ant to 'protect' the existing file:
You can try and do a chmod uog-w on the file. 
If that doesn't work, you can use the chattr +i command
to make it really-unwritable. 

if you want to stop the update alltogether look at the dhcpd.conf file
and look for ntp or time 
in there. You're probably specifying a ntp server for clients to use and
your not specifying the
correct info. 

jack






> Regards,
> Steve
> 
> -- 
> Java/J2EE Developer/Integrator
> Co-Chair, Dallas/FortWorth J2EE Sig
> 214-724-7741
> 
> 
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss


More information about the Discuss mailing list