Date: Tue, 10 Jan 2017 13:32:20 -0700 From: Ian Lepore <ian@freebsd.org> To: jungle Boogie <jungleboogie0@gmail.com>, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: NTP boot at start on bbone black Message-ID: <1484080340.96230.90.camel@freebsd.org> In-Reply-To: <CAKE2PDvxy4H6Qi_sTh1kUB1OVQ2TiAJoYOwe9w=Vb8U2aon6GQ@mail.gmail.com> References: <CAKE2PDvxy4H6Qi_sTh1kUB1OVQ2TiAJoYOwe9w=Vb8U2aon6GQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2017-01-10 at 12:26 -0800, jungle Boogie wrote: > Sorry, forgot a subject! > > On 10 January 2017 at 12:26, jungle Boogie <jungleboogie0@gmail.com> > wrote: > > > > Hi All, > > > > Running latest 12-current snapshot on a beagle bone black: > > % uname -a > > FreeBSD beaglebone 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r311461: > > Fri > > Jan 6 03:13:01 UTC 2017 > > root@releng3.nyi.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/BEAGLEB > > ONE > > arm > > > > I have ntp setup to start at boot: > > % cat /etc/rc.conf > > hostname="beaglebone" > > ifconfig_DEFAULT="DHCP" > > sshd_enable="YES" > > sendmail_enable="NONE" > > sendmail_submit_enable="NO" > > sendmail_outbound_enable="NO" > > sendmail_msp_queue_enable="NO" > > growfs_enable="YES" > > ntpd_enable="YES" > > > > And yet, no ntp process is running. > > > > % ntpq -p > > ntpq: read: Connection refused > > > > > > What's the trick to get ntp to start at boot to sync time? > > > > Thanks! Add ntpd_sync_on_start=YES and it should work. Ntpd is most likely panicking and exiting because it's afraid to step the clock more than 1000 seconds, which is needed on systems that don't have a battery- backed clock and start up with a time far in the past. Using the sync on start option gives ntpd permission to step the clock any amount it needs to, just one time at startup. -- Ian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1484080340.96230.90.camel>