From owner-freebsd-questions@FreeBSD.ORG Mon Nov 14 15:01:11 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD33916A41F for ; Mon, 14 Nov 2005 15:01:11 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail23.sea5.speakeasy.net (mail23.sea5.speakeasy.net [69.17.117.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E4DE43D96 for ; Mon, 14 Nov 2005 15:00:57 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 18566 invoked from network); 14 Nov 2005 15:00:57 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail23.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 14 Nov 2005 15:00:56 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 6716328444; Mon, 14 Nov 2005 10:00:56 -0500 (EST) Sender: lowell@be-well.ilk.org To: Dave References: <000901c5e7da$2bf28cd0$0900a8c0@satellite> From: Lowell Gilbert Date: 14 Nov 2005 10:00:56 -0500 In-Reply-To: <000901c5e7da$2bf28cd0$0900a8c0@satellite> Message-ID: <44iruv9suv.fsf@be-well.ilk.org> Lines: 40 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: ntp handling in 6.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Nov 2005 15:01:11 -0000 "Dave" writes: > Hello, > Has ntp handling changed in 6.0-RELEASE? I've been through the > handbook and /etc/defaults/rc.conf but haven't found the answer to > this. I've got a machine acting as an ntp server for a network. When i > run ntpdate -b from another machine i get the error "No servers > suitable for synchronization found". Ntpd from these other boxes shows > the same. From the local ntp server to the ntp servers on the internet > works fine. > The local ntp server's configuration is as follows: > > /etc/rc.conf > ntpdate_enable="YES" > ntpdate_flags="-b servername" > ntpd_enable="YES" > ntpd_flags="-c /etc/ntp.conf -p /var/run/ntpd.pid" > > ntp.conf > server servername prefer > server servername > servername > driftfile /etc/ntp.drift > restrict 192.168.9.0 mask 255.255.255.0 notrust nomodify notrap > > and on client boxes: > > /etc/rc.conf > ntpdate_enable="YES" > ntpdate_flags="-b local ntp server IP" > ntpd_enable="YES" > ntpd_flags="-c /etc/ntp.conf -p /var/run/ntpd.pid" > > /etc/ntp.conf > server local-ntp-server-ip prefer > driftfile /etc/ntp.drift Is there an ntpd running? Is there a firewall in the way? What does ntpdc tell you?