running without pool or other servers

Gary E. Miller gem at rellim.com
Mon Sep 11 20:11:02 UTC 2017


Yo shouldbe!

On Mon, 11 Sep 2017 15:17:37 +0100
shouldbe q931 <shouldbeq931 at gmail.com> wrote:

> I am attempting to run ntpsec in a "standalone" instance where it is
> only provided time and PPS from a GPS receiver (via gpsd).
> 
> The relevant lines in ntp.conf I have arrived at are
> 
> # GPS PPS reference (NTP1)
> refclock shm unit 1 refid PPS minpoll 0 maxpoll 0
> 
> # GPS Serial data reference (NTP0)
> refclock shm unit 0 prefer minpoll 4 maxpoll 4 time1 +0.118 stratum 1
> refid GPS flag1 1

You are missing prefer on SHM(1).  Otherwise ntpd does not know to prefer
the PPS over the NMEA time.  Some would also add noselect to SHM(0).

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/users/attachments/20170911/5c3f079a/attachment.bin>


More information about the users mailing list