Another 11.1-RELEASE install minor annoyance (ntpd)
matthew at FreeBSD.org
Thu Oct 12 10:58:11 UTC 2017
On 12/10/2017 06:53, Kent Kuriyama wrote:
> What is happening is that your system clock is so far off that ntpd starts
> up and then shutdown because the time delta is too great.
> I just enable ntpdate. In /etc/rc.conf I have the lines:
> ntpdate_flags="-b" # Causes ntpdate to step the time regardless of delta
> Reboot the system, this should fix your problem.
> On Wed, Oct 11, 2017 at 7:32 PM, Ronald F. Guilmette <rfg at tristatelogic.com>
>> I dunno what went wrong here. During my fresh install of 11.1-RELEASE
>> I explicity selected that I wanted ntpd to run, and sure enough, in my
>> /etc/rc.conf file I see the line:
>> but "ps -ax | fgrep ntp" shows nothing running, and the time on this
>> system is way way WAY off.
>> What did I do wrong?
>> Is this another case where I have to poke an appropriate hole in my
>> Linksys E4200 router config, ya know, to make NTP work?
Nowadays, use of ntdate(8) is discouraged. The upstream has been
threatening to delete it from the distribution for years.
Instead, just give ntpd(8) the flags that allow it to reset the clock by
an arbitrary amount on startup. In /etc/rc.conf thats:
All your Linksys needs for NTP support is to allow UDP to any, port 123.
And the response packets, obviously.
More information about the freebsd-questions