From owner-freebsd-questions@FreeBSD.ORG Mon Jul 27 23:08:31 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96E45106564A for ; Mon, 27 Jul 2009 23:08:31 +0000 (UTC) (envelope-from z.szalbot@lcwords.com) Received: from relay.lc-words.com (relay.lc-words.com [62.121.130.110]) by mx1.freebsd.org (Postfix) with ESMTP id 4167E8FC08 for ; Mon, 27 Jul 2009 23:08:31 +0000 (UTC) (envelope-from z.szalbot@lcwords.com) Received: from [127.0.0.1] (77-254-92-39.adsl.inetia.pl [77.254.92.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: z.szalbot@lcwords.com) by relay.lc-words.com (Postfix) with ESMTPSA id 36327B80C1 for ; Tue, 28 Jul 2009 01:04:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lcwords.com; s=mainlcwords; t=1248735894; bh=ywyor+Vc1AOt/I3MPn+E3lSXUSOZWo78Fnh7WKfGCvI=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=heijjjSN2im2LbAuYQuZn0H20XkgzOJEABOWgxrr4x6kzQ1THabQYusK0JpVTddMx os4M6a+5b/E8z445Yr2OF7qAanhS4AlpcTDf4VEWXvTKGYRlMPKDzyl/Wd4v5pPQOB LNW4WCvS221tlTYqUYJY8DTP6jw1oqnvQ0P1TjXc= Message-ID: <4A6E336A.10906@lcwords.com> Date: Tue, 28 Jul 2009 01:08:26 +0200 From: Zbigniew Szalbot User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4A6E2DE2.4080606@lcwords.com> <9991CE39-1B24-479E-9EDF-AFA153EE3EDE@mac.com> In-Reply-To: <9991CE39-1B24-479E-9EDF-AFA153EE3EDE@mac.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: ntpd / time synchronization X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jul 2009 23:08:31 -0000 Chuck Swiger pisze: > You can't readily combine a restrict statement with using random > timeservers from the NTP pool; you would need to list specific servers > and add blank restrict statements for each server you trust. What > you've configured is likely querying the 4 servers listed for time, but > not trusting their responses so your clock never find a server which it > is willing to sync to. > > Running "ntpq -p -c rv" would be informative.... Well, it seems you are right :) $ ntpq -p -c rv ntpq: read: Connection refused ntpq: read: Connection refused I took it from http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ntp.html [quote] If you want to deny all machines from accessing your NTP server, add the following line to /etc/ntp.conf: restrict default ignore [/quote] OK. So removing the restrictions should cause the time to be synced? Thank you for your patience and help! Zbigniew Szalbot www.slowo.pl www.fairtrade.net.pl