From owner-freebsd-questions@FreeBSD.ORG Tue Aug 3 04:47:29 2010 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 EFDFE1065673 for ; Tue, 3 Aug 2010 04:47:29 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from mail.gelita.se (212-162-182-244.skbbip.com [212.162.182.244]) by mx1.freebsd.org (Postfix) with ESMTP id A89ED8FC15 for ; Tue, 3 Aug 2010 04:47:29 +0000 (UTC) Received: from mail.gelita.se (localhost.gelita.se [127.0.0.1]) by mail.gelita.se (Postfix) with ESMTP id 99FD910E77C; Tue, 3 Aug 2010 06:32:46 +0200 (CEST) X-Virus-Scanned: amavisd-new at troback.com Received: from mail.gelita.se ([127.0.0.1]) by mail.gelita.se (mail.gelita.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z0axq5XGRB1f; Tue, 3 Aug 2010 06:32:40 +0200 (CEST) Received: from bljbsd01.no-ip.org (c-195-216-040-164.static.bjare.net [195.216.40.164]) by mail.gelita.se (Postfix) with ESMTP id 9652010E50A; Tue, 3 Aug 2010 06:32:40 +0200 (CEST) Message-ID: <4C579B07.90808@eskk.nu> Date: Tue, 03 Aug 2010 06:28:55 +0200 From: Leslie Jensen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; sv-SE; rv:1.9.1.8) Gecko/20100302 Thunderbird/3.0.3 MIME-Version: 1.0 To: Volodymyr Kostyrko References: <4C572B3D.4050802@gmail.com> In-Reply-To: <4C572B3D.4050802@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: How to confirm/deny ntp is working? 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, 03 Aug 2010 04:47:30 -0000 On 2010-08-02 22:31, Volodymyr Kostyrko wrote: > 02.08.2010 23:23, Ed Flecko wrote: > >> 1.) Do I need to manually create the "driftfile" (/var/db/ntpd.drift)? > > Nope. > >> 2.) Do I need to manually create the logfile (/var/log/ntp.log)? > > Nope. > >> 3.) How do you confirm that FreeeBSD is, in fact, keeping time? > > pgrep ntp > ntpq -p > echo daily_status_ntpd_enable=yes > /etc/periodic.conf > Shouoldn't it be "YES" and >> so that it do not overwrite your present file? echo daily_status_ntpd_enable="YES" >> /etc/periodic.conf /Leslie