[ntp:questions] help with setting up NTP on windows with a USB GPS
jack
j.jack.wang at gmail.com
Mon Nov 30 20:05:59 UTC 2009
I manged to start ntpd by delaying it at bootup. However, when
examining the status by ntpstatus, I can see that the GPS park works
but the PPS source was not updated (with jitter and offset all zero).
If I restart ntpd, everything works. Any idea? I will try to run the
debug version now.
State Remote Refid Stratum Type When Poll Reach Delay Offset Jitter
* 127.127.20.1 GPS 0 Local clock 4 16 377 0.000 -0.208 0.064
PPS(1) PPS 0 Local clock 11 64 0 0.000 0.000 0.000
In ntpd.conf, I have
server 127.127.20.1 minpoll 4 prefer
server 127.127.22.1 minpoll 4
GPS is attached to COM1.
jack
On Nov 30, 11:12 am, Dave Hart <daveh... at gmail.com> wrote:
> On Nov 30, 3:51 pm, jack <j.jack.w... at gmail.com> wrote:
>
> > NTP wouldn't start automatically. The system event log shows that NTP
> > service was started repeatedly (I configured it so it restarts after
> > initial failure) but it shuts down itself (message: NTP service is
> > stopping with no message wrt why). It would stop if I start it
> > manually. However, it will run if I open the serial port with
> > Hyperterminal and the close it without doing anything else). I am
> > very puzzled.
>
> If you download the debug ntpd.exe binary for the same version and
> invoke it from a command prompt with trace logging cranked up, there's
> a good chance the problem will be evident in the last lines of output:
>
> ntpd -g -c \my\ntp.conf -M -D5
>
> Cheers,
> Dave Hart
More information about the questions
mailing list