| 1 | README.bsdi |
| 2 | |
| 3 | Author: Bdale Garbee, bdale@gag.com |
| 4 | Last revision: 16 July 1993 |
| 5 | |
| 6 | Included in this distribution of XNTP is a configuration file suitable |
| 7 | for use with the BSDI BSD/386 operation system. It has been tested against |
| 8 | the version 1.0 "production release", but should work with any 0.9.X "gamma |
| 9 | release" version if anyone still cares. I'm using the stock gcc provided |
| 10 | with 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 | |
| 16 | To date, I haven't used this with any hardware clocks, but I will probably |
| 17 | get around to trying a Spectracom WWVB receiver at some point, and I'm hacking |
| 18 | on an interface for the Rockwell Navcore 5 GPS widget in my "copious spare |
| 19 | time". |
| 20 | |
| 21 | The config file is Config.bsdi, and the following steps should be all that |
| 22 | are required to install and use the bits. |
| 23 | |
| 24 | To build the software: |
| 25 | |
| 26 | rm -f Config.local |
| 27 | make refconf |
| 28 | make |
| 29 | |
| 30 | To 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 | |
| 56 | At this point, you should be good to go. Try running /usr/local/etc/xntpd and |
| 57 | using ntpq or xntpdc to see if things are working, then pay attention the next |
| 58 | time you reboot to make sure that xntpd is being invoked, and use ntpq or |
| 59 | xntpdc again to make sure all is well. |
| 60 | |
| 61 | Enjoy! |