Never been to TextSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

How to setup NTP on BSD (See related posts)

echo xntpd_enable=\"YES\" >> /etc/rc.conf
echo xntpd_program=\"/usr/sbin/ntpd\" >> /etc/rc.conf
echo xntpd_flags=\"-p /var/run/\" >> /etc/rc.conf
mkdir /etc/ntp
touch /etc/ntp/drift

touch /etc/ntp.conf
echo server >> /etc/ntp.conf
echo driftfile /etc/ntp/drift  >> /etc/ntp.conf
/etc/rc.d/ntpd start

Comments on this post

bitshaker posts on Dec 07, 2005 at 04:46
Another good ntp "server" to use is They rotate between a bunch of different time servers via DNS round robin.

Here's a more detailed list of the time servers.

You need to create an account or log in to post comments to this site.

Related Posts