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
_______________________________________________
devel mailing list
devel@ntpsec.org
http://lists.ntpsec.org/mailman/listinfo/devel

Reply via email to