Robert Nelson <[email protected]> wrote:
> On Thu, Dec 15, 2016 at 10:14 AM, Chris Green <[email protected]> wrote:
> > I run a headless BBB on my boat.  I need it to have the right time so
> > that information it sends is correctly time stamped.
> >
> > How can I get it to power up with the right time and date?  I have
> > installed ntp/ntpd to keep the time correct once up and running but it
> > doesn't initialise the time and date.  What's the way to do this?
> 
> Debian Wheezy or Jessie?
> 
It's Wheezy.


> In wheezy, setup a job to run at startup, check for connection and
> just run "ntpdate pool.ntp.org"
> 
OK, thanks, that seems straightforward.


> In Jessie, there's a systemd
> 
> sudo systemctl enable systemd-timesyncd.service || true
> 
> both cases rely on a active internet connection...
> 
Of course, yes.  If the internet isn't reliable is it worth running
'ntpdate' at intervals using cron so that if there isn't a connection
at startup it will get set when the internet does appear?

-- 
Chris Green
ยท

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/3kuaid-j04.ln1%40esprimo.zbmc.eu.
For more options, visit https://groups.google.com/d/optout.

Reply via email to