[ale] NTP...

Michael B. Trausch fd0man at gmail.com
Mon Apr 24 15:32:41 EDT 2006


On Mon April 24 2006 11:13, Joe Steele wrote:
>
> Your invocation of ntpq has told you nothing about the status of *your*
> computer.  Instead, you have asked ntpq to query 4 other servers and
> report on their status/peers.  Since they are all stratum 1 servers,
> they have no peers, their clocks are all sync'd to "LOCAL", and they
> have no delay, offset, or jitter.  Nonetheless, the one useful thing
> it's telling you is that you are able to talk with these remote servers,
> at least when the source UDP port is an unprivileged  port (which is
> what ntpq uses).  Therefore, someone else's suggestion that you try the
> "-u" option with ntpdate is a good idea.  You might also try using
> ethereal to confirm that bidirectional communication is occurring.
>
> FYI, the status of your computer would be obtained with "ntpq -c pee"
> (the default host is then localhost).  However, this assumes that ntpd
> is already running on localhost (otherwise, ntpq will complain about
> "connection refused").
>

Okay, well, here's something interesting:

root at cinnamon:~# ntpdate -u pool.ntp.org
24 Apr 15:08:45 ntpdate[9163]: step time server 64.136.200.96 
offset -5.162111 sec
root at cinnamon:~# ntpdate -u pool.ntp.org
24 Apr 15:08:54 ntpdate[9164]: adjust time server 64.136.200.96 
offset -0.000806 sec
root at cinnamon:~# ntpdate -u pool.ntp.org
24 Apr 15:08:58 ntpdate[9165]: adjust time server 64.136.200.96 
offset -0.000766 sec

So, that seems to work.  Now, however, I have to wonder how to get the rest 
of it working.

It *looks like* (yet again, I'm kind of stabbing in the dark) I cannot get 
things going.  Somebody else (Bj?rn Gustafsson) suggested something about 
authentication keys?

Might that be why I'm getting the following?

ntpq> lassociations

ind assID status  conf reach auth condition  last_event cnt
===========================================================
  1 11372  8000   yes   yes  none    reject
  2 11373  8000   yes   yes  none    reject
  3 11374  8000   yes   yes  none    reject
  4 11375  8000   yes   yes  none    reject
  5 11376  8000   yes   yes  none    reject
  6 11377  8000   yes   yes  none    reject
  7 11378  8000   yes   yes  none    reject
ntpq> lopeers
     remote           local      st t when poll reach   delay   offset    
disp
==============================================================================
 ntp3.usv.ro     192.168.0.100   16 u    -   64    0    0.000    0.000 
4000.00
 Time20.Stupi.SE 192.168.0.100   16 u    -   64    0    0.000    0.000 
4000.00
 c-24-91-98-32.h 192.168.0.100   16 u    -   64    0    0.000    0.000 
4000.00
 dsl081-199-165. 192.168.0.100   16 u    -   64    0    0.000    0.000 
4000.00
 cuba.esysmail.c 192.168.0.100   16 u    -   64    0    0.000    0.000 
4000.00
 zoiedog.com     192.168.0.100   16 u    -   64    0    0.000    0.000 
4000.00
 d57-69-157.home 192.168.0.100   16 u    -   64    0    0.000    0.000 
4000.00
ntpq>

	- Mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available




More information about the Ale mailing list