Clock?

Bernardo Innocenti bernie at codewiz.org
Sat Dec 22 03:07:22 EST 2007


Joshua Minor wrote:
> Is it reasonable to assume that the XO's clock is set correctly?   
> Specifically I'd like to use python's time.time() to determine which  
> participant of an activity has been using it the longest.

A NetworkManager callout could set it, but it seems we're not
doing it yet.

> Alternately, is there a simple way to query the network for the  
> current time?

Try:

   ntpdate pool.ntp.org

This will also set the system clock, but not save the time
in the hardware clock.

We're also not setting the TZ correctly at this time, and I'm
almost sure that couldn't be done automatically from the
manufacturing data.

-- 
 \___/
 |___|   Bernardo Innocenti - http://www.codewiz.org/
  \___\  One Laptop Per Child - http://www.laptop.org/



More information about the Devel mailing list