Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #181921

Re: NTP.conf pool vs server

From Darac Marjal <mailinglist@darac.org.uk>
Newsgroups linux.debian.user
Subject Re: NTP.conf pool vs server
Date 2017-06-08 14:30 +0200
Message-ID <tQ4JA-4eB-17@gated-at.bofh.it> (permalink)
References <tPJ2q-77i-15@gated-at.bofh.it> <tPKhP-7Rr-5@gated-at.bofh.it> <tPKBf-7Z0-79@gated-at.bofh.it> <tPSfs-4Fa-121@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Wed, Jun 07, 2017 at 07:00:52PM -0400, Gene Heskett wrote:
>On Wednesday 07 June 2017 10:54:26 Darac Marjal wrote:
>
>> On Wed, Jun 07, 2017 at 10:35:23AM -0400, Gene Heskett wrote:
>> >On Wednesday 07 June 2017 08:56:59 ray wrote:
>> >> I would like to know the correct syntax for entering a server entry
>> >> for stretch.
>> >>
>> >> All the documentation I find says to list the ntp servers in the
>> >> file as: server 0.XX.pool.ntp.org
>> >> server 1.XX.pool.ntp.org
>> >>
>> >> An example source from 2017 is https://wiki.debian.org/DateTime
>> >>
>> >> When I open /etc/ntp.conf on my new stretch installation, I find
>> >> this format: pool 0.debian.pool.ntp.org iburst
>> >> pool 1.debian.pool.ntp.org iburst
>> >>
>> >> The latest Debian doc says to start the line with 'server'.
>> >> The latest Debian implementation starts the line with 'pool'.
>> >>
>> >> Are these interchangeable?
>>
>> As I understand it "server" will do name resolution once and pick an
>> IP from the result. "pool" will periodically refresh the name and
>> cycle to a different member of the pool.
>>
>> >> Additionally, there is a parameter 'iburst' which I did not find in
>> >> the Debian docs but found at http://doc.ntp.org/4.1.1/confopt.htm
>>
>> Did you install ntp-doc? Did you check there?
>
>I haven't gotten around to checking that, its on a raspberry pi3b, which
>has a fan on its heat sinks, but isn't terribly stable, I've locked it
>up tight at least a dozen times so far today with my horsing around.
>
>But I did appear to get ntp to do its job, by adding "server " in front
>of the fqdn's in /etc/ntp.conf.
>
>[...]
>
>Now, if I could just make it use the routers broadcasts. Or could at
>least prove it is broadcasting. Yes it is, I caught a broadcast at
>xx.xx.xx.255:

Apparently, the word "broadcastclient" in ntp.conf is what you want:

  broadcastclient
	Enable reception of broadcast server messages to any local interface
	(type	b address). Ordinarily, upon receiving a broadcast message
	for the first time, the broadcast client measures the nominal server
	propagation delay using a brief client/server exchange, after which
	it continues in listen-only mode. If a nonzero value is specified in
	the broadcastdelay command, the value becomes the delay and the
	volley is not executed. Note: the novolley option has been
	deprecated for future enhancements. Note that, in order to avoid
	accidental or malicious disruption in this mode, both the server and
	client should operate using symmetric key or public key
	authentication as described in the Authentication Options page. Note
	that the volley is required with public key authentication in order
	to run the Autokey protocol.

This information IS in the ntp.conf manpage, and fairly apparent if
searching that for the work "broadcast".

>
>14:16:14.760909 IP coyote.coyote.den.ntp > xx.xx.xx.255.ntp: NTPv4,
>Broadcast, length 48
>
>So it is broadcasting. Now the trick is to make the rest of my machines
>use it.  Hints & examnples welcomed.
>
>And I did install ntp-doc just now. A wee bit more verbose, but still no
>examples.
>
>Cheers, Gene Heskett
>-- 
>"There are four boxes to be used in defense of liberty:
> soap, ballot, jury, and ammo. Please use in that order."
>-Ed Howdershelt (Author)
>Genes Web page <http://geneslinuxbox.net:6309/gene>
>

-- 
For more information, please reread.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

