Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Nov 2004 00:34:45 +0900
From:      Rob <spamrefuse@yahoo.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: ntpd v4.2 problem
Message-ID:  <41A35895.5080906@yahoo.com>
In-Reply-To: <20041123141250.GB51987@kierun.org>
References:  <41A3D0F5.1020406@ispro.net.tr> <20041123141250.GB51987@kierun.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Yann Golanski wrote:
> Quoth Evren Yurtesen on Tue, Nov 23, 2004 at 16:08:21 -0800
> 
>>The handbook seem to give wrong information about ntp and the manual 
>>page of ntp.conf is ?old? maybe?
>>
>>The notrust option obviously changed between v4.1 and v4.2...
>>http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ntp.html
>>
>>Can an ntpd guru have a look into that?
> 
> 
> My set up is as follows and it works fine on 4.10 and 5.3...
> 
>   # cat /etc/ntp.conf 
>   driftfile /var/db/ntp.drift
>   
>   server 0.pool.ntp.org
>   server 1.pool.ntp.org
>   server 2.pool.ntp.org
> 
>   # grep ntp /etc/rc.conf
>   ntpd_enable="YES"
>   ntpdate_flags="-b 0.pool.ntp.org"
>  
> But make sure your clocks are in sink at the start by using date.

or add "-g" with the ntpdate_flags, to forcefully adjust time
at the very beginning.

R.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41A35895.5080906>