[ntp:questions] Why does ntp keep changing my conf file?

Daniel Havey dhavey at yahoo.com
Thu Sep 16 21:59:34 UTC 2010

I want ntpdate, and don't really care about ntpd.  I need an ntp server running on one node, and the other nodes connect to the first node with ntpdate like this:

while [ 1 ];
ntpdate -b $SERVER
ntpdate -b $SERVER
ntpdate -b $SERVER
sleep $RATE

So I think what I would like to do is install an NTP server on one node, verify that it works ;^) and have the others keep in synch with the script.

There are no firewalls between the nodes.  There is a firewall to the outside world but that is not in my control.

--- On Thu, 9/16/10, Rob <nomail at example.com> wrote:

> From: Rob <nomail at example.com>
> Subject: Re: [ntp:questions] Why does ntp keep changing my conf file?
> To: questions at lists.ntp.org
> Date: Thursday, September 16, 2010, 1:04 PM
> Daniel Havey <dhavey at yahoo.com>
> wrote:
> > Did you mean between my testbed and
> ntp.aero.org/dns.aero.org (the servers in my ntp.conf
> file)?  There could be a firewall there but then I
> shouldn't be able to do this:
> > [dhavey at node0 ~]$ sudo ntpdate ntp.aero.org
> > 16 Sep 11:31:08 ntpdate[13121]: adjust time server
> offset 0.017606 sec
> >
> > I don't think it is a firewall issue.
> When you do "ntpdate" it sends from a high port number to
> port 123
> on the timeserver, and the timeserver replies from port 123
> to your
> high port number.
> When you use "ntpd" it sends from port 123 to port 123 on
> your timeserver,
> which replies back to port 123.
> When your firewall or some other firewall in your network
> blocks traffic
> to port 123 or to all low portnumbers, you will find that
> ntpdate works
> ok but ntpd won't.
> _______________________________________________
> questions mailing list
> questions at lists.ntp.org
> http://lists.ntp.org/listinfo/questions


More information about the questions mailing list