Re: [IAEP] [Testing] [support-gang] 12-Year-Old XOs (even 18-yesr-olds)

2011-08-30 Thread Caryl Bigenho

Hi...
Tabitha was right!  There is something funny happening with the date/time 
settings on the 10 XO-1s I am transferring to another project.
Last night I reflashed all 10 of the machines to 11.2.0 (os874).  This morning 
I met with the two teachers, who will be using the machines most, to orient 
them on the ins and outs of the XO and Sugar.  We used 3 of the machines for 
the workshop.  While working we found funny dates coming up so, following 
Tabitha's advice, I showed them how to go to Terminal and ask for the date.
Two of us had dates in 1999.  The other one was in 2028!  These machines are 
XO-1s from a CP project that was stalled.  They appear to be in new, or 
near-new, condition so I doubt they have a problem with the clock battery. 
(They boot just fine).
So, how do we reset to the current time?  In the "Fix Clock" section of the 
wiki there are instructions for resetting the date and time if you can "Boot 
Into Linux."  Since Sugar can boot just fine, can we just go into Terminal and 
put in the same command?
http://wiki.laptop.org/go/Fix_Clock#If_the_screen_turns_on_and_you_can_boot_into_Linux
Will the change persist through future boots and software updates?  If the fix 
is something else... what is it?
Thanks!
Caryl
Date: Mon, 29 Aug 2011 19:30:48 +1200
From: tabi...@tabitha.net.nz
To: support-g...@lists.laptop.org
CC: iaep@lists.sugarlabs.org; test...@lists.laptop.org
Subject: Re: [Testing] [support-gang] 12-Year-Old XOs (even 18-yesr-olds)

On 29 August 2011 16:16, Caryl Bigenho  wrote:






Later, when I looked at the Journal entries on some of the machines, I found 
they were incredibly old like 12 years! (Image3). There was one that said 
"18 years ago" also, but I seem to have misplaced the image.

Did you check what year the laptop thought it was? 
If prior to you making any changes the laptop time was set to very far in the 
past, and then while doing the updating the time got reset to the current time, 
or anytime 12 years later than when the journal entries were created, then you 
could get that time showing in the journal. 

To check the current time set on the laptop, open terminal and type date and 
press enter. 
Tabitha


___
Testing mailing list
test...@lists.laptop.org
http://lists.laptop.org/listinfo/testing
  ___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep

Re: [IAEP] [Testing] [support-gang] 12-Year-Old XOs (even 18-yesr-olds)

2011-08-31 Thread James Cameron
G'day Caryl,

If the XO-1s were left unused for many months, the tiny internal battery
that runs the clock may have discharged, and this would cause the time
to reset or become corrupt.  When redeploying laptops from old stock,
setting the date and time is a common task.

Yes,
http://wiki.laptop.org/go/Fix_Clock#If_the_screen_turns_on_and_you_can_boot_into_Linux
is a correct method, although I think you have to tell it the UTC time,
not your local time.  The normal shutdown after this is important,
because that is when the system time is stored in the internal clock.

Yes, if you choose not to use the virtual console root terminal
(Ctrl+Alt+F1) and instead use the Terminal activity in Sugar, it will
work, but you must first become root using either the root button on the
Terminal toolbar, or type su then enter.  The extra complexity of this
may outweigh the complexity of just following the instructions above.

If you have an open wireless access point with an easy to type network
name, then OpenFirmware can set the clock using the internet, no need to
type the time in:

ok  essid networkname
ok  ntp-set-clock pool.ntp.org
ok  .clock

... and no need to shutdown carefully.

The change will persist through boots and software updates, including
complete wipes.  It won't persist through several months of non-use.

-- 
James Cameron
http://quozl.linux.org.au/
___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep


Re: [IAEP] [Testing] [support-gang] 12-Year-Old XOs (even 18-yesr-olds)

2011-08-31 Thread Caryl Bigenho

