From owner-freebsd-questions@FreeBSD.ORG Thu May 12 23:35:30 2005 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 2975116A4CE for ; Thu, 12 May 2005 23:35:30 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA5C443D5C for ; Thu, 12 May 2005 23:35:29 +0000 (GMT) (envelope-from motionsiren@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so722347wra for ; Thu, 12 May 2005 16:35:29 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=pQ9qpSecih01KU1S96QpRjZ598q4PJzPJEqLKtnrGANAjTRsDImMQpSFWC/ybS50BubPKqymQWbORyLSwtDCBUzhuR61NA8MeGs6wby0ljh+X9XbncZGh0huMDIvLwXjVfijGFYep1NoGHODVIuQrD56JgbDJnwi6iIxyvd6VFU= Received: by 10.54.23.10 with SMTP id 10mr1387015wrw; Thu, 12 May 2005 16:35:29 -0700 (PDT) Received: by 10.54.71.9 with HTTP; Thu, 12 May 2005 16:35:29 -0700 (PDT) Message-ID: <781e2bc005051216356cffda49@mail.gmail.com> Date: Thu, 12 May 2005 16:35:29 -0700 From: Benjamin Keating To: Sean Murphy In-Reply-To: <4283DE11.4050209@calarts.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4283DE11.4050209@calarts.edu> cc: freebsd-questions@freebsd.org Subject: Re: Setting up ntpd on FreeBSD (5.4) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Benjamin Keating List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 May 2005 23:35:30 -0000 Thanks! ntpdate running after ntpd was what was causing the problem. Also a good reminder to grep out relevant parts in /etc/defaults/rc.conf... as my conf file was, by default /var/db/ntpd.drift'. No wonder my /etc/ntpd.conf didn't get touched. Thanks again Sean. - bpk On 5/12/05, Sean Murphy wrote: > Ensure you due ntpdate before you run ntpd. > This can be done just once from the command line and ntpd cannot be runni= ng. >=20 > ntpdate ntp2.sf-bay.org >=20 > then add the following to /etc/rc.conf > ntpd_enable=3D"YES" > ntpd_flags=3D"-c /etc/ntp.conf -p /var/run/ntpd.pid" >=20 > between the lines is a example of ntp.conf in /etc > =3D=3D=3D=3D > #List of servers to pull time from > server ntp2.sf-bay.org > server clock.isc.org > server clock.via.net > server ntp.ucsd.edu >=20 > #This is created automaticaly you do not have to touch it > #However it might take hours for it to be created > driftfile /var/db/ntp.drift >=20 > #This Line restricts which hosts are allowed to pull from your box > restrict 172.30.0.0 mask 255.255.0.0 notrust nomodify notrap >=20 > =3D=3D=3D >=20 > restart your box >=20 > check ntp using ntpdc >=20 > $ ntpdc -s > remote local st poll reach delay offset disp > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > .bigben.ucsd.edu 198.182.157.33 2 1024 377 0.01555 0.038196 0.01865 > *clock.via.net 198.182.157.33 1 1024 377 0.02483 0.038705 0.01482 > .clock.isc.org 198.182.157.33 2 1024 377 0.02481 0.040574 0.01482 > zorac.sf-bay.or 198.182.157.33 2 1024 377 0.01485 0.044078 0.01865 >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" >