Oh GACK! src-clean doesn't quite work that easily since cleandist rebuilds the
[unix-history] / contrib / xntpd / hints / bsdi
CommitLineData
09169146
GW
1README.bsdi
2
3Author: Bdale Garbee, bdale@gag.com
4Last revision: 16 July 1993
5
6Included in this distribution of XNTP is a configuration file suitable
7for use with the BSDI BSD/386 operation system. It has been tested against
8the version 1.0 "production release", but should work with any 0.9.X "gamma
9release" version if anyone still cares. I'm using the stock gcc provided
10with the OS.
11
12[ As the pmake is badly broken on these systems at the time of this writing
13 the only way to compile is to call make like this "make -e MAKE=make [target]"
14 - Frank Kardel - 93/12/3 ]
15
16To date, I haven't used this with any hardware clocks, but I will probably
17get around to trying a Spectracom WWVB receiver at some point, and I'm hacking
18on an interface for the Rockwell Navcore 5 GPS widget in my "copious spare
19time".
20
21The config file is Config.bsdi, and the following steps should be all that
22are required to install and use the bits.
23
24To build the software:
25
26 rm -f Config.local
27 make refconf
28 make
29
30To install the software:
31
32 make install
33
34 This will place all of the executables in /usr/local/etc. The config
35 file is expected to be /usr/local/etc/xntp.conf and the key file for
36 the optional authentication is /etc/ntp.keys.
37
38 Craft a config file and a key file, and put them in the right places.
39 There is information on how to do this elsewhere in the documentation,
40 the only thing I'll mention is that I put the drift file in
41 /var/log/ntp.drift, and the authdelay on my 486DX/50 system is
42 0.000064. Your mileage will vary, learn to use the authspeed tools
43 if you're going to authenticate.
44
45 In the file /etc/rc.local, make sure that the invocation of ntpd is
46 commented out, and add an invocation of xntpd. Here's what I'm using:
47
48 echo -n 'starting local daemons:'
49
50 if [ -f /etc/ntp.keys -a -f /usr/local/etc/xntp.conf ]; then
51 echo -n ' xntpd'; /usr/local/etc/xntpd
52 fi
53
54 #XXX# echo -n ' ntpd'; /usr/libexec/ntpd -t
55
56At this point, you should be good to go. Try running /usr/local/etc/xntpd and
57using ntpq or xntpdc to see if things are working, then pay attention the next
58time you reboot to make sure that xntpd is being invoked, and use ntpq or
59xntpdc again to make sure all is well.
60
61Enjoy!