Install NTP on FreeBSD
This is a simple guide for setting up network time on FreeBSD.
- Update the system:
pkg update && pkg upgrade
- Install NTP:
pkg install ntp
- Edit the ntp config file:
- NOTE: The default configuration is fine for getting started immediately.
- Start and enable ntp at boot:
echo 'ntpdate_enable="YES"' >> /etc/rc.conf
NOTE: Setting time via NTP will not work in a jail, since the jail will get the time from the host system.