#----------------------------------------------------------------------------- # /etc/config.d/ntp - configuration for ntp services on EIS/FAIR # # Copyright (c) 2003-2004 Albert Steiner # Copyright (c) 2005-2024 The Eisfair Team, team(at)eisfair(dot)org # # Creation: 27.12.2003 as # Last Update: $Id$ # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. #----------------------------------------------------------------------------- #----------------------------------------------------------------------------- # NTP configuration #----------------------------------------------------------------------------- START_NTP='no' # use ntp: yes or no #----------------------------------------------------------------------------- # Clock types # # NTP_CLOCK_#_TYPE # | # | Comprehensive list of clock drivers # 1 Type 1 - undisciplined local clock (LOCAL) # 2 Type 2 - Trak 8820 GPS receiver (GPS_TRAK) # 3 Type 3 - PSTI/Traconex 1020 WWV/WWVH receiver (WWV_PST) # 4 Type 4 - Spectracom WWVB and GPS receivers (WWVB_SPEC) # 5 Type 5 - TrueTime GPS/GOES/OMEGA receivers (TRUETIME) # 6 Type 6 - IRIG audio decoder (IRIG_AUDIO) # 7 Type 7 - radio CHU audio demodulator/decoder (CHU) # Type 8 - generic reference driver (PARSE) # 8 0 * server 127.127.8.0-3 mode 0 # Meinberg PZF535/PZF509 receiver (FM demodulation/TCXO / 50us) # 8 1 * server 127.127.8.0-3 mode 1 # Meinberg PZF535/PZF509 receiver (FM demodulation/OCXO / 50us) # 8 2 * server 127.127.8.0-3 mode 2 # Meinberg DCF U/A 31/DCF C51 receiver (AM demodulation / 4ms) # 8 3 * server 127.127.8.0-3 mode 3 # ELV DCF7000 (sloppy AM demodulation / 50ms) # 8 4 * server 127.127.8.0-3 mode 4 # Walter Schmid DCF receiver Kit (AM demodulation / 1ms) # 8 5 * server 127.127.8.0-3 mode 5 # RAW DCF77 100/200ms pulses (Conrad DCF77 receiver module / 5ms) # 8 6 * server 127.127.8.0-3 mode 6 # RAW DCF77 100/200ms pulses (TimeBrick DCF77 receiver module / 5ms) # 8 7 * server 127.127.8.0-3 mode 7 # Meinberg GPS166/GPS167 receiver (GPS / <<1us) # 8 8 * server 127.127.8.0-3 mode 8 # IGEL clock # 8 9 * server 127.127.8.0-3 mode 9 # Trimble SVeeSix GPS receiverTAIP protocol (GPS / <<1us) # 8 10 * server 127.127.8.0-3 mode 10 # Trimble SVeeSix GPS receiver TSIP protocol (GPS / <<1us) (no kernel support yet) # 8 11 * server 127.127.8.0-3 mode 11 # Radiocode Clocks Ltd RCC 8000 Intelligent Off-Air master clock support # 8 12 * server 127.127.8.0-3 mode 12 # HOPF Funkuhr 6021 # 8 13 * server 127.127.8.0-3 mode 13 # Diem's Computime radio clock # 8 14 * server 127.127.8.0-3 mode 14 # RAWDCF receiver (DTR=high/RTS=low) # e. g. Expert mouseCLOCK # 8 15 * server 127.127.8.0-3 mode 15 # WHARTON 400A Series Clocks with a 404.2 serial interface # 8 16 * server 127.127.8.0-3 mode 16 # RAWDCF receiver (DTR=low/RTS=high) # 8 17 * server 127.127.8.0-3 mode 17 # VARITEXT receiver (MSF) # 9 Type 9 - Magnavox MX4200 GPS receiver (GPS_MX4200) # 10 Type 10 - Austron 2200A/2201A GPS receivers (GPS_AS2201) # 11 Type 11 - Arbiter 1088A/B GPS receiver (GPS_ARBITER) # 12 Type 12 - KSI/Odetics TPRO/S IRIG interface (IRIG_TPRO) # 13 Type 13 - Leitch CSD 5300 master clock controller (ATOM_LEITCH) # 14 Type 14 - EES M201 MSF receiver (MSF_EES) # 15 Type 15 - TrueTime generic receivers # 16 Type 16 - Bancomm GPS/IRIG receiver (GPS_BANCOMM) # 17 Type 17 - Datum Precision time system (GPS_DATUM) # 18 Type 18 - NIST Modem time service (ACTS_NIST) # 19 Type 19 - Heath WWV/WWVH receiver (WWV_HEATH) # 20 Type 20 - Generic NMEA GPS receiver (NMEA) # 21 Type 21 - TrueTime GPS-VME interface (GPS_VME) # 22 Type 22 - PPS Clock Discipline (PPS) # 23 Type 23 - PTB Modem time service (ACTS_PTB) # 24 Type 24 - USNO Modem time service (ACTS_USNO) # 25 Type 25 - * TrueTime generic receivers # 26 Type 26 - Hewlett Packard 58503A GPS receiver (GPS_HP) # 27 Type 27 - Arcron MSF receiver (MSF_ARCRON) # 28 Type 28 - Shared memory driver (SHM) # 29 Type 29 - Trimble Navigation Palisade GPS (GPS_PALISADE) # 30 Type 30 - Motorola UT Oncore GPS GPS_ONCORE) # 31 Type 31 - Rockwell Jupiter GPS (GPS_JUPITER) # 32 Type 32 - Chrono-log K-series WWVB receiver (CHRONOLOG) # 33 Type 33 - Dumb Clock (DUMBCLOCK) # 34 Type 34 - Ultralink WWVB receivers (ULINK) # 35 Type 35 - Conrad Parallel port radio clock (PCF) # 36 Type 36 - Radio WWV/H audio demodulator/decoder (WWV) # 37 Type 37 - Forum Graphic GPS dating station (FG) # 38 Type 38 - hopf GPS/DCF77 6021/komp for serial line (HOPF_S) # 39 Type 39 - hopf GPS/DCF77 6039 for PCI-Bus (HOPF_P) # 40 Type 40 - JJY receivers (JJY) # 41 Type 41 - TrueTime 560 IRIG-B decoder # 42 Type 42 - Zyfer GPStarplus receiver # 43 Type 43 - RIPE NCC interface for Trimble Palisade # 44 Type 44 - NeoClock4X - DCF77 / TDF serial line # # For additionally Information look at: # http://www.eecis.udel.edu/~mills/ntp/html/refclock.html # #----------------------------------------------------------------------------- # Clock settings #----------------------------------------------------------------------------- NTP_CLOCK_N='0' # Nbr of clock's NTP_CLOCK_1_TYPE='1' # 1st clock type NTP_CLOCK_1_PREFER='no' # prefer this clock? NTP_CLOCK_1_DEVICE='' # clock device, default: '' NTP_CLOCK_1_LINK_DEVICE='' # clock link device, default: '' NTP_CLOCK_1_LINK_DEVICE_NBR='' # clock link device dumber, default: '' NTP_CLOCK_1_STRATUM='10' # clock stratum, default: '' NTP_CLOCK_1_REFID='' # clock reference id, default: '' NTP_CLOCK_2_TYPE='8' # 2nd clock type NTP_CLOCK_2_PREFER='yes' # prefer this clock? NTP_CLOCK_2_DEVICE='/dev/ttyS1' # clock device, default: '' NTP_CLOCK_2_LINK_DEVICE='/dev/refclock-' # clock link device, default: '' NTP_CLOCK_2_LINK_DEVICE_NBR='1' # clock link device dumber, default: '' NTP_CLOCK_2_STRATUM='' # clock stratum, default: '' NTP_CLOCK_2_REFID='' # clock reference id, default: '' NTP_CLOCK_3_TYPE='35' # 3rd clock type NTP_CLOCK_3_PREFER='no' # prefer this clock? NTP_CLOCK_3_DEVICE='/dev/lp0' # clock device, default: '' NTP_CLOCK_3_LINK_DEVICE='/dev/pcfclock' # clock link device, default: '' NTP_CLOCK_3_LINK_DEVICE_NBR='0' # clock link device dumber, default: '' NTP_CLOCK_3_STRATUM='' # clock stratum, default: '' NTP_CLOCK_3_REFID='' # clock reference id, default: '' #----------------------------------------------------------------------------- # Peers to synchronize with #----------------------------------------------------------------------------- NTP_PEER_N='0' # Nbr of peers NTP_PEER_1='' # 1st peer #----------------------------------------------------------------------------- # Inside server settings -- Server's to include into the peer #----------------------------------------------------------------------------- NTP_SERVER_N='0' # Nbr of server's NTP_SERVER_1='0.pool.ntp.org' # 1st NTP server NTP_SERVER_2='1.pool.ntp.org' # 2nd NTP server NTP_SERVER_3='2.pool.ntp.org' # 3rd NTP server #----------------------------------------------------------------------------- # Outside server settings -- Server's used for synchronization via menu #----------------------------------------------------------------------------- NTP_SET_SERVER_N='0' # Nbr of server's NTP_SET_SERVER_1='0.pool.ntp.org' # 1st NTP server NTP_SET_SERVER_2='1.pool.ntp.org' # 2nd NTP server NTP_SET_SERVER_3='2.pool.ntp.org' # 3rd NTP server #----------------------------------------------------------------------------- # Additional parameter # *** YOU SHOULD NOW WHAT YOU DO, USE IT ON YOUR OWN RISK !!! *** #----------------------------------------------------------------------------- NTP_ADD_PARAM_N='0' # Nbr of additional parameters NTP_ADD_PARAM_1='statsdir /var/log/ntp/' # 1st parameter NTP_ADD_PARAM_2='filegen peerstats file peerstats type day enable' # 2nd parameter NTP_ADD_PARAM_3='filegen loopstats file loopstats type day enable' # 3rd parameter NTP_ADD_PARAM_4='filegen clockstats file clockstats type day enable' # 4th parameter NTP_ADD_PARAM_5='statistics peerstats loopstats clockstats' # 5th parameter #----------------------------------------------------------------------------- # log handling # # Here you can specify how many logs should be saved and in with interval. # # Example: # NTP_LOG_EVENT_N='1' - Amount of different log events to log # NTP_LOG_EVENT_1_ENTRY='all' - Log all events # NTP_LOG_COUNT='10' - Save the last 10 log files # NTP_LOG_INTERVAL='daily' - Save one log file per day #----------------------------------------------------------------------------- NTP_LOG_EVENT_N='1' # Amount of different log events to log NTP_LOG_EVENT_1_ENTRY='all' # Event type to log: all, syncstatus, sysevents, syncall, clockall NTP_LOG_COUNT='10' # number of log files to save NTP_LOG_INTERVAL='weekly' # interval: daily, weekly, monthly #----------------------------------------------------------------------------- # End #-----------------------------------------------------------------------------