From owner-freebsd-questions@FreeBSD.ORG Thu May 8 08:02:34 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8526537B404 for ; Thu, 8 May 2003 08:02:33 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 237CD43FB1 for ; Thu, 8 May 2003 08:02:29 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h48F2Ow0013039 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 8 May 2003 16:02:24 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)h48F2OD3013038; Thu, 8 May 2003 16:02:24 +0100 (BST) (envelope-from matthew) Date: Thu, 8 May 2003 16:02:24 +0100 From: Matthew Seaman To: How Can ThisBe Message-ID: <20030508150224.GA98755@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , How Can ThisBe , questions@freebsd.org References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sm4nu43k4a2Rpi4c" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-38.8 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT version=2.53 X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp) cc: questions@freebsd.org Subject: Re: ntpdate and ntpd questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 May 2003 15:02:34 -0000 --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--