Thanks James, Tabitha, and all...
I already sent the instructions using the Open Firmware instructions.  I 
rewrote it so it is very easy to follow and suggested they may even want to 
have some of their middle school students help with this.  
I had originally figured that Terminal would be the way to go, but forgot about 
having to go to root to do it.  No matter, they will still be using Terminal to 
check the date after changing, shutting down and restarting.
So... the RTC battery probably went dead? Will charging the machines for 
several hours also recharge it?  I had them on charge overnight the other day 
so maybe that took care of if.
I will play with the Terminal method and see if I can simplify those 
instructions too.  Is there a place on the wiki where I should post these 
"teacher-eze" versions of the instructions?  Sort of a Grannie's guide to 
resetting the clock.
Caryl

> Date: Wed, 31 Aug 2011 07:31:03 +1000
> From: qu...@laptop.org
> To: cbige...@hotmail.com
> CC: tabi...@tabitha.net.nz; support-g...@lists.laptop.org; 
> iaep@lists.sugarlabs.org; test...@lists.laptop.org
> Subject: Re: [Testing] [support-gang] 12-Year-Old XOs (even 18-yesr-olds)
> 
> G'day Caryl,
> 
> If the XO-1s were left unused for many months, the tiny internal battery
> that runs the clock may have discharged, and this would cause the time
> to reset or become corrupt.  When redeploying laptops from old stock,
> setting the date and time is a common task.
> 
> Yes,
> http://wiki.laptop.org/go/Fix_Clock#If_the_screen_turns_on_and_you_can_boot_into_Linux
> is a correct method, although I think you have to tell it the UTC time,
> not your local time.  The normal shutdown after this is important,
> because that is when the system time is stored in the internal clock.
> 
> Yes, if you choose not to use the virtual console root terminal
> (Ctrl+Alt+F1) and instead use the Terminal activity in Sugar, it will
> work, but you must first become root using either the root button on the
> Terminal toolbar, or type su then enter.  The extra complexity of this
> may outweigh the complexity of just following the instructions above.
> 
> If you have an open wireless access point with an easy to type network
> name, then OpenFirmware can set the clock using the internet, no need to
> type the time in:
> 
>   ok  essid networkname
>   ok  ntp-set-clock pool.ntp.org
>   ok  .clock
> 
> ... and no need to shutdown carefully.
> 
> The change will persist through boots and software updates, including
> complete wipes.  It won't persist through several months of non-use.
> 
> -- 
> James Cameron
> http://quozl.linux.org.au/
  ___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep

Re: [IAEP] [Testing] [support-gang] 12-Year-Old XOs (even 18-yesr-olds)

2011-08-31 Thread James Cameron
On Wed, Aug 31, 2011 at 05:43:28PM -0700, Caryl Bigenho wrote:
> So... the RTC battery probably went dead? Will charging the machines
> for several hours also recharge it?  I had them on charge overnight
> the other day so maybe that took care of if.

No.  The charging only happens when the laptop is on, as far as I can
tell from the circuit.  It doesn't happen when the laptop is suspended.

However, a small amount of charging will run the clock for quite a long
time.

I don't have a clue how much charging is required to charge the clock
battery from a fully flat state.  Perhaps Richard knows.

> I will play with the Terminal method and see if I can simplify those
> instructions too.  Is there a place on the wiki where I should post these
> "teacher-eze" versions of the instructions?  Sort of a Grannie's guide to
> resetting the clock.

Good idea.

I searched for ntp-set-clock using Google:

site:wiki.laptop.org "ntp-set-clock"

There was no other reference than the firmware version when it was
added.  So a place to post these instructions would be good.

Setting the date and time within Sugar is reasonably well covered here:
http://wiki.laptop.org/go/Sugar_Control_Panel#Time
.. but I recall that some builds don't even have ntpdate, and the
instructions don't account for that.

Older instructions can be found here:
http://wiki.laptop.org/go/Test_Config_Notes#Fixing_XO_clock_data

-- 
James Cameron
http://quozl.linux.org.au/
___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep


Re: [IAEP] [Testing] [support-gang] 12-Year-Old XOs (even 18-yesr-olds)

2011-09-12 Thread John Watlington

On Sep 1, 2011, at 12:55 AM, James Cameron wrote:

> On Wed, Aug 31, 2011 at 05:43:28PM -0700, Caryl Bigenho wrote:
>> So... the RTC battery probably went dead? Will charging the machines
>> for several hours also recharge it?  I had them on charge overnight
>> the other day so maybe that took care of if.
> 
> No.  The charging only happens when the laptop is on, as far as I can
> tell from the circuit.  It doesn't happen when the laptop is suspended.

On XO-1 and XO-1.75, the RTC battery is only charged when the
laptop is actually turned on and not suspended.   On XO-1.5, the
RTC battery is charged even when the laptop is turned off.

All laptops will preferentially power the RTC from the main battery or
DC input, if present.

> However, a small amount of charging will run the clock for quite a long
> time.
> 
> I don't have a clue how much charging is required to charge the clock
> battery from a fully flat state.  Perhaps Richard knows.

We charge that battery very slowly to extend its life.   Best estimates
based on the manufacturer's data is that you should reach 80% of full
charge after 20 hours of charging, and 95+% after 30 hours of charging.

> I searched for ntp-set-clock using Google:
> 
>   site:wiki.laptop.org "ntp-set-clock"

I learn some new function of OFW every week!
It looks like that function requires the presence of an access point called 
"OLPCOFW"
which provides DHCP and connectivity to an NTP server with name "time", 
"172.18.0.1",
or one of the various NTP pool servers.   Did I misrepresent it ?

Cheers,
wad

___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep


Re: [IAEP] [Testing] [support-gang] 12-Year-Old XOs (even 18-yesr-olds)

2011-09-12 Thread James Cameron
On Tue, Sep 13, 2011 at 02:03:45AM -0400, John Watlington wrote:
> On Sep 1, 2011, at 12:55 AM, James Cameron wrote:
> > I searched for ntp-set-clock using Google:
> > 
> > site:wiki.laptop.org "ntp-set-clock"
> 
> I learn some new function of OFW every week!
> It looks like that function requires the presence of an access point
> called "OLPCOFW" which provides DHCP and connectivity to an NTP server
> with name "time", "172.18.0.1", or one of the various NTP pool
> servers.   Did I misrepresent it ?

Only slightly.  It works great with a supported USB to ethernet adaptor,
or if you type the ESSID of your WiFi first:

ok wifi thingamebob
ok ntp-set-clock

If no ESSID is given, the default is OLPCOFW.

-- 
James Cameron
http://quozl.linux.org.au/
___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep


Re: [IAEP] [Testing] [support-gang] 12-Year-Old XOs (even 18-yesr-olds)

2011-09-13 Thread Caryl Bigenho

Hi All...
Translations for "the rest of us":
DHCP:  http://www.webopedia.com/TERM/D/DHCP.html


OFW: http://acronyms.thefreedictionary.com/OFW  (pick one out of 12!)


NTP: http://en.wikipedia.org/wiki/Network_Time_Protocol


ESSID: http://www.cryer.co.uk/glossary/e/essid.htm


RTC: Real Time Clock
Caryl ;-D


> Date: Tue, 13 Sep 2011 16:24:58 +1000
> From: qu...@laptop.org
> To: w...@laptop.org
> CC: cbige...@hotmail.com; iaep@lists.sugarlabs.org; test...@lists.laptop.org; 
> support-g...@lists.laptop.org
> Subject: Re: [Testing] [support-gang] 12-Year-Old XOs (even 18-yesr-olds)
> 
> On Tue, Sep 13, 2011 at 02:03:45AM -0400, John Watlington wrote:
> > On Sep 1, 2011, at 12:55 AM, James Cameron wrote:
> > > I searched for ntp-set-clock using Google:
> > > 
> > >   site:wiki.laptop.org "ntp-set-clock"
> > 
> > I learn some new function of OFW every week!
> > It looks like that function requires the presence of an access point
> > called "OLPCOFW" which provides DHCP and connectivity to an NTP server
> > with name "time", "172.18.0.1", or one of the various NTP pool
> > servers.   Did I misrepresent it ?
> 
> Only slightly.  It works great with a supported USB to ethernet adaptor,
> or if you type the ESSID of your WiFi first:
> 
>   ok wifi thingamebob
>   ok ntp-set-clock
> 
> If no ESSID is given, the default is OLPCOFW.
> 
> -- 
> James Cameron
> http://quozl.linux.org.au/
  ___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep

Re: [IAEP] [Testing] [support-gang] 12-Year-Old XOs (even 18-yesr-olds)

2011-09-13 Thread Caryl Bigenho

Hi Again,
The OLPC wiki didn't come up on my google search for OFW.  At least, not on the 
first page.  Is there a glossary on our wiki that  links to pages with 
definitions? If there isn't, there should be.  A lot of folks don't know the 
jargon yet!
Caryl

Date: Tue, 13 Sep 2011 07:28:36 -1000
From: w...@laptop.org
To: cbige...@hotmail.com
CC: qu...@laptop.org; w...@laptop.org; iaep@lists.sugarlabs.org; 
test...@lists.laptop.org; support-g...@lists.laptop.org
Subject: Re: [Testing] [support-gang] 12-Year-Old XOs (even 18-yesr-olds)


  



  
  




On 9/13/2011 4:48 AM, Caryl Bigenho wrote:

  
  
Hi All...



Translations for "the rest of us":




  DHCP:  http://www.webopedia.com/TERM/D/DHCP.html
  

  
  OFW: http://acronyms.thefreedictionary.com/OFW 
(pick one out of 12!)

  



How about the OLPC wiki as a source?  http://wiki.laptop.org/go/OFW




  

  

  
  NTP: http://en.wikipedia.org/wiki/Network_Time_Protocol
  

  
  ESSID: http://www.cryer.co.uk/glossary/e/essid.htm
  

  
  RTC: Real Time Clock
  

  
  Caryl ;-D
  

  
  

  
  

  > Date: Tue, 13 Sep 2011 16:24:58 +1000

> From: qu...@laptop.org

> To: w...@laptop.org

> CC: cbige...@hotmail.com; iaep@lists.sugarlabs.org;
test...@lists.laptop.org; support-g...@lists.laptop.org

> Subject: Re: [Testing] [support-gang] 12-Year-Old XOs
(even 18-yesr-olds)

> 

> On Tue, Sep 13, 2011 at 02:03:45AM -0400, John
Watlington wrote:

> > On Sep 1, 2011, at 12:55 AM, James Cameron wrote:

> > > I searched for ntp-set-clock using Google:

> > > 

> > > site:wiki.laptop.org "ntp-set-clock"

> > 

> > I learn some new function of OFW every week!

> > It looks like that function requires the presence
of an access point

> > called "OLPCOFW" which provides DHCP and
connectivity to an NTP server

> > with name "time", "172.18.0.1", or one of the
various NTP pool

> > servers. Did I misrepresent it ?

> 

> Only slightly. It works great with a supported USB to
ethernet adaptor,

> or if you type the ESSID of your WiFi first:

> 

> ok wifi thingamebob

> ok ntp-set-clock

> 

> If no ESSID is given, the default is OLPCOFW.

> 

> -- 

> James Cameron

> http://quozl.linux.org.au/

  

  
  

  
  

  ___
Testing mailing list
test...@lists.laptop.org
http://lists.laptop.org/listinfo/testing

  ___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep