Configuring Network Time Protocol (NTP) service

Configuring NTP

You can use the Client Manager to configure a host as an NTP client operating in client mode (polling servers for the time) or in broadcast client mode (listening for time broadcasts on the local network).

Alternatively, log in as root on the host and follow these steps:

  1. Create an appropriate NTP configuration file, /etc/inet/ntp.conf, using the guidelines in this topic and on the xntpd(1Mtcp) manual page.

  2. If the command ps -ef | egrep in.xntpd shows that the the xntpd daemon is already running, note its process ID (pid), and use kill to send it the SIGHUP signal:

    kill -HUP pid

    This will make xntpd re-read its configuration file.

    If xntpd in not running, start it by entering:

    in.xnptd

  3. Ensure that the following entry to start the xntpd daemon is present in the file /etc/inet/config:
    6:/usr/sbin/in.xntpd::y:/etc/inet/ntp.conf::
    
    This will start the daemon automatically if the system is rebooted.

© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999