From owner-freebsd-questions Sun Feb 24 14: 5:54 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 231BD37B405 for ; Sun, 24 Feb 2002 14:05:47 -0800 (PST) Received: from hades.hell.gr (patr364-a01.otenet.gr [195.167.109.33]) by mailsrv.otenet.gr (8.12.2/8.12.2) with ESMTP id g1OM5AqY007572; Mon, 25 Feb 2002 00:05:44 +0200 (EET) Received: (from charon@localhost) by hades.hell.gr (8.11.6/8.11.6) id g1OKsAS23417; Sun, 24 Feb 2002 22:54:10 +0200 (EET) (envelope-from keramida@freebsd.org) Date: Sun, 24 Feb 2002 22:54:09 +0200 From: Giorgos Keramidas To: David Loszewski Cc: questions@freebsd.org Subject: Re: time server? Message-ID: <20020224205409.GE22935@hades.hell.gr> References: <3C7935C8.2090005@mediaone.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C7935C8.2090005@mediaone.net> User-Agent: Mutt/1.3.25i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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