[ntp:questions] Re: How to set up a windows 2000 workstation as a NTP time server.

David J Taylor david-taylor at blueyonder.co.uk.not-this-bit
Thu Jan 22 10:04:01 UTC 2004


> Now, Why it is not correcting the time just by running ntpd?
> How frequently it (ntpd) synchronize the time with the time
> server specified in ntp.conf?
> I know there must be a way to change those parameters.. but
> I couldn't to find out. If it needs more parameters in
> ntp.conf to achive the automatic time synchronization ..
> please guide me through also the frequency of synchronization.

You need to start by ensuring that you box running ntpd against the
external sources is synchronising correctly.  Did you stop the Win32Time
service?  If not, then you have two services trying to sync your PC, and
they will conflict with each other.

The best check is with ntpq.  Leave your system running for a couple of
hours, and then try a command like: ntpq -p <your server name>

C:\NTP>ntpq -p myserver
     remote           refid      st t when poll reach   delay   offset
jitter
==========================================================================
====
*ntp0.isp.com    .1PPS.           1 u  549 1024  377   27.861    0.693
0.618
+ntp1.isp.com    .1PPS.           1 u  548 1024  377   26.779    1.295
1.089

The key things here are:

"*" against one of the remote servers means that is the chosen sync source

poll - 1024 - means that the remote is being queried once every 1024
seconds, the normal for a stable system

reach - 377 - means 100% connectivity with the remote source (it's an
octal value)

Your value of poll (256) suggests that ntpd hasn't yet reached stability.

Your reach values (340 200) means there has been no contact with the
server for the last few poll intervals.

Your values of delay (290 310) suggest the servers are two satellite hops
away - could you not find nearer ones?

This is just a starting point.  I am not an expert on this, but I am more
Windows biased than many of the group members.  I am surprised no-one else
has jumped in, quite honestly.

Cheers,
David





More information about the questions mailing list