If anti-theft is used with delegated leases (so the school server can give leases for a few weeks at a time), the XOs will trust a signed timestamp provided from the school server. However olpc-update-query will only reset the XO's clock if it is off by more than a day.<br>
<br>According to a comment in the code this is done to avoid messing with NTP, except our OS builds don't currently have NTP in them.<br><br>School servers run NTP servers which NTP clients can connect to. These are not currently configured to support running without an external NTP source, although they can be configured to do so.<br>
<br>If a locally accurate clock at the XS site is required and Internet is not available, NTP can use a cheap USB or serial GPS unit as a time source. Running gpsd or similar may be required depending on the GPS's supported protocol(s).<br>
<br>In any case if OLPC or Sugarlabs wants to formally integrate NTP services into our products, we should be polite and ask <a href="http://ntp.pool.org">ntp.pool.org</a> if we need our own vendor subdomain. These allow the NTP pool to shut off misbehaving clients without affecting other users, and Fedora and CentOS already have their own.<br>
<br><br><div class="gmail_quote">On Mon, Aug 27, 2012 at 9:39 AM, Tony Anderson <span dir="ltr"><<a href="mailto:tony_anderson@usa.net" target="_blank">tony_anderson@usa.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
In a school deployment, it is desirable that all of the XOs have the same time. This time should be synchronized with/by the school server (even if the school server is wrong). It is not reasonable to base this capability on access to the internet.<br>
<br>
Casio sells 'atomic' watches that synchronize to Ft. Collins by radio. Neat, but how does this work in Rwanda?<br>
<br>
Tony<br>
<br>
On 08/27/2012 03:19 PM, <a href="mailto:devel-request@lists.laptop.org" target="_blank">devel-request@lists.laptop.org</a> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Send Devel mailing list submissions to<br>
<a href="mailto:devel@lists.laptop.org" target="_blank">devel@lists.laptop.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.laptop.org/listinfo/devel" target="_blank">http://lists.laptop.org/<u></u>listinfo/devel</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:devel-request@lists.laptop.org" target="_blank">devel-request@lists.laptop.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:devel-owner@lists.laptop.org" target="_blank">devel-owner@lists.laptop.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Devel digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: Impossible to set date in 11.3.0? (James Cameron)<br>
2. Re: Firmware issu (Kevin Gordon)<br>
3. Re: Firmware issu (Kevin Gordon)<br>
4. Re: Impossible to set date in 11.3.0? (Kevin Gordon)<br>
<br>
<br>
------------------------------<u></u>------------------------------<u></u>----------<br>
<br>
Message: 1<br>
Date: Mon, 27 Aug 2012 18:43:39 +1000<br>
From: James Cameron<<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>><br>
To: <a href="mailto:devel@lists.laptop.org" target="_blank">devel@lists.laptop.org</a><br>
Subject: Re: Impossible to set date in 11.3.0?<br>
Message-ID:<<a href="mailto:20120827084339.GH7830@us.netrek.org" target="_blank">20120827084339.<u></u>GH7830@us.netrek.org</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
On Sat, Aug 25, 2012 at 01:07:35PM -0400, Samuel Greenfeld wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
To the best of my knowledge this is an intentional omission for<br>
antitheft reasons. Instructions on how to set the clock from OFW or<br>
the command line are at <a href="http://wiki.laptop.org/go/Fix_Clock" target="_blank">http://wiki.laptop.org/go/Fix_<u></u>Clock</a> .<br>
</blockquote>
<br>
I think the task of setting the clock should be split from the<br>
problems that lead to it described in that page. It is far too scary<br>
looking.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If using the "date" command is not sufficient to permanently store<br>
the change, "hwclock --systohc" or similar may also need to be used.<br>
</blockquote>
<br>
"date" followed by a successful normal shutdown should work, because a<br>
normal shutdown runs hwclock ... but "hwclock --systohc" is handy in<br>
case you aren't sure that a normal shutdown will happen next.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
In newer firmware builds (potentially newer than 11.3.0's), Open<br>
Firmware can log into a Open, WEP, or WPA-PSK secured access point<br>
and use NTP to set the time. To do this use the "essid" command<br>
followed by the actual ESSID to set the ESSID, "wep" or "wpa" to set<br>
the password, and "ntp-set-clock" (without any parameters) to query<br>
a server from the public NTP pool and get the current time.<br>
</blockquote>
<br>
The firmware included with 11.3.0 can already do ntp-set-clock with<br>
open wireless access points and USB Ethernet adapters. More recent<br>
firmware fixed WEP and WPA-PSK, if I recall correctly.<br>
<br>
(Nothing to do with WEP and WPA-PSK in Linux though, you can stay on<br>
older firmware for that.)<br>
<br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
Devel mailing list<br>
<a href="mailto:Devel@lists.laptop.org" target="_blank">Devel@lists.laptop.org</a><br>
<a href="http://lists.laptop.org/listinfo/devel" target="_blank">http://lists.laptop.org/<u></u>listinfo/devel</a><br>
</blockquote></div><br>