OpenNTPD is a FREE, easy to use implementation of the Network Time Protocol. It provides the ability to sync the local clock to remote NTP servers and can act as NTP server itself, redistributing the local clock. The install below is an example install on OpenBSD. OpenBSD comes with OpenNTPD installed.
1. Create /etc/ntpd.conf if needed. Copy the info from below into the file and edit to suit your needs.
#################################### # OpenNTPD http://www.openntpd.org # #################################### # $OpenBSD: ntpd.conf,v 1.7 2004/07/20 17:38:35 henning Exp $ # sample ntpd configuration file, see ntpd.conf(5) # Addresses to listen on (ntpd does not listen by default) listen on 192.168.0.1 # sync to a single server #server ntp.example.org # use a random selection of 8 public stratum 2 servers # see http://twiki.ntp.org/bin/view/Servers/NTPPoolServers servers pool.ntp.org
2. Edit the line in /etc/rc.conf and set it to ntpd_flags="-s" so it starts on reboot and syncs the time immediately at startup.
3. Start it by running the command "ntpd -s". Check /var/log/daemon for any errors.