Update the HowTo

Sanjeev Gupta ghane0 at gmail.com
Mon Jan 9 09:24:42 UTC 2017


https://www.ntpsec.org/white-papers/stratum-1-microserver-howto/

can we update the sample ntp.conf there, with the comments in Gary Miller's
email a few hours ago.

I have seen this advice before, yet people list SHM0 before SHM1 (because
it 0 comes before 1, so there).

(BTW, the white-papers/ directory is not in the website git repository).

> /etc/ntp.conf:
>
> # GPS Serial data reference (NTP0)
> *refclock shm unit 0 time1 0.120 refid GPS*

You want that LAST in the file.  On startup ntpd prefers reflocks
at the top of the file, and you do not want to prefer SHM(0) it is
your worst source.

And make the time1 a lot bigger, or add noselect. 0.120 is way too small
for the reasons noted above.

> # GPS PPS reference (NTP1)
> refclock shm unit 1 refid PPS prefer

Should be at the top of the file so it gets tried first.
-- 
Sanjeev Gupta
+65 98551208     http://www.linkedin.com/in/ghane
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20170109/488833fe/attachment.html>


More information about the devel mailing list