Install Tarball

Enhanced PTP User Guide (UG1602)

Document ID
UG1602
Release Date
2023-04-07
Revision
1.1 English

To install using a tarball package:

  1. Unpack the compressed file:
    # tar -zxvf SF-108910-LS-<version>.tgz
    sfptpd-3.3.0.1007.x86_64/
    sfptpd-3.3.0.1007.x86_64/sfptpd
    sfptpd-3.3.0.1007.x86_64/examples/
    sfptpd-3.3.0.1007.x86_64/examples/README.sfptpdctl
    sfptpd-3.3.0.1007.x86_64/examples/monitoring_console.py
    sfptpd-3.3.0.1007.x86_64/examples/sfptpdctl.c
    sfptpd-3.3.0.1007.x86_64/examples/sfptpdctl.py
    sfptpd-3.3.0.1007.x86_64/examples/sfptpd_json_parse.html
    sfptpd-3.3.0.1007.x86_64/examples/Makefile.sfptpdctl
    sfptpd-3.3.0.1007.x86_64/examples/sfptpd_stats_collectd.py
    sfptpd-3.3.0.1007.x86_64/PTPD2_COPYRIGHT
    sfptpd-3.3.0.1007.x86_64/NTP_COPYRIGHT.html
    sfptpd-3.3.0.1007.x86_64/init.d/
    sfptpd-3.3.0.1007.x86_64/init.d/sfptpd
    sfptpd-3.3.0.1007.x86_64/sfptpdctl
    sfptpd-3.3.0.1007.x86_64/LICENSE
    sfptpd-3.3.0.1007.x86_64/config/
    sfptpd-3.3.0.1007.x86_64/config/ptp_master_ntp.cfg
    sfptpd-3.3.0.1007.x86_64/config/ptp_slave_multiple.cfg
    sfptpd-3.3.0.1007.x86_64/config/default-systemd.cfg
    sfptpd-3.3.0.1007.x86_64/config/freerun.cfg
    sfptpd-3.3.0.1007.x86_64/config/ptp_slave_ntp_fallback.cfg
    sfptpd-3.3.0.1007.x86_64/config/ptp_slave.cfg
    sfptpd-3.3.0.1007.x86_64/config/ntp.cfg
    sfptpd-3.3.0.1007.x86_64/config/ptp_domain_bridge.cfg
    sfptpd-3.3.0.1007.x86_64/config/many_instances.cfg
    sfptpd-3.3.0.1007.x86_64/config/pps_slave.cfg
    sfptpd-3.3.0.1007.x86_64/config/ptp_master_freerun.cfg
    sfptpd-3.3.0.1007.x86_64/config/ptp_boundary.cfg
    sfptpd-3.3.0.1007.x86_64/config/default.cfg
  2. Startup components:
    • An init.d script is supplied to allow sfptpd to be started using standard Linux service: start, stop, restart, status commands.

      The init.d script should be copied to /etc/rc.d/init.d.

    • An example systemd UNIT file can be found in Automatic Startup.
    • Default configuration files for all modes are located in the config subdirectory of the install directory.