NTP.conf   pool vs server ray <ray@aarden.us> - 2017-06-07 15:20 +0200
  Re: NTP.conf   pool vs server Greg Wooledge <wooledg@eeg.ccf.org> - 2017-06-07 15:30 +0200
    Re: NTP.conf   pool vs server Gene Heskett <gheskett@shentel.net> - 2017-06-07 16:50 +0200
  Re: NTP.conf   pool vs server Gene Heskett <gheskett@shentel.net> - 2017-06-07 16:40 +0200
    Re: NTP.conf   pool vs server Greg Wooledge <wooledg@eeg.ccf.org> - 2017-06-07 17:00 +0200
    Re: NTP.conf   pool vs server Darac Marjal <mailinglist@darac.org.uk> - 2017-06-07 17:00 +0200
      Re: NTP.conf   pool vs server Greg Wooledge <wooledg@eeg.ccf.org> - 2017-06-07 17:10 +0200
        Re: NTP.conf pool vs server Joshua Schaeffer <jschaeffer0922@gmail.com> - 2017-06-07 17:30 +0200
          Re: NTP.conf pool vs server Greg Wooledge <wooledg@eeg.ccf.org> - 2017-06-07 17:50 +0200
        Re: NTP.conf   pool vs server Henrique de Moraes Holschuh <hmh@debian.org> - 2017-06-07 18:10 +0200
      Re: NTP.conf   pool vs server Darac Marjal <mailinglist@darac.org.uk> - 2017-06-07 17:20 +0200
      Re: NTP.conf   pool vs server Gene Heskett <gheskett@shentel.net> - 2017-06-08 01:10 +0200
        Re: NTP.conf   pool vs server Darac Marjal <mailinglist@darac.org.uk> - 2017-06-08 14:30 +0200
          Re: https_port "Adiel Plasencia Herrera" <adielp@estereocentro.icrt.cu> - 2017-06-08 14:50 +0200
            Re: https_port Darac Marjal <mailinglist@darac.org.uk> - 2017-06-08 15:30 +0200
              Re: https_port Henrique de Moraes Holschuh <hmh@debian.org> - 2017-06-08 17:00 +0200
                Re: https_port "Adiel Plasencia Herrera" <adielp@estereocentro.icrt.cu> - 2017-06-08 17:20 +0200
                Re: https_port Darac Marjal <mailinglist@darac.org.uk> - 2017-06-08 17:30 +0200
                Re: https_port Greg Wooledge <wooledg@eeg.ccf.org> - 2017-06-08 17:40 +0200
                Re: https_port Darac Marjal <mailinglist@darac.org.uk> - 2017-06-08 17:50 +0200
                Re: https_port "Adiel Plasencia Herrera" <adielp@estereocentro.icrt.cu> - 2017-06-08 18:00 +0200
                Re: https_port Jim Ohlstein <jim@mailman-hosting.com> - 2017-06-08 19:10 +0200
                Re: https_port Charlie Kravetz <cjk@teamcharliesangels.com> - 2017-06-09 16:40 +0200
                Reply-to-all or reply-to-list again (was: https_port) Nicolas George <george@nsup.org> - 2017-06-09 16:50 +0200
                Re: Reply-to-all or reply-to-list again (was: https_port) Fungi4All <fungilife@protonmail.com> - 2017-06-09 17:20 +0200
                Re: Reply-to-all or reply-to-list again The Wanderer <wanderer@fastmail.fm> - 2017-06-09 17:20 +0200
                Re: Reply-to-all or reply-to-list again Nicolas George <george@nsup.org> - 2017-06-09 18:00 +0200
                Re: Reply-to-all or reply-to-list again The Wanderer <wanderer@fastmail.fm> - 2017-06-09 21:20 +0200
                Re: Reply-to-all or reply-to-list again Joel Rees <joel.rees@gmail.com> - 2017-06-10 04:20 +0200
                Re: Reply-to-all or reply-to-list again Fungi4All <fungilife@protonmail.com> - 2017-06-10 16:00 +0200
                Re: Reply-to-all or reply-to-list again Joel Rees <joel.rees@gmail.com> - 2017-06-10 16:30 +0200
                Re: Reply-to-all or reply-to-list again Fungi4All <fungilife@protonmail.com> - 2017-06-10 18:00 +0200
                Re: Reply-to-all or reply-to-list again (was: https_port) Gene Heskett <gheskett@shentel.net> - 2017-06-09 17:30 +0200
          Re: NTP.conf   pool vs server Gene Heskett <gheskett@shentel.net> - 2017-06-08 16:10 +0200
    Re: NTP.conf   pool vs server John Hasler <jhasler@newsguy.com> - 2017-06-07 18:10 +0200
      Re: NTP.conf   pool vs server Brian <ad44@cityscape.co.uk> - 2017-06-07 18:30 +0200
        Re: NTP.conf   pool vs server David Wright <deblis@lionunicorn.co.uk> - 2017-06-11 18:00 +0200
          Re: NTP.conf   pool vs server Brian <ad44@cityscape.co.uk> - 2017-06-11 19:30 +0200
      Re: NTP.conf   pool vs server Teemu Likonen <tlikonen@iki.fi> - 2017-06-08 08:40 +0200
        Re: NTP.conf   pool vs server Curt <curty@free.fr> - 2017-06-08 09:20 +0200
        Re: NTP.conf   pool vs server Gene Heskett <gheskett@shentel.net> - 2017-06-08 15:40 +0200
    Re: NTP.conf   pool vs server Jim Ohlstein <jim@mailman-hosting.com> - 2017-06-07 18:40 +0200
  Re: NTP.conf   pool vs server Kushal Kumaran <kushal@locationd.net> - 2017-06-07 17:00 +0200

csiph-web