RE: How to stop dhclient from updating ntp settings...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: How to stop dhclient from updating ntp settings...
My RH 8.0 box is moved between subnets, and I've manually edited my /etc/ntp.conf file to include multiple time servers: 
 
[/etc/ntp.conf snip...]
# --- OUR TIMESERVERS -----
# or remove the default restrict line
# Permit time synchronization with our time source, but do not
# permit the source to query or modify the service on this system.
 
# restrict mytrustedtimeserverip mask 255.255.255.255 nomodify notrap noquery
# server mytrustedtimeserverip
server 129.6.15.28
server 129.6.15.29
server 192.43.244.18
[...snip]
When my dhclient renews/changes it's lease, it doesn't seem to change the /etc/ntp.conf file at all. 
 
What exactly is happening to your ntp configuration?  Is it possible that your DHCP server's scope is populating the NTP time source settings? 
 
- Christopher
-----Original Message-----
From: Thomas V. Fischer [mailto:tvfischer_l@xxxxxxxxxxxxxx]
Sent: Thursday, January 29, 2004 12:09 AM
To: redhat-list@xxxxxxxxxx
Subject: How to stop dhclient from updating ntp settings...

Hey all,

I have RH9 installed on a Laptop. I move around offices a lot and rely heavily on dhcp. My problem is that the dhclient is continuously changing the settings for the ntp(time server) client settings.
I want to fix the ntp server address and not allow it to change. I have tried setting up a dhclient.conf file in /etc with a supercede element but it doesn't seem to work!

Any ideas...

T

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux