From owner-freebsd-questions@FreeBSD.ORG Tue Jul 1 17:28:56 2008 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 C0B5B106567A for ; Tue, 1 Jul 2008 17:28:56 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: from ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id 5C8008FC0A for ; Tue, 1 Jul 2008 17:28:56 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: (qmail 2234 invoked by uid 89); 1 Jul 2008 17:30:36 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 1 Jul 2008 17:30:36 -0000 Message-ID: <486A6959.7090805@ibctech.ca> Date: Tue, 01 Jul 2008 13:28:57 -0400 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: "B. Cook" References: <0911AC74-A73F-4F8B-8495-1FF2DC959B65@poughkeepsieschools.org> In-Reply-To: <0911AC74-A73F-4F8B-8495-1FF2DC959B65@poughkeepsieschools.org> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: OpenNTPd howto? 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: Tue, 01 Jul 2008 17:28:56 -0000 B. Cook wrote: > Hello All, Hey, > root@core [/usr/local/etc]# 32 > ntpdate -b clock.nyc.he.net > 1 Jul 12:49:57 ntpdate[70917]: step time server 209.51.161.238 offset > 358.732506 sec > > Why when it was running did it not update the clock on the server? My first guess, which is only a guess, is that your secure level is too high for this to work. If your securelevel is set above zero, then your clock can only be adjusted by a maximum of one second (please correct me if this has changed since 4.x). Check the output of: sysctl -a kern.securelevel > Strange thing two: > > From a different computer I can not get the time from the server > running openntpd. > > # ntpdate -b 10.20.0.16 > 1 Jul 12:50:23 ntpdate[679]: no server suitable for synchronization found Have you confirmed that a clock server runs on that IP? Is the IP reachable? If securelevel still has its place with affecting time changes, I'd try 'breaking' that to see if the time will actually update. Note that securelevel must be changed via a startup variable of some sort, and a reboot is required. Then I would proceed to ensure that 10.20.0.16 is actually running a timeserver that the network can reach. Steve