<br><br><div class="gmail_quote">On Mon, Aug 27, 2012 at 4:43 AM, James Cameron <span dir="ltr"><<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Sat, Aug 25, 2012 at 01:07:35PM -0400, Samuel Greenfeld wrote:<br>
> 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_Clock</a> .<br>
<br>
</div>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>
<div class="im"><br>
> 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>
<br>
</div>"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></blockquote><div><br></div><div>Here's a little set of instructions that we use to customize for the right time-zone and current utc date.  We also save a script and it sits on all of our builds, Unfortunately, we are either busy or lazy :-)  and we have the deployments change the script and run as need be, and we haven't done a UI. It extracts info from the wiki and summarizes some of what's here, but this process adds the local time-zone too, in this example EST.  We cannot guarantee internet connectivity, hence this less elegant method.</div>
<div><br></div><div>====================================</div><div>Once Linux has booted, login at a root terminal (e.g. press Ctrl+Alt+F2) or perform as superuser:</div><div><p>date --utc --set="2012-08-26 18:30:40"</p>
<p>cd /etc</p><p>ln -sf /usr/share/zoneinfo/EST localtime</p><p>/sbin/hwclock --systohc</p><p>shutdown</p>
<p>(Don't force a shutdown by holding down the power button, because then the change won't be stored.) </p><p>=======================================</p><p><br></p><p>Building an input UI for date and time-zone parms is on our list, just never seems to bubble to the top.</p>
<p><br></p><p>KG</p></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
> 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>
<br>
</div>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>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
James Cameron<br>
<a href="http://quozl.linux.org.au/" target="_blank">http://quozl.linux.org.au/</a><br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Devel mailing list<br>
<a href="mailto:Devel@lists.laptop.org">Devel@lists.laptop.org</a><br>
<a href="http://lists.laptop.org/listinfo/devel" target="_blank">http://lists.laptop.org/listinfo/devel</a><br>
</div></div></blockquote></div><br>