Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Nov 1999 20:02:15 -0600
From:      Dan Nelson <dnelson@emsphone.com>
To:        Aman Shaikh <aman@cse.ucsc.edu>
Cc:        questions@FreeBSD.ORG
Subject:   Re: time setting
Message-ID:  <19991105200215.A4850@dan.emsphone.com>
In-Reply-To: <Pine.GSO.4.05.9911051702230.16298-100000@fast1.cse.ucsc.edu>; from aman@cse.ucsc.edu on Fri, Nov 05, 1999 at 05:03:59PM -0800
References:  <Pine.GSO.4.05.9911051702230.16298-100000@fast1.cse.ucsc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991105200215.A4850>