ntp: Enable the kernel PPS driver and use it on the ODU
This commit is contained in:
parent
9b377fd3a9
commit
22c055b2f1
|
@ -2,18 +2,29 @@
|
||||||
# The driftfile must remain in a place specific to this
|
# The driftfile must remain in a place specific to this
|
||||||
# machine - it records the machine specific clock error
|
# machine - it records the machine specific clock error
|
||||||
driftfile /etc/ntp.drift
|
driftfile /etc/ntp.drift
|
||||||
|
|
||||||
# This obtains a random server which will be close
|
# This obtains a random server which will be close
|
||||||
# (in IP terms) to the machine. Add other servers
|
# (in IP terms) to the machine. Add other servers
|
||||||
# as required, or change this.
|
# as required, or change this.
|
||||||
server pool.ntp.org
|
server pool.ntp.org
|
||||||
|
|
||||||
# Using local hardware clock as fallback
|
# Using local hardware clock as fallback
|
||||||
# Disable this when using ntpd -q -g -x as ntpdate or it will sync to itself
|
# Disable this when using ntpd -q -g -x as ntpdate or it will sync to itself
|
||||||
server 127.127.1.0
|
server 127.127.1.0
|
||||||
fudge 127.127.1.0 stratum 14
|
fudge 127.127.1.0 stratum 14
|
||||||
|
|
||||||
|
# GPSD interface for NMEA based time
|
||||||
server 127.127.28.0
|
server 127.127.28.0
|
||||||
fudge 127.127.28.0 refid GPS
|
fudge 127.127.28.0 refid GPS
|
||||||
|
|
||||||
|
# PPS interface to kernel
|
||||||
|
server 127.127.22.0
|
||||||
|
fudge 127.127.22.0 refid PPS
|
||||||
|
|
||||||
# Defining a default security setting, allowing queries but declining
|
# Defining a default security setting, allowing queries but declining
|
||||||
# pretty much everything else
|
# pretty much everything else
|
||||||
restrict default limited kod nomodify notrap nopeer
|
restrict default limited kod nomodify notrap nopeer
|
||||||
|
|
||||||
|
# Be more permissive with localhost
|
||||||
|
restrict 127.0.0.1
|
||||||
|
restrict ::1
|
||||||
|
|
|
@ -36,6 +36,7 @@ EXTRA_OECONF += "--with-net-snmp-config=no \
|
||||||
ac_cv_header_readline_history_h=no \
|
ac_cv_header_readline_history_h=no \
|
||||||
--with-yielding_select=yes \
|
--with-yielding_select=yes \
|
||||||
--with-locfile=redhat \
|
--with-locfile=redhat \
|
||||||
|
--enable-ATOM \
|
||||||
"
|
"
|
||||||
CFLAGS_append = " -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED"
|
CFLAGS_append = " -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue