Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jul 2006 16:02:13 -0500
From:      Jonathan Horne <jhorne@dfwlp.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: setting ntp-servers for ntpdate via dhcp
Message-ID:  <200607021602.13458.jhorne@dfwlp.com>
In-Reply-To: <44A8315F.3090600@locolomo.org>
References:  <44A8315F.3090600@locolomo.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 02 July 2006 15:49, Erik N=F8rgaard wrote:
> Hi:
>
> There is a dhcp-option, ntp-servers, to set which ntp-server to use. It
> would be quite useful with ntpdate. Does anyone have a patch to ntpdate
> startup script or other hack that use this option? - just before I start
> hacking myself...
>
> Thanks, Erik

my ntp options in /etc/rc.conf look like this:


ntpdate_enable=3D"YES"
ntpdate_hosts=3D"us.pool.ntp.org"
ntpd_enable=3D"YES"

when my system boots, ntpdate forces the time to syncronize (no matter how =
far=20
off it is), and then ntp takes over from there.

hth,
jonathan



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