[ntp:questions] Re: PPS working or not? FreeBSD 5.4

John Pettitt jpp at cloudview.com
Sun Jan 29 22:03:42 UTC 2006


Harlan Stenn wrote:
>>>> In article <LY8Df.11489$wl.11104 at text.news.blueyonder.co.uk>, "David J Taylor" <david-taylor at blueyonder.co.not-this-bit.nor-this-part.uk.invalid> writes:
> 
> John> 5) [Make sure] you have "options PPS_SYNC" in your kernel config
> 
> David> 5 - I have not done that explicity.  How could I check that, and
> David> change it if required?  It's been 10+ years since I ran UNIX.
> 
> Assuming an x86 box, put the following in /usr/src/sys/i386/conf/PPS:
> 
> #
> # PPS -- Generic kernel configuration file for FreeBSD/i386 PPS
> #
> 
> include GENERIC
> 
> ident		PPS-GENERIC
> 
> options 	PPS_SYNC
> 
> and then add the following line to /etc/make.conf:
> 
> KERNCONF=    PPS GENERIC
> 
> (Assuming you want "cd /usr/src && make buildkernel installkernel) to build
> both kernels and only install the PPS kernel).
> 
> I also add the lines:
> 
> link	cuaa1	refclock-0
> link    cuaa1   pps0
> 
> to the end of /etc/devfs.conf, and *sometimes* it looks like those links are
> not created soon enough in the boot sequence, but it's sporadic and I have
> not had time to chase it down yet.
> 
> H

I'm using ttyd0 on my box and I added the link creation to the rc.d script that launches ntpd which
seems to work fine on my two stratum 1 boxes.

Today's adventure is going to be getting the WWV[H] receiver working with FreeBSD - if anybody has
any tips I'd love to hear them.

John




More information about the questions mailing list