NTP服务器和客户端的设置及使用(EN版)
作者: 来源: 发布日期:2007-8-30 11:24:36 点击次数:
2. Setting up an NTP server
1. Copy over /etc/inet/ntp.server to /etc/inet/ntp.conf
# cp /etc/inet/ntp.server /etc/inet/ntp.conf
2. Edit ntp.conf file
I have added lots of comments in this file for clarification. Default file does not have many comments.
#----- start of ntp.conf file --------------------- # @(#)ntp.server 1.4 97/05/05 SMI # # /etc/inet/ntp.server # # An example file that could be copied over to /etc/inet/ntp.conf
and # edited; it provides a configuration template for a server that # listens to an external hardware clock, synchronizes the local
clock, # and announces itself on the NTP multicast net. # # SEE RFC 1305 ON FOLLOWING CLOCK DEVICES: # This is the external clock device. The following devices are # recognized by xntpd 3.4y: # # XType Device Name Description # ------------------------------------------------------- # 1 (none) LOCAL Undisciplined Local Clock # 2 trak GPS_TRAK TRAK 8820 GPS Receiver # 3 pst WWV_PST PSTI/Traconex WWV/WWVH Receiver # 4 wwvb WWVB_SPEC Spectracom WWVB Receiver # 5 goes GPS_GOES_TRUE TrueTime GPS/GOES Receivers # 6 irig IRIG_AUDIO IRIG Audio Decoder # 7 chu CHU Scratchbuilt CHU Receiver # 8 refclock- GENERIC Generic Reference Clock Driver # 9 gps GPS_MX4200 Magnavox MX4200 GPS Receiver # 10 gps GPS_AS2201 Austron 2201A GPS Receiver # 11 omega OMEGA_TRUE TrueTime OM-DC OMEGA Receiver # 12 tpro IRIG_TPRO KSI/Odetics TPRO/S IRIG Interface # 13 leitch ATOM_LEITCH Leitch CSD 5300 Master Clock
Controller # 14 ees MSF_EES EES M201 MSF Receiver # 15 gpstm GPS_TRUE TrueTime GPS/TM-TMD Receiver # 17 datum GPS_DATUM Datum Precision Time System # 18 acts NIST_ACTS NIST Automated Computer Time Service
|