Time sync
Olaf Hoyer
ohoyer at gaff.hhhr.ision.net
Thu Feb 26 04:29:53 PST 2004
On Thu, 26 Feb 2004, DerAlSem wrote:
> Hello freebsd-newbies,
>
> I've read man timed and timedc, but still can't get, how it works...
> Just want to sync current server time with some internet atomic
> clock server. Where can i read 'bout such a program?
Hi!
man ntpd and ntp.conf
there also is a section in the freebsd handbook, describing how to setup
a ntp server.
This is what you basically want, and what is in widespread use.
Its simple, even I managed it within a few minutes.
The only thing is to respect some niceness to the operators of public
ntp servers, and only sync from stratum 2 or higher numbers...
Or, if you only have a local client, that does not want to distribute
his time to other servers, you simply need to type as root:
ntpdate ntp.domain.tld
thats all, and can be run via cron
HTH
Olaf
--
Olaf Hoyer ohoyer at gaff.hhhr.ision.net
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)
More information about the freebsd-newbies
mailing list