English Ukrainian
clock_servo linreg
Configuring PTP Using ptp4l
Configuring timemaster Options
Do not run more than one service to set the system clock's time at the same time. If you intend to serve `PTP` time using `NTP`, see xref:Configuring_PTP_Using_ptp4l.adoc#sec-Serving_PTP_Time_with_NTP[Serving PTP Time with NTP].
Editing the timemaster Configuration File
-E linreg
For a full list of [application]*pmc* commands, type the following as `root`:
For [application]*ptp4l* there is also a directive, [option]`summary_interval`, to reduce the output and print only statistics, as normally it will print a message every second or so. For example, to reduce the output to every `1024` seconds, add the following line to the `/etc/ptp4l.conf` file:
For each `NTP` server you want to control using [application]*timemaster*, create `[ntp_server _address_pass:attributes[{blank}]]` sections . Note that the short polling values in the example section are not suitable for a public server, see xref:servers/Configuring_NTP_Using_ntpd.adoc#ch-Configuring_NTP_Using_ntpd[Configuring NTP Using ntpd] for an explanation of suitable [option]`minpoll` and [option]`maxpoll` values.
For hardware time stamping support, the parameters list should include:
For software time stamping support, the parameters list should include:
`gmIdentity` is the grandmaster's identity.
if `gmPresent` is true, the `PTP` clock is synchronized to a master, the local clock is not the grandmaster clock.
If required to use `ntpd` as the `NTP` daemon on this system, change the default entry in the `[timemaster]` section from `chronyd` to `ntpd`. See xref:servers/Configuring_NTP_Using_the_chrony_Suite.adoc#ch-Configuring_NTP_Using_the_chrony_Suite[Configuring NTP Using the chrony Suite] for information on the differences between ntpd and chronyd.
If using `chronyd` as the `NTP` server on this system, add any additional options below the default [option]`include /etc/chrony.conf` entry in the `[chrony.conf]` section. Edit the default [option]`include` entry if the path to `/etc/chrony.conf` is known to have changed.
If using `ntpd` as the `NTP` server on this system, add any additional options below the default [option]`include /etc/ntp.conf` entry in the `[ntp.conf]` section. Edit the default [option]`include` entry if the path to `/etc/ntp.conf` is known to have changed.
Improving Accuracy
In addition to hardware time stamping support being present in the driver, the NIC must also be capable of supporting this functionality in the physical hardware. The best way to verify the time stamping capabilities of a particular driver and NIC is to use the [application]*ethtool* utility to query the interface as follows:
In order to use `PTP`, the kernel network driver for the intended interface has to support either software or hardware time stamping capabilities.
Installed Documentation