0

[FreeBSD]Network Time Server

To setup NTP on FreeBSD :

Edit /etc/rc.conf
### Network Time Services options: ###
ntpd_enable=”YES”
ntpd_program=”/usr/sbin/ntpd”
ntpd_flags=”-p /var/run/ntpd.pid -f /var/db/ntpd.drift”

Create /etc/ntp.conf
server time.nist.gov prefer
server 127.127.1.0
fudge 127.127.1.0 stratum 10
driftfile /var/db/ntpd.drift

Reboot the computer or start ntpd manually
# ntpd -p /var/run/ntpd.pid -f /var/db/ntpd.drift

jlim0930

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.