Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Aug 2010 22:33:16 +0200
From:      =?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?= <faust64@gmail.com>
To:        Ed Flecko <edflecko@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to confirm/deny ntp is working?
Message-ID:  <AANLkTikh4VftJZxMwb9%2BY6xQN%2BsuV99=L3zJrCC=iXDS@mail.gmail.com>
In-Reply-To: <AANLkTinyo=_Hf27vaqqBUc8523v5Z%2BG5HcPXrG9KsHqG@mail.gmail.com>
References:  <AANLkTinyo=_Hf27vaqqBUc8523v5Z%2BG5HcPXrG9KsHqG@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
you may want add to your ntpd.conf:
driftfile /your/drift
logfile /your/log

to confirm, you can change your system date, and see wether it comes back t=
o
normal

Samuel Mart=EDn Moro
{EPITECH.} tek4
CamTrace S.A.S
  (+033) 1 41 38 37 60
  1 All=E9e de la Venelle
  92150 Suresnes
  FRANCE

"Nobody wants to say how this works.
  Maybe nobody knows ..."
                      Xorg.conf(5)


On Mon, Aug 2, 2010 at 10:23 PM, Ed Flecko <edflecko@gmail.com> wrote:

> Hi folks,
> I've read several different sources on setting up ntp on FreeBSD (I'm
> using 8.1), and they seem to vary a little, so I'm confused about how
> DO you set this up, and how do you confirm/deny that it's working?
>
> I've modified my /etc/ntp.conf file by commenting out:
>
> #server 0.freebsd.pool.ntp.org iburst maxpoll 9
> #server 1.freebsd.pool.ntp.org iburst maxpoll 9
> #server 2.freebsd.pool.ntp.org iburst maxpoll 9
> #server 3.freebsd.pool.ntp.org iburst maxpoll 9
>
> and changing them to read (I'm in the U.S.):
>
>  server 0.US.pool.ntp.org iburst maxpoll 9
>  server 1.US.pool.ntp.org iburst maxpoll 9
>  server 2.US.pool.ntp.org iburst maxpoll 9
>
> I have confirmed that I can ping these servers.
>
> I've added ntpd_enable=3D"YES" and ntpd_sync_on_start=3D"YES" to
> /etc/rc.conf and rebooted the server.
>
> 1.) Do I need to manually create the "driftfile" (/var/db/ntpd.drift)?
>
> 2.) Do I need to manually create the logfile (/var/log/ntp.log)?
>
> 3.) How do you confirm that FreeeBSD is, in fact, keeping time?
>
> Thank you,
> Ed
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikh4VftJZxMwb9%2BY6xQN%2BsuV99=L3zJrCC=iXDS>