[ntp:questions] how to force NTP to use GPS

Richard B. Gilbert rgilbert88 at comcast.net
Sat Feb 11 23:11:30 UTC 2012

On 2/11/2012 4:14 PM, Ron Frazier (NTP) wrote:
> Hi all,
> I now have my USB GPS working at an acceptable level on both Windows and
> Linux using only NTPD. I have the GPS server line set as prefer, but
> there are other server lines which poll the internet. Sometimes, the
> system selects an internet clock rather than my GPS. How do I force NTP
> to use my GPS if it's available, no matter what (within reason). The
> only time I ever want it to select an internet server is if the GPS
> fails or is not plugged in.
> Sincerely,
> Ron

ISTR a "prefer" keyword used to instruct NTPD to use a designated
time source if that source is available.  Other sources configured will 
be used only if the "preferred" source is not available or obviously 
insane.  Or something like that!  It goes in NTPD.CONF   IIRC.

More information about the questions mailing list