English Persian
~]$ less /etc/timemaster.conf
# Configuration file for timemaster
A configuration file equivalent to the [command]#-i em3 -m -S# options shown above would look as follows:
Additional information is available in the `pmc(8)` man page.
Additional Resources
Advantages of PTP
After making changes to `/etc/ptp4l.conf`, restart the [application]*ptp4l* service from the command line by issuing the following command as `root`:
After making changes to `/etc/sysconfig/phc2sys`, restart the [application]*phc2sys* service from the command line by issuing a command as `root`:
After making changes to `/etc/sysconfig/phc2sys`, restart the [application]*phc2sys* service from the command line by issuing the following command as `root`:
All clocks on a single `PTP` communication path must use the same mechanism to measure the delay. Warnings will be printed in the following circumstances:
Alternately, use the [option]`-s` option to synchronize the system clock to a specific interface's `PTP` hardware clock. For example:
An example of the [application]*phc2sys* output follows:
An example of the [application]*ptp4l* output, with [option]`summary_interval 6`, follows:
An illustration showing PTP grandmaster
An instance of [application]*ptp4l* is started for every interface which has its own `PTP` clock and hardware time stamping is enabled automatically. Interfaces that support hardware time stamping have a `PTP` clock (PHC) attached, however it is possible for a group of interfaces on a NIC to share a PHC. A separate [application]*ptp4l* instance will be started for each group of interfaces sharing the same PHC and for each interface that supports only software time stamping. All [application]*ptp4l* instances are configured to run as a slave. If an interface with hardware time stamping is specified in more than one `PTP` domain, then only the first [application]*ptp4l* instance created will have hardware time stamping enabled.
A "PTP domain" is a group of one or more `PTP` clocks that synchronize to each other. They may or may not be synchronized to clocks in another domain. Clocks that are configured with the same domain number make up the domain. This includes a `PTP` grandmaster clock. The domain number in each "PTP domain" section needs to correspond to one of the `PTP` domains configured on the network.
As `root`, edit that line as follows:
By default, messages are sent to `/var/log/messages`. However, specifying the [option]`-m` option enables logging to standard output which can be useful for debugging purposes.
Checking for Driver and Hardware Support
[chrony.conf]
include /etc/chrony.conf
[chronyd]
path /usr/sbin/chronyd
options -u chrony