[LinuxPPS] 1PPS Atom Ref Clock Not being Polled?

William S. Brasher billb958 at door.net
Wed Jul 22 18:34:19 CEST 2009


On Wed, 22 Jul 2009, K. Connolly wrote:

> 
> Is there anyone on this list with a functioning 1PPS ATOM ref clock 
> combined with a peer server that can paste their ntp version number and 
> config options, and possibly their ntp.conf? (I've found some via the 
> mailing list archives, but obviously they have not worked...).
> 


I decided to test this configuration (PPS ref clock using another box 
instead of the local NMEA driver to disambigulate the time of the pulese) 
and everything seems to work just fine.

root at spectre: # ntpq -p
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
oPPS(0)          .PPS.            1 l    8   16  377    0.000    0.000   0.001
+chronos.q.lan   .PPS.            1 u   45   64  377    0.127    0.016   0.002
 tick.q.lan      .PPS.            1 u   35   64  377    0.097    0.000   0.002


This is a via nano running a 64 bit kernel and software; the kernel is 
linux-2.6.30.2 with the patch ntp-pps-v2.6.30-rc5-bis.diff applied.  I've 
also changed the constant SHIFT_PLL in include/linux/timex.h from 4 to 2.

Ntp is ntp-4.2.4p7 with the patch ntp-4.2.4p7-nano-nmea-pps.patch applied.

It was configured as follows:
 ./configure --prefix=/usr --bindir=/usr/sbin --sysconfdir=/etc 
   --with-binsubdir=sbin --libdir=/usr/lib64 --enable-shared 



The ntp.conf used is:
root at spectre: # cat /etc/ntp.conf

server 127.127.22.0 minpoll 4 maxpoll 4    # PPS clock  refid PPS
fudge 127.127.22.0 flag3 1 flag2 0

server 192.168.48.2 prefer iburst       # chronos

server 192.168.48.18 noselect   # tick

#
# Access controls   
#
restrict default limited        # default limit clients per net
restrict 128.0.0.1              # allow local host
restrict 192.168.48.0 mask 255.255.255.0        # allow q.lan clients  

#
#  Authentication
#
crypto pw alphaqlan             # enable public key
keysdir /etc/ntp.keysdir/       # key files directory

#        
# Miscellaneous stuff
#
enable monitor                  # enable the good stuff
driftfile /var/lib/ntp/drift    # path for drift file
statsdir /var/lib/ntp/stats/    # directory for statistics files
pidfile /var/run/ntpd.pid       # pid file
filegen peerstats file peerstats type day enable
filegen loopstats file loopstats type day enable
filegen clockstats file clockstats type day enable
filegen cryptostats file cryptostats type day enable




More information about the LinuxPPS mailing list