[ntp:questions] Local clock question with dialup connection

Danny Mayer mayer at ntp.isc.org
Mon Apr 16 03:40:34 UTC 2007


Nigel Henry wrote:
> Based on this i'm fairly well stuffed, apart from restarting the daemon when I 
> an reconnected to the Internet with a new dynamic IP address.
> 
> So what I'm looking for is a script that will run when an Internet connection 
> is re-established, and will then do a /etc/init.d/ntp stop, followed by 
> a /etc/init.d/ntp start. Probably too much to ask as it as has to run as 
> root.
> 
> Anyway I'm happy with NTP. If I have to do a few workarounds, that's no big 
> deal.
> 

It should no longer be necessary to do this. NTP 4.2.4 support dynamic
IP addresses of the host and it will find and rebind the receiving
addresses automatically.

Danny



More information about the questions mailing list