Skip site navigation (1)Skip section navigation (2)
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

--sm4nu43k4a2Rpi4c
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=20
> following syntax:
> ntpdate ntp1.t-online.de
>=20
> 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=
=20
> get it to
> work at all. ntpdate is perfectly simple and I'm guessing ntpd is just as=
=20
> simple so I
> must be missing something, I just have no idea at all what that 'somethin=
g'=20
> could
> be.
>=20
> 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

--=20
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

--sm4nu43k4a2Rpi4c
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE+unGAdtESqEQa7a0RAiD0AJ4yZQkg9i1CKV/QAWVUK2PXkvnsigCeM2oz
uoMPzsmsDepEe7XYq0EBlbg=
=g5qD
-----END PGP SIGNATURE-----

--sm4nu43k4a2Rpi4c--



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