📄 bsdi
字号:
hints/bsdiAuthor: Bdale Garbee, bdale@gag.comLast revision: 27Oct94 (Paul Vixie)Included in this distribution of XNTP is a configuration file suitablefor use with BSDI's BSD/OS 1.1 (formerly BSD/386 1.1). On this system,the "cc" command is GCC 1.4x rather than PCC or GCC 2.x. It is imperativethat "cc" be used since it predefines the symbol __bsdi__; if you want touse another compiler you will need to add -D__bsdi__ to catch the various#ifdef's required for this system.The Kinemetrics/Truetime GPS-TM/TMD driver is known to work on this system.The GPS-805 and GOES should also work fine. Hell, they should all work finebut it's hard to test very many locally.Due to BNR2's strict interpretation of POSIX and XNTP's use of SIGIO, BSD/OScan only handle one refclock per daemon. We're working this out with thesystem architects.The config file is machine/bsdi, and the following steps should be all thatare required to install and use the bits.Note that you will need GNU sed; the version supplied with BSD/OS 1.1 loopsendlessly during "make refconf". Likewise you should get GNU make, whichthe instructions below assume that you have put in /usr/local/bin/gnumake.To build the software: rm -f Config.local gnumake refconf gnumake MAKE=gnumakeTo install the software: gnumake install This will place all of the executables in /usr/local/etc. The config file is expected to be /usr/local/etc/xntp.conf and the key file for the optional authentication is /etc/ntp.keys. Craft a config file and a key file, and put them in the right places. There is information on how to do this elsewhere in the documentation, the only thing I'll mention is that I put the drift file in /var/log/ntp.drift, and the authdelay on my 486DX/50 system is 0.000064. Your mileage will vary, learn to use the authspeed tools if you're going to authenticate. In the file /etc/rc.local, make sure that the invocation of ntpd is commented out, and add an invocation of xntpd. Here's what I'm using: echo -n 'starting local daemons:' if [ -f /etc/ntp.keys -a -f /usr/local/etc/xntp.conf ]; then echo -n ' xntpd'; /usr/local/etc/xntpd fi #XXX# echo -n ' ntpd'; /usr/libexec/ntpd -tAt this point, you should be good to go. Try running /usr/local/etc/xntpd andusing ntpq or xntpdc to see if things are working, then pay attention the nexttime you reboot to make sure that xntpd is being invoked, and use ntpq orxntpdc again to make sure all is well. Enjoy!
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -