From owner-freebsd-questions Fri Nov 5 18: 3:34 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 6380E14C24 for ; Fri, 5 Nov 1999 18:03:31 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id UAA04993; Fri, 5 Nov 1999 20:02:15 -0600 (CST) (envelope-from dan) Date: Fri, 5 Nov 1999 20:02:15 -0600 From: Dan Nelson To: Aman Shaikh Cc: questions@FreeBSD.ORG Subject: Re: time setting Message-ID: <19991105200215.A4850@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from aman@cse.ucsc.edu on Fri, Nov 05, 1999 at 05:03:59PM -0800 X-OS: FreeBSD 4.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Nov 05), Aman Shaikh said: > I have a freebsd machine, where I want to advance its current time so > that it shows correct time. Is there a command to do it (as a root)? edit /etc/rc.conf, and set xntpd_enable=YES. Then create an /etc/ntp.conf file, with the line server cse.ucsc.edu in it, then run "ntpdate cse.ucsc.edu", and reboot. From that point on, your clock will sync to cse.ucsc.edu to within a couple thousandths of a second. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message