Date: Sun, 24 Feb 2002 22:54:09 +0200 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: David Loszewski <stealth215@mediaone.net> Cc: questions@freebsd.org Subject: Re: time server? Message-ID: <20020224205409.GE22935@hades.hell.gr> In-Reply-To: <3C7935C8.2090005@mediaone.net> References: <3C7935C8.2090005@mediaone.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-02-24 13:49, David Loszewski wrote: > how do I syncronize my pc to a time/date server? If you know of an NTP server near you, you can just run (as root): ntpdate SERVER replacing SERVER with the hostname or IP address of the NTP server. This will only synchronize your time once, though. If you want to continuously keep the clock synchronized with the time server, you will have to use ntpd. The simple /etc/ntp.conf I made for testing clock synchronization with two NTP servers around here is: disable auth server ntp.ntua.gr server ntp.duth.gr restrict 0.0.0.0 noserve Then, I enabled ntpd in rc.conf: $ grep ntp /etc/rc.conf xntpd_enable="YES" ntpdate_enable="NO" Giorgos Keramidas FreeBSD Documentation Project keramida@{freebsd.org,ceid.upatras.gr} http://www.FreeBSD.org/docproj/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020224205409.GE22935>