[time-nuts] Oncore UT+ and NTP configuration

Bruce Griffiths bruce.griffiths at xtra.co.nz
Thu Jan 21 23:15:05 UTC 2010


Brendan Minish wrote:
> Hello All
>
> I have a little NTP server based on this project
> it's running nanoBSD (FreeBSD 7.0-RC1)
> NTP ver  ntpd 4.2.0-a
>
> GPS module is now an oncore UT+
>
> I have had this device running happily for a couple of years with a GT
> in NMEA mode but I am having issues with configuring the oncore driver,
> it's not being used by NTP although ntpd now starts and does create the
> SHMEM file in
> /var/log/oncore.0
>
> I can fiddle things by using a 'preferred' NTP server on the net for
> coarse time and the elan pps driver for precision time but I would much
> rather use the oncore driver directly
>
>
> I have done the following
>
> 1/ symlinks in place,  (I have also tried linking oncore.pps.0
> to /dev/cuad1 which seems more correct ?)
>
> lrwxr-xr-x  1 root  wheel            9 Jan 21 22:09 oncore.pps.0 ->  /dev/pps0
> lrwxr-xr-x  1 root  wheel           10 Jan 21 22:09 oncore.serial.0 ->  /dev/cuad1
> lrwxr-xr-x  1 root  wheel           14 Jan 21 20:53 pps0 ->  /dev/elan-mmcr
>
> 2/ /etc/ntp.oncore file created
>
> # cat /etc/ntp.oncore
> MODE 3
> LAT 53 50.45830
> LON -9 22.413336
> HT 102.44 M
> SHMEM /var/log/oncore.0
> DELAY 20 NS
> MASK 5
>
>
> 3/ enabled the oncore driver in ntp.conf, relevant bits look like this,
> I have tried with the elan PPS driver enabled then disabled, but it
> should work ok with it on right?
>
> #Moto Oncore
> server 127.127.30.0 minpoll 4 maxpoll 4
>
>
> # PPS Disabled for now
> #server 127.127.22.0 minpoll 4 maxpoll 4
> #fudge 127.127.22.0 stratum 0
>
>
> What else am I forgetting to do, looking at my scope starting ntpd does
> not appear to be initialising the oncore at start-up since I would then
> expect it's PPS output to jump or move relative to my frequency
> standard
>
> some suggestions would be most appreciated.
>
>    
The link

lrwxr-xr-x  1 root  wheel            9 Jan 21 22:09 oncore.pps.0 ->  /dev/pps0

should be:

lrwxr-xr-x  1 root  wheel            9 Jan 21 22:09 oncore.pps.0 ->  /dev/cuad1

The link

lrwxr-xr-x  1 root  wheel           14 Jan 21 20:53 pps0 ->  /dev/elan-mmcr

requires that the PPS be routed to a GPIO pin plus the timer pin.
If you haven't done this it isnt required and the standard oncore driver will be used.

Bruce






More information about the Time-nuts_lists.febo.com mailing list