Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


pc_engines_apu1_hopf_clock_ntp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
pc_engines_apu1_hopf_clock_ntp [2020/01/04 14:39] – [Install NTP] adminpc_engines_apu1_hopf_clock_ntp [2020/01/04 14:50] – [Requirements] admin
Line 2: Line 2:
  
 ====Requirements==== ====Requirements====
-  * PC Enginges board with DCD line (APU = ok, ALIX = not ok)+  * PC Enginges boardwith DCD line (APU = ok, ALIX = not ok)
   * Debian 10 installed.   * Debian 10 installed.
-  * Disable getty on ttyS0. +  * Getty on ttyS0 disabled
-  * Connect APU1 to Hopf 7001 system over serial (see wiring below). +  * APU1 to Hopf 7001 system connected over serial (see wiring below). 
-  * Configure 7245 card for NTP (see 7245 interface board documentation). +  * Hopf 7245 interface card configured for NTP (see 7245 interface board documentation). 
-  * Download [[http://www.ntp.org/downloads.html|ntp source]].+  * [[http://www.ntp.org/downloads.html|NTP source code]] download.
  
 ====Documentation==== ====Documentation====
Line 123: Line 123:
  
 ====Hopf DCF /etc/ntp.conf==== ====Hopf DCF /etc/ntp.conf====
-<code>#Stratum level when no ref source available+  * Create /etc/ntpd.conf.<code>
 #Stratum level when no ref source available #Stratum level when no ref source available
 tos orphan 12 tos orphan 12
  
 # Hopf DCF clock # Hopf DCF clock
-server 127.127.8.0 +# Mode 12 + 128 (pps) = 140 
-fudge  127.127.8.0     refid DCF       # Reference identifier+server 127.127.8.0     mode 140 
 + 
 +fudge  127.127.8.0     refid PPS       # Reference identifier
  
 #leapfile /etc/leap_second #leapfile /etc/leap_second
  
-restrict -4 default kod notrap nomodify nopeer noquery +restrict -4 default notrap nomodify nopeer noquery 
-restrict -6 default kod notrap nomodify nopeer noquery+restrict -6 default notrap nomodify nopeer noquery
 restrict 127.0.0.1 restrict 127.0.0.1
 restrict ::1 restrict ::1
Line 145: Line 147:
  
 driftfile /var/lib/ntp/ntp.drift driftfile /var/lib/ntp/ntp.drift
 +
 </code> </code>
  
pc_engines_apu1_hopf_clock_ntp.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1