Hmm... interesting.  I should try to look at the scripts and decipher it 
sometime.

I didn't use Derek Molloy's techniques, but I've been using the one liner 
connman

http://exadler.blogspot.ca/2013/11/setting-correct-datetime-on-beaglebone.html

Which works wheneven connman detects a network connection (basically it is 
effectively run on an ifup on an interface).  This seems to work reliably 
on Angstrom builds.

Paul Tan.
http://exadler.myshopify.com/




On Sunday, November 10, 2013 5:41:19 PM UTC-5, [email protected] wrote:
>
> Hello,
>
> I'm trying to understand how the BeagleBone Black synchronize his clock.
>
> I have read the Derek Molloy blog (
> http://derekmolloy.ie/automatically-setting-the-beaglebone-black-time-using-ntp/)
>  
> but I want to understand the solution provided by the Angstrom distribution.
>
> My BeagleBone clock is correctly set up when I start it with the Wifi USB 
> key. It's set up without any specific configuration. For example I don't 
> change the /etc/default/ntpdate file so the NTPSERVERS is still empty.
> My interpretation of the /usr/bin/ntpdate-sync script is that it exit 
> without calling nptdate if the NTPSERVERS is empty:
>
> if [ "$NTPSERVERS" = "" ] ; then
>     if [ "$METHOD" = "" -a "$1" != "silent" ] ; then
>         echo "Please set NTPSERVERS in /etc/default/ntpdate"
>         exit 1
>     else
>         exit 0
>     fi
> fi
>
> Does it mean the BeagleBone clock is another way ? or does I'm wrong ?
>
>

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to