setting CMOS clock
Dan Nelson
dnelson at allantgroup.com
Thu Jun 5 07:31:04 PDT 2003
In the last episode (Jun 05), Christoph Kukulies said:
> I'm using a cron job to synchronize time against a timeserver in a
> local network. The timeserver is a NT box that has a DCF77 clock
> attached.
>
> I chose rdate (/usr/ports/sysutils/rdate) to do the synchronisation.
>
> Does this also set the CMS clock correctly or what would I have to do
> to set the cmos clock?
The CMOS clock is automatically set whenever the system's time is
updated. You might want to think about installing NTPD on your NT
machine and using NTP to synch instead. rdate can only give you time
to the nearest second, and according to
http://www.eecis.udel.edu/~ntp/ntpfaq/NTP-s-refclk.htm#AEN4231 , the
DCF77 signal is accurate to ~3ms . Precompiled ntpd binaries for NT
are available at http://www.ntp.org/links.html
--
Dan Nelson
dnelson at allantgroup.com
More information about the freebsd-hackers
mailing list