English Korean
For hardware time stamping support, the parameters list should include: 하드웨어 시간 표기 지원을 위해, 매개 변수 목록은 다음을 포함합니다:
Installing PTP PTP 설치하기
The kernel in Fedora includes support for `PTP`. User space support is provided by the tools in the [application]*linuxptp* package. To install [application]*linuxptp*, issue the following command as `root`:
~]#{nbsp}dnf install linuxptp
This will install [application]*ptp4l* and [application]*phc2sys*.
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].
Starting ptp4l
The [application]*ptp4l* program can be started from the command line or it can be started as a service. When running as a service, options are specified in the `/etc/sysconfig/ptp4l` file. Options required for use both by the service and on the command line should be specified in the `/etc/ptp4l.conf` file. The `/etc/sysconfig/ptp4l` file includes the [command]#-f /etc/ptp4l.conf# command line option, which causes the `ptp4l` program to read the `/etc/ptp4l.conf` file and process the options it contains. The use of the `/etc/ptp4l.conf` is explained in xref:Configuring_PTP_Using_ptp4l.adoc#sec-Specifying_a_Configuration_File[Specifying a Configuration File]. More information on the different [application]*ptp4l* options and the configuration file settings can be found in the `ptp4l(8)` man page.
Starting ptp4l as a Service 서비스로 ptp4l 시작하기
To start [application]*ptp4l* as a service, issue the following command as `root`: 서비스로 [application]*ptp4l*을 시작하려면, `root`으로 다음 명령을 실행합니다:
~]#{nbsp}systemctl start ptp4l
~]#{nbsp}systemctl start ptp4l
Using ptp4l From The Command Line 입력줄에서 ptp4l 사용하기
The [application]*ptp4l* program tries to use hardware time stamping by default. To use [application]*ptp4l* with hardware time stamping capable drivers and NICs, you must provide the network interface to use with the [option]`-i` option. Enter the following command as `root`:
~]#{nbsp}ptp4l -i em3 -m
~]#{nbsp}ptp4l -i em3 -m
Where _em3_ is the interface you want to configure. Below is example output from [application]*ptp4l* when the `PTP` clock on the NIC is synchronized to a master: