From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E7Ypg-0000tZ-V2 for garchives@archives.gentoo.org; Tue, 23 Aug 2005 13:28:53 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7NDQTvi004283; Tue, 23 Aug 2005 13:26:29 GMT Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.203]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7NDKjn5005424 for ; Tue, 23 Aug 2005 13:20:45 GMT Received: by zproxy.gmail.com with SMTP id v1so911383nzb for ; Tue, 23 Aug 2005 06:21:37 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=PioePbwvH839Il8xI9tH6e19t5A7ALBKUUFhF1Xj0dD+hYunV7L3rrbZfKGPBFeOQB1Plhr454jK4k/vid5VdGVGw0GUncM88R4gY1q866rHcvioF9OyADF4lm5zKxiEB64r1Prar5/cqrHfxbmSXN4U7Onik+9hrklM7MsSev0= Received: by 10.36.38.15 with SMTP id l15mr4834841nzl; Tue, 23 Aug 2005 06:21:37 -0700 (PDT) Received: by 10.36.34.4 with HTTP; Tue, 23 Aug 2005 06:21:37 -0700 (PDT) Message-ID: Date: Tue, 23 Aug 2005 10:21:37 -0300 From: Bruno Lustosa To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] ntp problem In-Reply-To: <2ab8d39a050823061477493acb@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline References: <2ab8d39a050823061477493acb@mail.gmail.com> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id j7NDKjn5005424 X-Archives-Salt: ed446c55-0b6a-4b05-84c0-c5db926c4978 X-Archives-Hash: 0eb1d32e03d200c671cb96db18daf3a6 On 8/23/05, krzaq wrote: > I am no NTP expert, but there may be nothing wrong with your configuartion. > NTP is a complex protocol. The machine has decided not to sync > with the requested server. It thinks that the provided server is inacurate (the > machine's internal clock is more acurate). Yes, I know it's a complex protocol. However, I didn't put the local clock (fudge?) on the configuration, hoping it would only take the time server into account. > Leave it running a couple of days and then see what happens. I am leaving them and seeing. Funny thing, my machine, which was in sync yesterday, is not in sync anymore today. The offset starts increasing and increasing until it's several minutes in difference. I've read something about ntp requiring CONFIG_SECURITY=y and CONFIG_SECURITY_CAPABILITIES=y on kernel 2.6. They are both activated on my machine. > The whole idea is to calculate the drift of the machines internal > clock. NTP will > not trust specified timeservers blindly. > > Frankly I think that ntp works best with several timeservers. Yes, I could put all those time servers on all config files, but is this the best approach for a network? I thought I could let one of them synchronize to several servers, and let all others synchronize from this one. The jitter is minimum, as they are on the same network. > If you want your local machines to blindly set the date to your local timeserver > try nptdate instead. This is what I'm trying to avoid. ntpd is a cleaner solution, as it records the clock drift instead of just updating the clock every X hours. In fact, most 'cron solutions' I see are ugly workarounds. Thanks for the reply. -- Bruno Lustosa, aka Lofofora | Email: bruno@lustosa.net Network Administrator/Web Programmer | ICQ: 1406477 Rio de Janeiro - Brazil | -- gentoo-user@gentoo.org mailing list