How to confirm/deny ntp is working?

Samuel Martín Moro faust64 at gmail.com
Mon Aug 2 20:33:48 UTC 2010


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 to
normal

Samuel Martín Moro
{EPITECH.} tek4
CamTrace S.A.S
  (+033) 1 41 38 37 60
  1 Allée 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 at 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="YES" and ntpd_sync_on_start="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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list