Date: Thu, 8 May 2003 16:02:24 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: How Can ThisBe <howcanthisbe300@hotmail.com> Cc: questions@freebsd.org Subject: Re: ntpdate and ntpd questions Message-ID: <20030508150224.GA98755@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <BAY7-F123W4Ojf43rjW00006edb@hotmail.com> References: <BAY7-F123W4Ojf43rjW00006edb@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Thu, May 08, 2003 at 02:28:37PM +0000, How Can ThisBe wrote:
> ntpdate works perfectly for setting the local clock time using the
> following syntax:
> ntpdate ntp1.t-online.de
>
> However `man ntpdate' states that ntpdate will be removed 'soon' and that I
> should use `ntpd -q' instead. So I read up on ntpd but I can not seem to
> get it to
> work at all. ntpdate is perfectly simple and I'm guessing ntpd is just as
> simple so I
> must be missing something, I just have no idea at all what that 'something'
> could
> be.
>
> I just want to be able to set the time :]
ntpd gets the information about what servers it will synch your clock
to out of /etc/ntp.conf, so in your case, just create the
/etc/ntp.conf file containing minimally:
server ntp1.t-online.de
and then run:
# ntpd -g -q
Check out http://www.eecis.udel.edu/~mills/ntp/ for all things NTP
related.
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks
Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614 Bucks., SL7 1TH UK
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)
iD8DBQE+unGAdtESqEQa7a0RAiD0AJ4yZQkg9i1CKV/QAWVUK2PXkvnsigCeM2oz
uoMPzsmsDepEe7XYq0EBlbg=
=g5qD
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030508150224.GA98755>
