[ntp:questions] ntp.conf on FreeBSD

Brian Inglis Brian.Inglis at SystematicSw.ab.ca
Sat Oct 12 18:25:48 UTC 2013


On 2013-10-12 11:03, unruh wrote:
> On 2013-10-12, Steve Kostecke <kostecke at ntp.org> wrote:
>> On 2013-10-12, Charles Elliott <elliott.ch at verizon.net> wrote:
>>
>>> I built a NAS using FreeNAS, which is in turn based on FreeBSD, which
>>> has ntpd installed. I need to find ntp.conf so I can configure it for
>>> broadcast mode and maybe the GPS, but I cannot find it. It is not in
>>> /etc.
>>
>> http://doc.freenas.org/index.php/NTP_Servers discusses NTP configuration
>> for FreeNAS.
>>
>>> Does anyone know where I should expect to find ntp.conf on FreeBSD?
>>
>> According to an article in the discussion thread at
>> http://forums.freenas.org/threads/how-do-i-modify-an-etc-conf.10723/
>>
>> "If you want to add additional settings to /etc/ntp.conf, you'll need to
>> hack /etc/rc.d/ix-ntpd (applying the changes to
>> /conf/base/etc/rc.d/ix-ntpd to make them permanent) as it is ix-ntpd
>> that writes out /etc/ntp.conf from scratch each the ntpd service is
>> started... You can also create the additional file from within ix-ntpd.
>> I'm really not sure why there is an ntp.conf at all in /conf/base/etc,
>> as it's ignored."
>
> That really sounds amazingly stupid. Especially knowing the hash that
> many distributions make of ntp.conf (eg automatically enabling the local
> server, and hardcoding in totally inappropriate servers.) The prupose of
> .conf files is to configure optional things. What is in ix-ntpd?

The first link shows they use the freebsd Poul^Wpool ;^> with iburst minpoll 6 
maxpoll 9, allow additional servers to be added defaulted to iburst minpoll 6 
maxpoll 10, with prefer, force, and burst options allowed, and decent comments 
on their use.



More information about the questions mailing list