From owner-freebsd-current@FreeBSD.ORG Tue Oct 12 13:36:44 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 214D916A4CF for ; Tue, 12 Oct 2004 13:36:44 +0000 (GMT) Received: from smtp1.jazztel.es (smtp1.jazztel.es [62.14.3.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EDBF43D31 for ; Tue, 12 Oct 2004 13:36:43 +0000 (GMT) (envelope-from josemi@freebsd.jazztel.es) Received: from antivirus by smtp1.jazztel.es with antivirus id 1CHMpm-0005uq-00 Tue, 12 Oct 2004 15:36:58 +0200 Received: from [212.106.255.193] (helo=rguez.homeunix.net) by smtp1.jazztel.es with esmtp id 1CHMpm-0005uf-00 Tue, 12 Oct 2004 15:36:58 +0200 Received: from redesjm.local (orion.redesjm.local [192.168.254.16]) by rguez.homeunix.net (8.13.1/8.13.1) with ESMTP id i9CDaf1t073013; Tue, 12 Oct 2004 15:36:41 +0200 (CEST) (envelope-from josemi@freebsd.jazztel.es) Received: from localhost (localhost [[UNIX: localhost]]) by redesjm.local (8.13.1/8.13.1/Submit) id i9CDaf64031772; Tue, 12 Oct 2004 15:36:41 +0200 (CEST) (envelope-from josemi@freebsd.jazztel.es) X-Authentication-Warning: orion.redesjm.local: freebsd set sender to josemi@freebsd.jazztel.es using -f From: Jose M Rodriguez To: freebsd-current@freebsd.org Date: Tue, 12 Oct 2004 15:36:40 +0200 User-Agent: KMail/1.7 References: <20041012131652.33782.qmail@web54007.mail.yahoo.com> In-Reply-To: <20041012131652.33782.qmail@web54007.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200410121536.41115.josemi@freebsd.jazztel.es> X-AntiVirus: checked by AntiVir Milter 1.1-beta; AVE 6.27.0.12; VDF 6.27.0.81 (host: antares.redesjm.local) X-Virus-Scanned: by antivirus cc: spam maps Subject: Re: 5.3-Beta7 / router & ntpdate: bug in bootup script or sequence? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Oct 2004 13:36:44 -0000 El Martes, 12 de Octubre de 2004 15:16, spam maps escribi=F3: > Hi, > > I have a router configured, which must properly > synchronize time at bootup. For that purpose I > use ntpdate to instantly adjust the time, then > have let ntpd keep syncing time while running. > All info for ntpdate and ntpd comes from > /etc/ntp.conf. > > (ntpd also becomes the server of the local > network, but that's now not so relevant) > > However, there seems to be something really odd > when network access is needed for ntpdate; it > simple cannot, and no time adjustment is done. > > Strangely enough: after bootup I can manually > do the same ntpdate command, and it all works. > > Whatever I tried, nothing seems to help to get > ntpdate do its work at bootup. My guess would > be that there's something wrong with the bootup > scripts or the sequence the scripts are called. > > The full bootup output, rc.conf and ntp.conf > files are here: > > http://cisr.snu.ac.kr/ntpdate.txt > I see this before. You are using named from here. Seems it may have a race condition between named and ntpdate. Try put an external nameserver on /etc/resolv.conf Also, you may try to use only ntpd. If you use this machine often, you=20 don't need ntpdate. Only ntpd. You can check this with ntptrace. =2D- josemi=20