FreeBSD ntpd PPS setup (PPS slave) / 2006-05-01

2006-05-01 FreeBSD ntpd PPS setup (PPS slave) 14 years ago
I set up a new ntp server at work, and it is coupled to the meinberg gps timestandard. The meinberg is a very reliable time source but I don't want to invite the entire Internet to come over and bash it.

So an 'old' (2001) Dell PowerEdge 2550 got repurposed as FreeBSD ntp server. A lot nicer than it's previous role: windows domain controller.

The kernel:

FreeBSD metronoom 5.4-RELEASE-p13 FreeBSD 5.4-RELEASE-p13 #2: Fri Apr 21 16:09:21 UTC 2006 root@metronoom:/usr/obj/usr/src/sys/METRONOOM i386

The special bit in the kernel config is

options         PPS_SYNC                # for ntpd
in devfs.conf I link cuaa0 (first serial port) to pps0, so ntpd can open /dev/pps0 which is for clockdriver 22:
link cuaa0 pps0
And ntp.conf:
# get time from stardate

server 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

Tags: , ,

, reachable as PGP encrypted e-mail preferred.

PGP key 5BA9 368B E6F3 34E4 local copy PGP key 5BA9 368B E6F3 34E4 via keyservers pgp key statistics for 0x5BA9368BE6F334E4 Koos van den Hout
Other webprojects: Camp Wireless, wireless Internet access at campsites, The Virtual Bookcase, book reviews
This page generated in 0.004369 seconds.