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
Next revisionBoth sides next revision
pc_engines_apu1_hopf_clock_ntp [2020/01/04 14:39] adminpc_engines_apu1_hopf_clock_ntp [2020/01/04 14:40] – [Hopf DCF /etc/ntp.conf] admin
Line 94: Line 94:
  
 make install make install
-</code.+</code>
   * Add systemd services.<code>   * Add systemd services.<code>
 cat > /etc/systemd/system/ntpd.service <<EOF cat > /etc/systemd/system/ntpd.service <<EOF
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