Re: [Sugar-devel] Clocks on XOs

2010-08-18 Thread Bernie Innocenti
El Wed, 07-07-2010 a las 01:58 -0400, Kevin Mark escribió: > On Tue, Jul 06, 2010 at 05:03:02PM -0400, Bernie Innocenti wrote: > > > > PS: I just found yet another laptop which won't activate because the > > clock was set to 15 July 2000 (not 2010!). Do you see many of these? > just a query as I d

Re: [Sugar-devel] Clocks on XOs

2010-07-07 Thread C. Scott Ananian
On Sat, Jul 3, 2010 at 9:54 AM, Bernie Innocenti wrote: >> NetworkManager used to call ntpdate when it setup a connection.  Was that an >> OLPC addition? Yes, although it's now present in litl's software builds as well. > We figured out that the ntp package has never been present on the XO > ima

Re: [Sugar-devel] Clocks on XOs

2010-07-07 Thread Martin Langhoff
On Tue, Jul 6, 2010 at 10:14 PM, Bernie Innocenti wrote: >>  And that there are efforts to solve that in the future. > > Oh, I was unaware of this. Who is working on it, and what's the exact > plan? http://dev.laptop.org/ticket/9564 Now, folks, please be careful here with all the exaggeration an

Re: [Sugar-devel] Clocks on XOs

2010-07-06 Thread Kevin Mark
On Tue, Jul 06, 2010 at 04:36:55PM -0600, Daniel Drake wrote: > > > PS: I just found yet another laptop which won't activate because the > > clock was set to 15 July 2000 (not 2010!). Do you see many of these? > > This was probably a human error in the Fix_clock repair process that > happened on

Re: [Sugar-devel] Clocks on XOs

2010-07-06 Thread Kevin Mark
On Tue, Jul 06, 2010 at 05:03:02PM -0400, Bernie Innocenti wrote: > > PS: I just found yet another laptop which won't activate because the > clock was set to 15 July 2000 (not 2010!). Do you see many of these? just a query as I dont know the details of activation: if the rtc is off by a year or mo

Re: [Sugar-devel] Clocks on XOs

2010-07-06 Thread Bernie Innocenti
On Tue, 2010-07-06 at 16:36 -0600, Daniel Drake wrote: > On 6 July 2010 15:03, Bernie Innocenti wrote: > > Well, granting root access from the console already weakens it to the > > point of being useless. Who would bother to setup a fake DHCP, DNS and > > NTP server when it takes 20 seconds to cra

Re: [Sugar-devel] Clocks on XOs

2010-07-06 Thread Daniel Drake
On 6 July 2010 15:03, Bernie Innocenti wrote: > Well, granting root access from the console already weakens it to the > point of being useless. Who would bother to setup a fake DHCP, DNS and > NTP server when it takes 20 seconds to crack it from the console? :-) Right. So with that logic, lets ju

Re: [Sugar-devel] Clocks on XOs

2010-07-06 Thread Martin Langhoff
On Sat, Jul 3, 2010 at 9:54 AM, Bernie Innocenti wrote: > Likely so, but the software should be able to compensate for it. After > discussing it on IRC, it seems that olpc-update-query should > automatically update the clock from the OATS server. Do _not_ rely on this for accurate clock setting.

Re: [Sugar-devel] Clocks on XOs

2010-07-06 Thread Bernie Innocenti
On Tue, 2010-07-06 at 11:21 -0600, Daniel Drake wrote: > I think it's fine that individual deployments can do it. But it > shouldn't be done globally because it weakens the security system. Which security system, the theft deterrence? Well, granting root access from the console already weakens i

Re: [Sugar-devel] Clocks on XOs

2010-07-06 Thread Daniel Drake
On 6 July 2010 10:10, Bernie Innocenti wrote: > Laptops with anti-theft enabled can get the time from the OATS server > when it's off by more than 24 hours. Unlocked laptops don't have a way > to synchronize the time at all. > > All we need to fix it is a trivial shell script. Why not do it? I th

Re: [Sugar-devel] Clocks on XOs

2010-07-06 Thread Bernie Innocenti
On Mon, 2010-07-05 at 08:22 -0600, Daniel Drake wrote: > On 3 July 2010 16:52, Bernie Innocenti wrote: > > I checked: olpc-update-query only sets the clock if it's off by more > > than 24hours, so it cannot serve as a replacement for ntpdate. > > What's the requirement for super-accurate clocks o

Re: [Sugar-devel] Clocks on XOs

2010-07-05 Thread Daniel Drake
On 3 July 2010 16:52, Bernie Innocenti wrote: > I checked: olpc-update-query only sets the clock if it's off by more > than 24hours, so it cannot serve as a replacement for ntpdate. What's the requirement for super-accurate clocks on the XO? Daniel ___

Re: [Sugar-devel] Clocks on XOs

2010-07-03 Thread Bernie Innocenti
El Sat, 03-07-2010 a las 09:54 -0400, Bernie Innocenti escribió: > Likely so, but the software should be able to compensate for it. After > discussing it on IRC, it seems that olpc-update-query should > automatically update the clock from the OATS server. I checked: olpc-update-query only sets th

Re: [Sugar-devel] Clocks on XOs

2010-07-03 Thread Sascha Silbe
Excerpts from Hal Murray's message of Sat Jul 03 18:42:48 + 2010: > >> On top of that, ntpd doesn't get along with power saving mode. > > I haven't noticed anything odd. Either it's been fixed in the meantime or it > > was only subtle misbehaviour. Do you have a ticket number or link to a > >

Re: [Sugar-devel] Clocks on XOs

2010-07-03 Thread Hal Murray
>> On top of that, ntpd doesn't get along with power saving mode. > I haven't noticed anything odd. Either it's been fixed in the meantime or it > was only subtle misbehaviour. Do you have a ticket number or link to a > description of the problem that has been experienced before? Are you runni

Re: [Sugar-devel] Clocks on XOs

2010-07-03 Thread Kevin Mark
On Fri, Jul 02, 2010 at 08:15:38PM -0700, Hal Murray wrote: > Was: Subject: =?ISO-8859-1?Q?Caacup=E9?= war bullettin -- day 1 > > ber...@codewiz.org said: > > * Date not being updated > > One laptop booted with clock set to the Epoch. > > Is that one of the old XOs that had troubles with the tiny

Re: [Sugar-devel] Clocks on XOs

2010-07-03 Thread Bernie Innocenti
El Fri, 02-07-2010 a las 20:15 -0700, Hal Murray escribió: > Is that one of the old XOs that had troubles with the tiny battery feeding > the TOY/RTC clock when the main battery and wall power are both disconnected? > I forget the details, but I think there was a problem with the battery > hol

Re: [Sugar-devel] Clocks on XOs

2010-07-03 Thread Sascha Silbe
Excerpts from Hal Murray's message of Sat Jul 03 03:15:38 + 2010: > > Why aren't we using ntp? > ntp is probably overkill for XOs. Besides, who would want to give up that > much ram? openntpd uses 390.5 KB on my XO-1 (measured using ps_mem.py after an uptime of 22 days). > On top of that,

[Sugar-devel] Clocks on XOs

2010-07-02 Thread Hal Murray
Was: Subject: =?ISO-8859-1?Q?Caacup=E9?= war bullettin -- day 1 ber...@codewiz.org said: > * Date not being updated > One laptop booted with clock set to the Epoch. Is that one of the old XOs that had troubles with the tiny battery feeding the TOY/RTC clock when the main battery and wall power a