1 Aug 2004 01:19
Re: Looking for ntp/PPS setup guide
Kevin Oberman <oberman <at> es.net>
2004-07-31 23:19:08 GMT
2004-07-31 23:19:08 GMT
> Date: Sat, 31 Jul 2004 14:46:27 -0600 (MDT) > From: "M. Warner Losh" <imp <at> bsdimp.com> > > In message: <20040730000205.E834A5D09 <at> ptavv.es.net> > "Kevin Oberman" <oberman <at> es.net> writes: > : > From: Gregory Bond <gnb <at> itga.com.au> > : > Date: Fri, 30 Jul 2004 09:38:32 +1000 > : > Sender: owner-freebsd-stable <at> freebsd.org > : > > : > > : > We've got a GPS receiver to make an NTP server, and it has PPS output. > : > Is there a guide to how to set up PPS on recent (4.10-ish) FreeBSD > : > boxes? Or I can put it on a 5.x box if that is better. I've had a > : > look in all the obvious places but the only references I can find are > : > to old (load a line discipline or patch a kernel) solutions. > : > : I'd suggest the documentation at www.ntp.org, but it has a few errors > : and lacks a bit of FreeBSD specific bits. > : > : First off, you will need to rebuild ntpd with the appropriate reference > : clocks, pps and whatever type of GPS you have. The software is in > : /usr/src/contrib/ntp/ntpd. You can look at the list of clock drivers and > : pick the one you need. If you look at the driver source, you will see > : that REFCLOCK and a driver specific variable need to be defined. > : > : Go to /usr/src/usr.sbin/ntp/ntpd and rebuild ntpd with the clock driver: > : make clean > : make -DREFCLOCK -DCLOCK_yourclock > : make install > :(Continue reading)

Which is one reason why there is twiki.ntp.org .
H
_______________________________________________
freebsd-stable <at> freebsd.org mailing list
RSS Feed