2009-07-11

Time's a-wastin'

(my computer's clock)
It has been about six months since I last posted here, so it seems somehow appropriate to return with a note about time.

After a frustrating morning of potching with consumer routers that don't work (I'll save the details for another blog post, ;-) I finally got around to setting up a local server for the network time protocol (NTP). Most of the following is straight out of the NetBSD Guide.

#This goes in /etc/rc.conf
ntpdate=YES ntpdate_hosts="ntp1.cso.uiuc.edu"
ntpd=YES

The first line tells the NetBSD host to be an NTP client, syncing its clock against a machine at the University of Illinois. The next line asks it to be an NTP server so that other computers here can sync against it without having to go out across the Internet.

Windows and Ubuntu workstations sync happily against the NetBSD host. I'm not sure yet how to persuade the Ubuntu Server box to do that.

0 comments: