Mike Chirico on 22 Mar 2004 13:43:02 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] ntp...how do I know it's working?


Is there a quick way to find out if ntp is working correctly?

/usr/sbin/ntptime
ntp_gettime() returns code 0 (OK)
  time c4096a01.8c6e4000  Mon, Mar 22 2004  8:34:57.548, (.548557),
  maximum error 963088 us, estimated error 16 us
ntp_adjtime() returns code 0 (OK)
  modes 0x0 (),
  offset 0.000 us, frequency 0.000 ppm, interval 4 s,
  maximum error 963088 us, estimated error 16 us,
  status 0x1 (PLL),
  time constant 0, precision 1.000 us, tolerance 512 ppm,
  pps frequency 0.000 ppm, stability 512.000 ppm, jitter 200.000 us,
  intervals 0, jitter exceeded 0, stability exceeded 0, errors 0.

I'm using the basic configuration ... no keys, no PPS
synchronization...just the basic.  The fact that I got (PLL) for the
status, does this mean everything is ok?  I'm assuming over time the
"stability 512.000 ppm" will decrease and this is a measure I can check
to see if everything is working.

What do you use for your firewall rules?

# 192.5.41.41 is tock.usno.navy.mil
# 128.91.2.13 is timeserver1.upenn.edu
-A INPUT -p udp -s 192.5.41.41 --source-port 123 -m state --state
ESTABLISHED -j ACCEPT
-A INPUT -p udp -s 128.91.2.13 --source-port 123 -m state --state
ESTABLISHED -j ACCEPT

Regards,

Mike Chirico





___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug