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 1E7k6Q-0000aT-Gr for garchives@archives.gentoo.org; Wed, 24 Aug 2005 01:30:54 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7O1Sbro003527; Wed, 24 Aug 2005 01:28:37 GMT Received: from mail.iinet.net.au (mail-07.iinet.net.au [203.59.3.39]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7O1OwJO010032 for ; Wed, 24 Aug 2005 01:24:59 GMT Received: (qmail 24945 invoked from network); 24 Aug 2005 01:25:54 -0000 Received: from unknown (HELO moriah.localdomain) (203.59.166.20) by mail.iinet.net.au with SMTP; 24 Aug 2005 01:25:54 -0000 Received: from localhost (localhost [127.0.0.1]) by moriah.localdomain (Postfix) with ESMTP id 742C7E54C9 for ; Wed, 24 Aug 2005 09:25:54 +0800 (WST) Received: from moriah.localdomain ([127.0.0.1]) by localhost (moriah [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01480-01 for ; Wed, 24 Aug 2005 09:25:40 +0800 (WST) Received: from localhost (localhost [127.0.0.1]) by moriah.localdomain (Postfix) with ESMTP id 9580EE5299 for ; Wed, 24 Aug 2005 09:25:40 +0800 (WST) Subject: Re: [gentoo-user] ntp problem From: "W.Kenworthy" To: gentoo-user@lists.gentoo.org In-Reply-To: References: <430B23F6.9070706@badapple.net> <2ab8d39a050823071990b8aad@mail.gmail.com> Content-Type: text/plain Date: Wed, 24 Aug 2005 09:25:39 +0800 Message-Id: <1124846739.26613.135.camel@localhost> 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 X-Mailer: Evolution 2.2.3 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at localdomain X-Archives-Salt: 07d827fc-4b5d-4df9-b53b-cc42b0352f3f X-Archives-Hash: 4db97f4908a9399c344a3916d8871f5b try 'dhcpcd_eth0="-dRNDt 5"' ntp will refuse to sync if it sees too much drift/too much time difference between itself and the upstream. Its not overly verbose in telling you this however. add "tinker panic 0" as the first line to each ntp.conf (inc your server) Its also a good idea to add a default fallback server to each ntp.conf (inc the server) "fudge 127.127.1.0 stratum 7" "server 127.127.1.0" 10 is a good fallback stratum as an unlocked clock is 16, but due to local config issues (I think) I set mine to 7 - now I cant remember why so have to go investigate it ... dont forget to document why you do things! BillK On Tue, 2005-08-23 at 11:28 -0300, Bruno Lustosa wrote: > Just as a sidenote. My machine is running dhcpcd, and it sometimes > overwrites /etc/ntp.conf for some reason, even though I have > 'dhcpcd_eth0="-N"' on /etc/conf.d/net. > I don't know how to make dhcpcd leave /etc/ntp.conf alone OR make it > write a correct ntp.conf (without a bunch of 'restrict' lines). > > -- > Bruno Lustosa, aka Lofofora | Email: bruno@lustosa.net > Network Administrator/Web Programmer | ICQ: 1406477 > Rio de Janeiro - Brazil | > -- gentoo-user@gentoo.org mailing list