-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathexample.config.yml
41 lines (35 loc) · 1.27 KB
/
example.config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
# GPSd configuration.
gpsd_state: stopped
gpsd_enabled: false
gpsd_devices: "/dev/ttyAMA0"
gpsd_baud: "115200"
gpsd_options: "-s {{ gpsd_baud }} -n"
# Refclock to be used as a time source.
# See: https://chrony-project.org/doc/3.4/chrony.conf.html#refclock
chrony_refclock: "refclock PHC /dev/ptp0 poll 0 dpoll -5 tai" # Use NIC PHC
# chrony_refclock: "refclock SHM 0 refid GPS" # Use GPS directly
# Hosts allowed to query chrony for NTP time.
# See: https://chrony-project.org/doc/3.4/chrony.conf.html#allow
chrony_allow: "10.0.2.0/24"
# Force i226 eth1 interface to 1 Gbps speed.
# See: https://github.com/geerlingguy/time-pi/issues/2
i226_force_1gbps: true
# PTP 4 Linux options.
ptp4l_version_latest: true # Install jclark's linuxptp v4 .deb if true
ptp4l_ptp_iface: eth1
ptp4l_service_state: started
ptp4l_service_enabled: true
ts2phc_service_state: started
ts2phc_service_enabled: true
ts2phc_logging_level: 7
ts2phc_clock: '/dev/ptp0'
ts2phc_source: 'generic'
ts2phc_extra_opts: '-m'
# If not using custom IGC driver, i226 needs these options defined because of
# quirks. See: https://github.com/geerlingguy/time-pi/issues/13
phc2sys_service_state: started
phc2sys_service_enabled: true
phc2sys_clock: 'CLOCK_REALTIME'
phc2sys_source: '/dev/ptp0'
phc2sys_extra_opts: '-O 37 -m'