[ntp:questions] FreeBSD PPS setup (was Re: PPS Driver -- getting wrong REFID and stratum when peer isn't local refclock)

Koos van den Hout koos at cs.uu.nl
Wed Apr 26 14:40:52 UTC 2006

Followup to self, as stuff got working.

Koos van den Hout <koos at cs.uu.nl> wrote:

> I'm trying to do almost the same and no luck yet on the PPS bit.

It's working now. Good ntp time takes time (pun intended).

relevant part of kernel config:

options         PPS_SYNC                # for ntpd

relevant part of devfs.conf:

link cuaa0 pps0

(indeed, the PPS cable hangs of carrier detect on /dev/cuaa0)


# get time from stardate

server stardate.cs.uu.nl prefer iburst

driftfile /var/ntp/ntp.drift

# fudge a local clock at stratum 10

fudge stratum 10

# talk pps

enable pps kernel auth

#  minpoll 4 maxpoll 4 version 4
fudge flag3 1
fudge refid PPS

# access restrictions . localhost and staff can check everything. rest can
# get the time

restrict mask
restrict default kod notrap nopeer noquery

keys /etc/ntp.keys
trustedkey 3

# moeltiepaas!

broadcast ttl 2 key 3

# announce policy

setvar access_policy="experimental server not suitable for production" default

stardate is our meinberg gps clock. A very accurate clock, but we're not
going to let it be accessible from the Internet at large. A good stratum 2
server is much better.


Koos van den Hout koos at cs.uu.nl PGP keyid 0x27513781 (Use PGP!)
Phone +31-30-2534104    Fax +31-30-2513791            http://idefix.net/~koos/
Virtual Bookcase, book reviews and news http://www.virtualbookcase.com/
Camp Wireless, wireless Internet access at campsites http://camp-wireless.org/

More information about the questions mailing list