File: README.Debian

package info (click to toggle)
linuxptp 4.4-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,664 kB
  • sloc: ansic: 28,366; sh: 178; makefile: 104
file content (28 lines) | stat: -rw-r--r-- 853 bytes parent folder | download | duplicates (3)
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
1. Default configuration

The default configuration can be found in /etc/linuxptp/ptp4l.conf.
This is the default.cfg provided by the upstream source.

2. Systemd services

linuxptp package ships with service templates for ptp4l and
phc2sys. The services need to be instantiated for the required network
interface.

For instance, to instantiate ptp4l service for eth2,

$ systemctl enable ptp4l@eth2
$ systemctl enable ptp4l@eth2

Replace 'eth2' with the actual network interface.

The service phc2sys syncs the system clock with the PTP clock. It is not
enabled and started by default. To activate this service, invoke the
following commands as root:

$ systemctl enable phc2sys@<interface>
$ systemctl start phc2sys@<interface>

Replace '<interface>' with the actual port, e.g., eth2.

The service timemaster also isn't enabled and started by default