ntpd

Information

ntpd will keep your system time current.

If your clock has a large offset, consider using ntpdate $HOST before starting to use ntpd

Procedure

  1. create /etc/ntp.conf and enter a time server:
    server time.server.xxx
  2. set ntpd to start at boot by editing /etc/rc.conf:
    # ntpd
    ntpd_enable="YES"
  3. run ntpdate to get the initial clock sync:
    root@host# ntpdate time.server.xxx
  4. start ntpd:
    root@host# /etc/rc.d/ntpd start
freebsd/ntpd.txt · Last modified: 2007/09/02 05:34 by john
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki