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

2006-05-01 FreeBSD ntpd PPS setup (PPS slave)
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: , ,

IPv6 check

Running test...
, reachable as PGP encrypted e-mail preferred. PGP key 5BA9 368B E6F3 34E4 local copy PGP key 5BA9 368B E6F3 34E4 via keyservers

Meningen zijn die van mezelf, wat ik schrijf is beschermd door auteursrecht. Sommige publicaties bevatten een expliciete vermelding dat ze ongevraagd gedeeld mogen worden.
My opinions are my own, what I write is protected by copyrights. Some publications contain an explicit license statement which allows sharing without asking permission.
Other webprojects: Camp Wireless, wireless Internet access at campsites, The Virtual Bookcase, book reviews
This page generated by $Id: newsitem.cgi,v 1.57 2022/02/15 21:48:18 koos Exp $ in 0.008946 seconds.