From owner-freebsd-stable@FreeBSD.ORG Thu Jul 19 17:53:21 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E852E16A400 for ; Thu, 19 Jul 2007 17:53:21 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 42F2813C48E for ; Thu, 19 Jul 2007 17:53:21 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: (qmail invoked by alias); 19 Jul 2007 17:53:19 -0000 Received: from nat-wh-1.rz.uni-karlsruhe.de (EHLO mobileKamikaze.norad) [129.13.72.169] by mail.gmx.net (mp020) with SMTP; 19 Jul 2007 19:53:19 +0200 X-Authenticated: #5465401 X-Provags-ID: V01U2FsdGVkX19tf+htet9t643v7TgOPAWhYdV6F+3wN5MMYNs9zT DoF1LXnW8ERsbm Message-ID: <469FA50E.9080705@gmx.de> Date: Thu, 19 Jul 2007 19:53:18 +0200 From: "[LoN]Kamikaze" User-Agent: Thunderbird 2.0.0.4 (X11/20070616) MIME-Version: 1.0 To: Doug Hardie References: <469F9A85.4090209@gmx.de> In-Reply-To: X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: FreeBSD Stable Subject: Re: ntpd just sits there and does nothing X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jul 2007 17:53:22 -0000 Doug Hardie wrote: > > On Jul 19, 2007, at 10:08, [LoN]Kamikaze wrote: > >> As the subject says, on my 6-stable systems ntpd just sits there and does >> nothing. The logs only mention when the daemon gets started or shut >> down. It >> complains when servers are not reachable, but does nothing when they >> are available. >> >> The drift file always contains 0.00. >> >> ntpdate and openntpd both successfully manage to set the time, so I >> suppose >> it's a problem with ntpd. > > Are you on a static IP address? If not, ntpd obtains its IP address > when it starts up and uses it forever. If your IP address changes then > it will not be able to communicate with the upstream ntp servers. It > has to be restarted everytime your IP address changes. I have a static address. The trouble is it seems to operate fine, only it forgets to change the time when it differs from the time servers too much. Sometimes my clock goes wrong more than 1 second within a day.