![Petr Kulhavy](/assets/img/avatar_default.png)
Add the Linux PTP Project package. http://linuxptp.sourceforge.net/ The SysV and systemd init scripts start the daemon in slave-only mode on eth0 and synchronize the system clock to PTP. Signed-off-by: Petr Kulhavy <brain@jikos.cz> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
20 lines
614 B
INI
20 lines
614 B
INI
# LinuxPTP configuration file for synchronizing the system clock to
|
|
# a remote PTP master in slave-only mode.
|
|
#
|
|
# By default synchronize time in slave-only mode using UDP and hardware time
|
|
# stamps on eth0. If the difference to master is >1.0 second correct by
|
|
# stepping the clock instead of adjusting the frequency.
|
|
#
|
|
# If you change the configuration don't forget to update the phc2sys
|
|
# parameters accordingly in linuxptp-system-clock.service (systemd)
|
|
# or the linuxptp SysV init script.
|
|
|
|
[global]
|
|
slaveOnly 1
|
|
delay_mechanism Auto
|
|
network_transport UDPv4
|
|
time_stamping hardware
|
|
step_threshold 1.0
|
|
|
|
[eth0]
|