[Server-devel] Testing XS 0.5.1 Beta

2009-01-22 Thread Dave Bauer
I installed a new XS 0.5.1 and it seems to be working as expected.

I can connect properly to the XS from sugar installed on F10 from the sugar
packages.

I can not connect from my XO laptop. olpc-netstatus shows I am connected to
the jabber server, but it does not show anyone in the network view.
I enabled debugging and I can see it shows that it finds the other sugar
instance connected to the jabber server, but the logs show that the f10
sugar disconnected. I can see that both are still connected according to the
ejabberd admin web pages.

Note that on F10 with sugar I can see the XO laptop.

Looks like the XO itself has some problem with the presence service.

Where should I look to debug this further?

-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] Moodle on XS Install

2009-02-25 Thread Dave Bauer
I am using XS 0.5.1 beta. On there the moodle instance is not comfigured.
Should I expect it to work out of the box or are there additional steps I
need to take to get it working. The XS install docs don't mention moodle at
all, only ejabberd.

Thanks
Dave
-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] notes on scaling ejabberd for the XO's

2009-03-17 Thread Dave Bauer
On Tue, Mar 17, 2009 at 2:57 PM, Martin Langhoff
wrote:

> 2009/3/18 Dave Bauer :
> > Martin, will this peacefully coexist with the Moodle/ejabberd work you
> are
> > doing?
>
> I am busy enough that I haven't had time to study that aspect. And
> won't for the next couple months I think :-/ there is more urgent work
> at hand.
>

Thanks, I guess I will try it out and let you know what I learn.

Dave


>
> cheers.,
>
>
> m
> --
>  martin.langh...@gmail.com
>  mar...@laptop.org -- School Server Architect
>  - ask interesting questions
>  - don't get distracted with shiny stuff  - working code first
>  - http://wiki.laptop.org/go/User:Martinlanghoff
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] notes on scaling ejabberd for the XO's

2009-03-17 Thread Dave Bauer
On Tue, Mar 17, 2009 at 3:08 PM, Martin Langhoff
wrote:

> On Wed, Mar 18, 2009 at 8:04 AM, Dave Bauer  wrote:
> > Thanks, I guess I will try it out and let you know what I learn.
>
> Fantastic! One interesting data point would be whether the new
> software stack (sugar with the new telepathy-gadget) is backwards
> compat with an XS that has no gadget.
>

Preliminary tests show it works fine. We have been testing SoaS against XS
0.5.2 and it performs the same as jabber.sugarlabs.org (which I believe has
gadget installed).

Dave


>
> cheers,
>


>
>
>
>
> m
> --
>  martin.langh...@gmail.com
>  mar...@laptop.org -- School Server Architect
>  - ask interesting questions
>  - don't get distracted with shiny stuff  - working code first
>  - http://wiki.laptop.org/go/User:Martinlanghoff
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] Gadget on XS

2009-03-31 Thread Dave Bauer
Hi,

I am trying to get gadget working on my XS at schoolserver.solutiongrove.com

First I downloaded the source and built it, but I could not find any
indication that gadget was installed. How can I tell if it is working?

Next I tried the gadget package
http://koji.fedoraproject.org/koji/taskinfo?taskID=1261886 RPM but it
required ejabberd package. RPM says this is not installed. (I did install
python-twisted which was another requirement of the RPM).

Does anyoe have any advice on getting gadget working?

Thanks!
Dave

-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Gadget on XS

2009-03-31 Thread Dave Bauer
On Tue, Mar 31, 2009 at 2:06 PM, Martin Langhoff
wrote:

> 2009/3/31 Dave Bauer :
> > Next I tried the gadget package
> > http://koji.fedoraproject.org/koji/taskinfo?taskID=1261886 RPM but it
> > required ejabberd package. RPM says this is not installed. (I did install
> > python-twisted which was another requirement of the RPM).
>
> What version of the XS have you got?
>
> If you are running 0.5.2, you should have
> ejabberd-xs-2.0.3-2.fc9.olpc.i386 . The problem is that the
> ejabberd-xs package should say it 'provides:ejabberd' but it doesn't.
> That's a bug on my side.
>
> > Does anyoe have any advice on getting gadget working?
>
> Options
>  - Lie to rpm about the dependency (for now) while I fix the ejabberd-xs
> pkg...?


Ah I see, yeah I can try this and let you know. Conceivable gadget can
coexist with the Moodle/Ejabberd integration you are working on.

We are also contemplating using this as a public collaboration server, so we
are not following the XS recommendations completely.

Dave


>
>  - Replace ejabberd-xs with a vanilla fedora ejabberd that is at least
> 2.0.3
>
> If you post about your adventures with Gadget, I'll sure be following
> your notes. As most people know, I am a bit hesitant about whether
> Gadget is the right thing for the XS.
>
> cheers,
>
>
>
> m
> --
>  martin.langh...@gmail.com
>  mar...@laptop.org -- School Server Architect
>  - ask interesting questions
>  - don't get distracted with shiny stuff  - working code first
>  - http://wiki.laptop.org/go/User:Martinlanghoff
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Gadget on XS

2009-03-31 Thread Dave Bauer
Ok I have the gadget RPM installed. What should I see in the admin
interface? I looked at virtual hosts -> nodes -> modules and I don't see
anything likely.
How can I tell if gadget is doing anything interesting?

Thanks
Dave

--
Dave Bauer
d...@solutiongrove.com
http://solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Gadget on XS

2009-04-03 Thread Dave Bauer
On Fri, Apr 3, 2009 at 9:26 AM, Martin Langhoff
wrote:

> On Tue, Mar 31, 2009 at 8:06 PM, Martin Langhoff
>  wrote:
> > If you are running 0.5.2, you should have
> > ejabberd-xs-2.0.3-2.fc9.olpc.i386 . The problem is that the
> > ejabberd-xs package should say it 'provides:ejabberd' but it doesn't.
> > That's a bug on my side.
>
> Which is now fixed.
>
> David, can you go back to yoursetup and try to install ejabberd-xs
> from the testing repo:
>   yum --enablerepo=olpcxs-testing install ejabberd-xs
>
> and then install gadget?
>
> I am also curious to hear how things have fared with Gadget. How many
> users do you have? Have you seen any different in memory usage? CPU
> usage?



Actually gadget is not working b/c I haven't found how to start it yet! (I
didn't really look). I recently saw in a thread gone by that is must be
started so I need to figure that out.

Dave

>
>
> Is the 'random' network view usablefor your user group?
>
> cheers,
>
>
> martin
> --
>  martin.langh...@gmail.com
>  mar...@laptop.org -- School Server Architect
>  - ask interesting questions
>  - don't get distracted with shiny stuff  - working code first
>  - http://wiki.laptop.org/go/User:Martinlanghoff
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Gadget on XS

2009-04-03 Thread Dave Bauer
Error

On Fri, Apr 3, 2009 at 9:35 AM, Dave Bauer  wrote:

>
>
> On Fri, Apr 3, 2009 at 9:26 AM, Martin Langhoff  > wrote:
>
>> On Tue, Mar 31, 2009 at 8:06 PM, Martin Langhoff
>>  wrote:
>> > If you are running 0.5.2, you should have
>> > ejabberd-xs-2.0.3-2.fc9.olpc.i386 . The problem is that the
>> > ejabberd-xs package should say it 'provides:ejabberd' but it doesn't.
>> > That's a bug on my side.
>>
>> Which is now fixed.
>>
>> David, can you go back to yoursetup and try to install ejabberd-xs
>> from the testing repo:
>>   yum --enablerepo=olpcxs-testing install ejabberd-xs
>>
>
Error installing new ejabberd
Downloading Packages:
ejabberd-xs-2.0.3-3.fc9.olpc.i386.rpm| 728 kB
00:00
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
ejabberd conflicts with ejabberd-xs-2.0.3-3.fc9.olpc.i386
Complete!

BTW, I forced the install of gadget to ignore the dependencies so it should
be ok for now.

Dave
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Gadget on XS

2009-04-03 Thread Dave Bauer
On Wed, Apr 1, 2009 at 6:36 AM, Guillaume Desmottes <
guillaume.desmot...@collabora.co.uk> wrote:

> Le mardi 31 mars 2009 à 13:45 -0400, Dave Bauer a écrit :
> > Hi,
> >
> > I am trying to get gadget working on my XS at
> > schoolserver.solutiongrove.com
> >
> > First I downloaded the source and built it, but I could not find any
> > indication that gadget was installed. How can I tell if it is working?
> >
> > Next I tried the gadget package
> > http://koji.fedoraproject.org/koji/taskinfo?taskID=1261886 RPM but it
> > required ejabberd package. RPM says this is not installed. (I did
> > install python-twisted which was another requirement of the RPM).
> >
> > Does anyoe have any advice on getting gadget working?
>
> Basically you have to install the gadget service, launch it (it's a
> separated process), modify your ejabberd.cfg as explained in the Gadget
> README and then restart your ejabberd.
>
> You can see if Gadget is working by looking at the XMPP traffic
> exchanged between clients and the server.
>

Gadget started /etc/init.d/gadget start

logs on server say

2009/04/03 09:37 -0400 [-] Log opened.
2009/04/03 09:37 -0400 [-] twistd 2.5.0 (/usr/bin/python 2.5.1) starting up
2009/04/03 09:37 -0400 [-] reactor class: 
2009/04/03 09:37 -0400 [-] Loading /usr/share/gadget/gadget.tac...
2009/04/03 09:37 -0400 [-] Loaded.
2009/04/03 09:37 -0400 [-] Starting factory

2009/04/03 09:37 -0400 [Uninitialized]  will retry in 2 seconds
2009/04/03 09:37 -0400 [Uninitialized] Stopping factory

2009/04/03 09:37 -0400 [-] Starting factory

2009/04/03 09:37 -0400 [Uninitialized]  will retry in 9 seconds
2009/04/03 09:37 -0400 [Uninitialized] Stopping factory

2009/04/03 09:37 -0400 [-] Starting factory

2009/04/03 09:37 -0400 [Uninitialized]  will retry in 24 seconds
2009/04/03 09:37 -0400 [Uninitialized] Stopping factory

2009/04/03 09:38 -0400 [-] Starting factory

2009/04/03 09:38 -0400 [Uninitialized]  will retry in 70 seconds
2009/04/03 09:38 -0400 [Uninitialized] Stopping factory

2009/04/03 09:39 -0400 [-] Starting factory

2009/04/03 09:39 -0400 [Uninitialized]  will retry in 183 seconds
2009/04/03 09:39 -0400 [Uninitialized] Stopping factory


and so on. Not sure where to look. is this OK?

Dave


>
>
>G.
>
> ___
> Server-devel mailing list
> Server-devel@lists.laptop.org
> http://lists.laptop.org/listinfo/server-devel
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Gadget on XS

2009-04-03 Thread Dave Bauer
On Fri, Apr 3, 2009 at 10:15 AM, Guillaume Desmottes <
guillaume.desmot...@collabora.co.uk> wrote:

> Le vendredi 03 avril 2009 à 09:41 -0400, Dave Bauer a écrit :
> >
> >
> > On Wed, Apr 1, 2009 at 6:36 AM, Guillaume Desmottes
> >  wrote:
> >     Le mardi 31 mars 2009 à 13:45 -0400, Dave Bauer a écrit :
> > > Hi,
> > >
> > > I am trying to get gadget working on my XS at
> > > schoolserver.solutiongrove.com
> > >
> > > First I downloaded the source and built it, but I could not
> > find any
> > > indication that gadget was installed. How can I tell if it
> > is working?
> > >
> > > Next I tried the gadget package
> > > http://koji.fedoraproject.org/koji/taskinfo?taskID=1261886
> > RPM but it
> > > required ejabberd package. RPM says this is not installed.
> > (I did
> > > install python-twisted which was another requirement of the
> > RPM).
> > >
> > > Does anyoe have any advice on getting gadget working?
> >
> >
> > Basically you have to install the gadget service, launch it
> > (it's a
> > separated process), modify your ejabberd.cfg as explained in
> > the Gadget
> > README and then restart your ejabberd.
> >
> > You can see if Gadget is working by looking at the XMPP
> > traffic
> > exchanged between clients and the server.
> >
> > Gadget started /etc/init.d/gadget start
> >
> > logs on server say
> >
> > 2009/04/03 09:37 -0400 [-] Log opened.
> > 2009/04/03 09:37 -0400 [-] twistd 2.5.0 (/usr/bin/python 2.5.1)
> > starting up
> > 2009/04/03 09:37 -0400 [-] reactor class:  > 'twisted.internet.selectreactor.SelectReactor'>
> > 2009/04/03 09:37 -0400 [-] Loading /usr/share/gadget/gadget.tac...
> > 2009/04/03 09:37 -0400 [-] Loaded.
> > 2009/04/03 09:37 -0400 [-] Starting factory
> >  > 0x8a8644c>
> > 2009/04/03 09:37 -0400 [Uninitialized]  > instance at 0x8a8bb4c> will retry in 2 seconds
> > 2009/04/03 09:37 -0400 [Uninitialized] Stopping factory
> >  > 0x8a8644c>
> > 2009/04/03 09:37 -0400 [-] Starting factory
> >  > 0x8a8644c>
> > 2009/04/03 09:37 -0400 [Uninitialized]  > instance at 0x8a8bb4c> will retry in 9 seconds
> > 2009/04/03 09:37 -0400 [Uninitialized] Stopping factory
> >  > 0x8a8644c>
> > 2009/04/03 09:37 -0400 [-] Starting factory
> >  > 0x8a8644c>
> > 2009/04/03 09:37 -0400 [Uninitialized]  > instance at 0x8a8bb4c> will retry in 24 seconds
> > 2009/04/03 09:37 -0400 [Uninitialized] Stopping factory
> >  > 0x8a8644c>
> > 2009/04/03 09:38 -0400 [-] Starting factory
> >  > 0x8a8644c>
> > 2009/04/03 09:38 -0400 [Uninitialized]  > instance at 0x8a8bb4c> will retry in 70 seconds
> > 2009/04/03 09:38 -0400 [Uninitialized] Stopping factory
> >  > 0x8a8644c>
> > 2009/04/03 09:39 -0400 [-] Starting factory
> >  > 0x8a8644c>
> > 2009/04/03 09:39 -0400 [Uninitialized]  > instance at 0x8a8bb4c> will retry in 183 seconds
> > 2009/04/03 09:39 -0400 [Uninitialized] Stopping factory
> >  > 0x8a8644c>
> >
> > and so on. Not sure where to look. is this OK?
>
> Did you properly configured ejabberd as explained in Gadget's README?
> You should have something like that:
>
>  {5560, ejabberd_service, [
>  {ip, {127, 0, 0, 1}},
>  {access, all},
>  {host, "gadget.jabber.sugarlabs.org", [{password, ""}]}]},
>
> Your gadget.config should match these params.
>
AHA! gadget.config.

Can we add the startup and gadget.config to the README?
Thanks
Dave


>
> Then don't forget to restart ejabberd to reload the new configuration.
>
>
>
>G.
>
>
>


-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] Duplicate IP Address

2009-04-06 Thread Dave Bauer
I am having issues testing two soas1 virtual machines running on the same
box.
They got through NAT cable modem so they end up on the same ip address.

The second VM can see the first in the neighborhood, but the first doesn't
see the second one.

I am wondering if this might have to do with the IP address sharing or where
else I should look.

Thanks
Dave

-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] Presence service not working on schoolserver.solutiongrove.com

2009-04-06 Thread Dave Bauer
reply. Possible causes
include: the remote application did not send a reply, the message bus
security policy blocked the reply, the reply timeout expired, or the network
connection was broken.
1239024431.739549 WARNING s-p-s.buddy: setting current activity failed:
org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes
include: the remote application did not send a reply, the message bus
security policy blocked the reply, the reply timeout expired, or the network
connection was broken.



This was working before. Testing soas1-20090323

Any ideas where to look? Thanks!

Dave
-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] soas2-20090403 testing

2009-04-06 Thread Dave Bauer
Collaboration works with write and maze, chat.
I have a strange precense problem.

Two laptops next to each other, both running soas2-20090403 off usb.

Can see each other in neighbordhood view.

Laptop A can see activities shared by Laptop B in neighborhood view.
Laptop B cannot see the activiteis shared in neighordhood view. WHen laptop
A shares an activity, the icon moves in the neighbordhood on B but no
activity icon appears even if I invite explicitly.

ANy ideas?

-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] soas2-20090403 testing

2009-04-07 Thread Dave Bauer
On Tue, Apr 7, 2009 at 5:13 AM, Martin Langhoff
wrote:

> You are posting to server-devel,so I assume you've got a XS configured
> somewhere.
>
>  - On the laptops
>- are they associated to the right AP?


They are connected to wired network.

>
>- did they get a dhcp lease that comes from the XS?


No they are on the internet.

>
>- are they using telepathy-gabble or telepathy-salut
> (olpc-netstatus or its moral equivalent on SoaS should report it, you
> want _gabble_ to be in use for collab via XS)


It should be but I don't know what command ot use to check that. I'll find
out!


>
>- did you register the laptops?
>

No its not registered. I am using jabber.sugarlabs.org (aka
schoolserver.solutiongrove.com).


>
>  - On the XS
>- does /home/idmgr/list_registrations list the correct regs?
>
They are not registered.

>- ejabberdctl (the cli utility) can tell you what users are connected

Yes I can see they are connected.

>
>- in /etc/ejabberd/ejabberd-xs.conf - change the logging setting
> to debug, then the log will show the XML being exchanged
>

Of course, I'll try that, thanks.

>
>  - Are you using Gadget? You got to tell us these things, can't help
> you debug without explicit information ;-)
>

Nope gadget is turned off.
I apologize if I did not provide enough information. I am learning as I go.
Is there a wiki page that explains how to debug the server side of
collaboration?

Thanks.
Dave

>
> cheers,
>
>
>
> martin
>
> On Mon, Apr 6, 2009 at 8:35 PM, Dave Bauer  wrote:
> > Collaboration works with write and maze, chat.
> > I have a strange precense problem.
> >
> > Two laptops next to each other, both running soas2-20090403 off usb.
> >
> > Can see each other in neighbordhood view.
> >
> > Laptop A can see activities shared by Laptop B in neighborhood view.
> > Laptop B cannot see the activiteis shared in neighordhood view. WHen
> laptop
> > A shares an activity, the icon moves in the neighbordhood on B but no
> > activity icon appears even if I invite explicitly.
> >
> > ANy ideas?
> >
> > --
> > Dave Bauer
> > d...@solutiongrove.com
> > http://www.solutiongrove.com
> >
> > ___
> > Server-devel mailing list
> > Server-devel@lists.laptop.org
> > http://lists.laptop.org/listinfo/server-devel
> >
> >
>
>
>
> --
>  martin.langh...@gmail.com
>  mar...@laptop.org -- School Server Architect
>  - ask interesting questions
>  - don't get distracted with shiny stuff  - working code first
>  - http://wiki.laptop.org/go/User:Martinlanghoff
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Gadget on XS

2009-04-08 Thread Dave Bauer
On Fri, Apr 3, 2009 at 10:15 AM, Guillaume Desmottes <
guillaume.desmot...@collabora.co.uk> wrote:

>
>
> Did you properly configured ejabberd as explained in Gadget's README?
> You should have something like that:
>
>  {5560, ejabberd_service, [
>  {ip, {127, 0, 0, 1}},
>  {access, all},
>  {host, "gadget.jabber.sugarlabs.org", [{password, ""}]}]},
>
> Your gadget.config should match these params.
>
> Then don't forget to restart ejabberd to reload the new configuration.
>
>
This is what my jabber config looks like
  {5560, ejabberd_service, [
  {ip, {206, 192, 23, 224}},
  {access, all},
  {host, "gadget.jabber.sugarlabs.org", [{password, ""}]}]},


and my gadget.config

server_host = 'jabber'
server_port = 5560
domain = 'sugarlabs.org'
password = ''
roster_path = 'gadget.roster'


 Startup in log says

2009/04/08 15:52 -0400 [-] Log opened.
2009/04/08 15:52 -0400 [-] twistd 2.5.0 (/usr/bin/python 2.5.1) starting up
2009/04/08 15:52 -0400 [-] reactor class: 
2009/04/08 15:52 -0400 [-] Loading /usr/share/gadget/gadget.tac...
2009/04/08 15:52 -0400 [-] Loaded.
2009/04/08 15:52 -0400 [-] Starting factory

2009/04/08 15:52 -0400 [Uninitialized]  will retry in 2 seconds
2009/04/08 15:52 -0400 [Uninitialized] Stopping factory

2009/04/08 15:52 -0400 [-] Starting factory

2009/04/08 15:52 -0400 [Uninitialized]  will retry in 5 seconds
2009/04/08 15:52 -0400 [Uninitialized] Stopping factory

2009/04/08 15:52 -0400 [-] Starting factory

2009/04/08 15:52 -0400 [Uninitialized]  will retry in 16 seconds
2009/04/08 15:52 -0400 [Uninitialized] Stopping factory


Thanks

Dave

>
>G.
>
>
>


-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Gadget on XS

2009-04-15 Thread Dave Bauer
On Mon, Apr 13, 2009 at 5:48 AM, Guillaume Desmottes <
guillaume.desmot...@collabora.co.uk> wrote:

> Le vendredi 03 avril 2009 à 10:40 -0400, Dave Bauer a écrit :
>
> >
> > AHA! gadget.config.
> >
> > Can we add the startup and gadget.config to the README?
>
> I didn't realise this file was not documented, sorry for that.
>
> I wrote some words about it in this patch:
>
>
> http://git.collabora.co.uk/?p=user/cassidy/gadget;a=commitdiff;h=711fddfc4bdfad75582af776baa3beb532dea083
>
> Could you review it please? Then I'll merge it to master.
>
>
> thanks,
>
>
>G.
>

Tried this based on the documentation you added
less /etc/gadget/gadget.config

server_host = 'localhost'
server_port = 5560
domain = 'sugarlabs.org'
password = 'X'
roster_path = 'gadget.roster'


ejabberd-xs.cfg

  {5560, ejabberd_service, [
  {ip, {127, 0, 0, 1}},
  {access, all},
  {host, "gadget.localhost", [{password, "X"}]}]}


Same result in the gadget log. Restarted ejabbderd and gadget services.

Dave

-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Collaboration Bugs in today's Olin Play Session

2009-04-19 Thread Dave Bauer
On Sat, Apr 18, 2009 at 3:36 PM, Martin Langhoff
wrote:

> On Sat, Apr 18, 2009 at 3:53 AM, Caroline Meeks
>  wrote:
> > I saw two problems while we were working.
> >
> > 1. We had two computers next to each A and B.  A could see B but B could
> not
> > see A.  Seemed to stay that way the whole afternoon.
>
> You are posting here so I assume there's an XS involved ;-)
>
>  - version of the XS?


Its jabber.sugarlabs.org aka schoolserver.solutiongrove.com
ejabberd-xs-2.0.3
Should be XS 0.5.2

>
>  - version of the client code? XOs with 8.2.1? SoaS - which?

Sugar on a stick beta

>
>  - were the clients registered & restarted?



>
>  - was @online@ setup on the XS?

Yes

>
>  - Any hint as to what protocol the clients were using (salut / gabble)?
>  - ejabberdctl has several commands that are useful to figure out what
> the jabber server thinks of the situation -- connected-users is one
> ;-)
>
> > 2. The CPU on the server went up to 99% from 3:10 to 3:40.  Unfortunately
> > I'm not sure exactly what we were doing during that time.
>
> Wow. `sar -A` output for that day & timeframe? (sysstat is installed
> and set to run on the XS)
>
I'll check this out thanks!

Dave


>
> ...dinner calls ---
>
> cheers,
>
>
> m
> --
>  martin.langh...@gmail.com
>  mar...@laptop.org -- School Server Architect
>  - ask interesting questions
>  - don't get distracted with shiny stuff  - working code first
>  - http://wiki.laptop.org/go/User:Martinlanghoff
> ___
> Server-devel mailing list
> Server-devel@lists.laptop.org
> http://lists.laptop.org/listinfo/server-devel
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Collaboration Bugs in today's Olin Play Session

2009-04-20 Thread Dave Bauer
It's old! ejabberd-xs-2.0.3-2.fc9.olpc.i386

I have updated to ejabberd-xs.i386 0:2.0.3-5.fc9.olpc
We can test it again.

I have an online group that contains "@all@"

Thanks.

Dave

On Mon, Apr 20, 2009 at 4:36 AM, Martin Langhoff
wrote:

> On Mon, Apr 20, 2009 at 4:33 AM, Dave Bauer  wrote:
> > Its jabber.sugarlabs.org aka schoolserver.solutiongrove.com
> > ejabberd-xs-2.0.3
> > Should be XS 0.5.2
>
> Can you post the complete version string as reported by `rpm -qa
> ejabberd-xs` ? I published various 2.0.3's, the early ones had a
> broken @online@ with exactly the symptoms that Caroline reported.
> IIRC, you want an ejabberd-xs at least 2.0.3-4 - see
> http://xs-dev.laptop.org/xsrepos/testing/olpc/9/i386/
>
> cheers,
>
>
>
> m
> --
>  martin.langh...@gmail.com
>  mar...@laptop.org -- School Server Architect
>  - ask interesting questions
>  - don't get distracted with shiny stuff  - working code first
>  - http://wiki.laptop.org/go/User:Martinlanghoff
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Fwd: [Sugar-devel] testing backup and restore on SoaS

2009-04-21 Thread Dave Bauer
I poked around in git on dev.laptop.org and found this

http://dev.laptop.org/git/users/martin/ds-backup.git/tree/client

It looks like the code is from last October. Are these the files I am
looking for?

Thanks!
Dave


On Mon, Apr 20, 2009 at 10:39 AM, Dave Bauer  wrote:

>
>
> On Mon, Apr 20, 2009 at 10:30 AM, Martin Langhoff <
> martin.langh...@gmail.com> wrote:
>
>> On Mon, Apr 20, 2009 at 4:13 PM, Dave Bauer  wrote:
>> > Forwarded from sugar-devel, Are the backup scripts available? We have a
>> > script that allows us to register SoaS and we want to try the backup
>> scripts
>> > with that.
>>
>> Grab them from the same place where you found the ejabberd pkg ;-) --
>> you're looking for ds-backup-client.
>>
>
> Hmmm, I got the ejabberd from olpcxs-testing repository. I don't see
> ds-backup-client there. I guess I am looking in the wrong place.
>
> Dave
>
>>
>> Note that you'll need to get in motion to teach SoaS about registering
>> to the School Server, something that Sugar knows how to do, or used to
>> know..
>>
>> Give the scripts a read so you'll see how they work, and what bits of
>> Sugar we need (somehow, sugar profile needs to know about a backup
>> server, etc).
>>
>> cheers,
>>
>>
>>
>>
>> m
>> --
>>  martin.langh...@gmail.com
>>  mar...@laptop.org -- School Server Architect
>>  - ask interesting questions
>>  - don't get distracted with shiny stuff  - working code first
>>  - http://wiki.laptop.org/go/User:Martinlanghoff
>>
>
>
>
> --
> Dave Bauer
> d...@solutiongrove.com
> http://www.solutiongrove.com
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] ds-backup.py backup_url server check

2009-04-23 Thread Dave Bauer
Hi,

I have updated my XS to the lastest code and I have the ds-backup server
code on there.
I have ds-backup-client on my client (slightly modified SoaS).

Now I am investigating how this works and I am reviewing ds-backup.py to see
why my backups are not working.

I am looking around line 114 and I see this

   backup_url = 'http://schoolserver/backup/1'

I see that the serial number from the client is appended to this.

I don't see anything on the XS that responds on this URL. Should this
respond or do I have the wrong version of this script or I am confused?
If something should respond on this URL, is it part of Moodle, ds-backup
server or something else?

Thanks!
Dave

--
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] ds-backup.py backup_url server check

2009-04-23 Thread Dave Bauer
On Thu, Apr 23, 2009 at 5:52 PM, Carol Farlow Lerche  wrote:

> When the client references "schoolserver", it depends on client
> configuration where and if it finds it.  Places that can affect this lookup
> process are the configuration designating what is your DNS server, the
> configuration of your resolver (e.g. does it supply a default domain if the
> requested name is not fully qualified.  So if your local domain is
> configured to be "mydom.com", schoolserver.mydom.com might be the actual
> name that is looked up.  Finally if you have an /etc/hosts file you can
> supply a local name for an arbitrary IP address, so you could have a line
> there that gave "192.0.2.1 schoolserver"
>
> If your "schoolserver" is not named schoolserver in your same domain, just
> add an /etc/host entry.
>

Hi, yes i can connect to the XS at http://schoolserver, ping schoolserver
etc. It does look like its configured correctly. The SoaS is getting a DHCP
address from the XS.

Thanks

Dave


>
> On Thu, Apr 23, 2009 at 1:58 PM, Dave Bauer wrote:
>
>> Hi,
>>
>> I have updated my XS to the lastest code and I have the ds-backup server
>> code on there.
>> I have ds-backup-client on my client (slightly modified SoaS).
>>
>> Now I am investigating how this works and I am reviewing ds-backup.py to
>> see why my backups are not working.
>>
>> I am looking around line 114 and I see this
>>
>>backup_url = 'http://schoolserver/backup/1'
>>
>> I see that the serial number from the client is appended to this.
>>
>> I don't see anything on the XS that responds on this URL. Should this
>> respond or do I have the wrong version of this script or I am confused?
>> If something should respond on this URL, is it part of Moodle, ds-backup
>> server or something else?
>>
>> Thanks!
>> Dave
>>
>> --
>> Dave Bauer
>> d...@solutiongrove.com
>> http://www.solutiongrove.com
>>
>> ___
>> Server-devel mailing list
>> Server-devel@lists.laptop.org
>> http://lists.laptop.org/listinfo/server-devel
>>
>>
>
>
> --
> "I don't consider him a particularly reliable source of information."
>
> -- Secretary of State Hillary Clinton, at a House Foreign Affairs Committee
> meeting, on former Vice President Dick Cheney.
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] backup : problem opening /library/users/XXXX/datastore-xxxxx/store

2009-04-23 Thread Dave Bauer
On Thu, Apr 23, 2009 at 7:58 PM, Hamilton Chua wrote:

> I'm using SoaS, I have modified schoolserver.py to register with my XS
> and keep the generated serial and uuid in gconf. I have also modified
> ds-backup.py to read the SN from gconf.
>
> I'm not sure if this is an issue with the hacks I've made but I got an
> error in the moodle UI backup tab that says
>
> Problem opening /library/users//datastore-x/store
>
> where  is the serial and  is the data and time when the backup
> was made.
>
> I looked at these directories in the XS and I could not a find a store
> folder or file in "datastore-"
>

Actually I think this happens, from my reading of the code, when there
haven't been any backups yet. You need to make sure the backup process has
run on the client side first.

Dave


>
> Any ideas ?
>
> Thanks :-)
>
> ___
> Server-devel mailing list
> Server-devel@lists.laptop.org
> http://lists.laptop.org/listinfo/server-devel
>
>


-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] backup : problem opening /library/users/XXXX/datastore-xxxxx/store

2009-04-23 Thread Dave Bauer
On Thu, Apr 23, 2009 at 7:58 PM, Hamilton Chua wrote:

> I'm using SoaS, I have modified schoolserver.py to register with my XS
> and keep the generated serial and uuid in gconf. I have also modified
> ds-backup.py to read the SN from gconf.
>
> I'm not sure if this is an issue with the hacks I've made but I got an
> error in the moodle UI backup tab that says
>
> Problem opening /library/users//datastore-x/store
>
> where  is the serial and  is the data and time when the backup
> was made.
>
> I looked at these directories in the XS and I could not a find a store
> folder or file in "datastore-"
>

Wait close but a different error. datastore-latest is supposed to be a
symlink to the lastest backup. If there anything inside the
/library/users// directory at all?

Dave


> Any ideas ?
>
> Thanks :-)
>
> ___
> Server-devel mailing list
> Server-devel@lists.laptop.org
> http://lists.laptop.org/listinfo/server-devel
>
>


-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] ds-backup.py backup_url server check

2009-04-23 Thread Dave Bauer
On Thu, Apr 23, 2009 at 6:44 PM, Dave Bauer  wrote:

>
>
> On Thu, Apr 23, 2009 at 5:52 PM, Carol Farlow Lerche wrote:
>
>> When the client references "schoolserver", it depends on client
>> configuration where and if it finds it.  Places that can affect this lookup
>> process are the configuration designating what is your DNS server, the
>> configuration of your resolver (e.g. does it supply a default domain if the
>> requested name is not fully qualified.  So if your local domain is
>> configured to be "mydom.com", schoolserver.mydom.com might be the actual
>> name that is looked up.  Finally if you have an /etc/hosts file you can
>> supply a local name for an arbitrary IP address, so you could have a line
>> there that gave "192.0.2.1 schoolserver"
>>
>> If your "schoolserver" is not named schoolserver in your same domain, just
>> add an /etc/host entry.
>>
>
> Hi, yes i can connect to the XS at http://schoolserver, ping schoolserver
> etc. It does look like its configured correctly. The SoaS is getting a DHCP
> address from the XS.
>


I put print e.code in the HTTPError handler in check_server_availble and the
error code is "403" for Unauthorized. I can connect to Moodle with the magic
cookie in Browse so I am not sure what is expected for authentication for
the backup.

Dave


>
> Thanks
>
> Dave
>
>
>>
>> On Thu, Apr 23, 2009 at 1:58 PM, Dave Bauer wrote:
>>
>>> Hi,
>>>
>>> I have updated my XS to the lastest code and I have the ds-backup server
>>> code on there.
>>> I have ds-backup-client on my client (slightly modified SoaS).
>>>
>>> Now I am investigating how this works and I am reviewing ds-backup.py to
>>> see why my backups are not working.
>>>
>>> I am looking around line 114 and I see this
>>>
>>>backup_url = 'http://schoolserver/backup/1'
>>>
>>> I see that the serial number from the client is appended to this.
>>>
>>> I don't see anything on the XS that responds on this URL. Should this
>>> respond or do I have the wrong version of this script or I am confused?
>>> If something should respond on this URL, is it part of Moodle, ds-backup
>>> server or something else?
>>>
>>> Thanks!
>>> Dave
>>>
>>> --
>>> Dave Bauer
>>> d...@solutiongrove.com
>>> http://www.solutiongrove.com
>>>
>>> ___
>>> Server-devel mailing list
>>> Server-devel@lists.laptop.org
>>> http://lists.laptop.org/listinfo/server-devel
>>>
>>>
>>
>>
>> --
>> "I don't consider him a particularly reliable source of information."
>>
>> -- Secretary of State Hillary Clinton, at a House Foreign Affairs
>> Committee meeting, on former Vice President Dick Cheney.
>>
>
>
>
> --
> Dave Bauer
> d...@solutiongrove.com
> http://www.solutiongrove.com
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] ds-backup.py backup_url server check

2009-04-24 Thread Dave Bauer
On Fri, Apr 24, 2009 at 2:45 AM, Martin Langhoff
wrote:

> On Thu, Apr 23, 2009 at 10:58 PM, Dave Bauer 
> wrote:
> > I don't see anything on the XS that responds on this URL. Should this
> > respond or do I have the wrong version of this script or I am confused?
> > If something should respond on this URL, is it part of Moodle, ds-backup
> > server or something else?
>
> rpm -ql ds-backup-server should list the files you're after :-)
>

I looked but I don't see anything that responds to
http://schoolserver/backup/1 <http://schoolserver/backuo/l>
is there some other magic I am missing?

Upon further research, i added a print e.code into ds-backup.py I see I am
getting a 403 unauthorized response from the schoolserver. This is on a
registered client that can get into moodle using the browse.xo magic cookie.
I am not clear on how authentication is supposed to work with the ds-backup
code.

Thanks
Dave

>
> cheers,
>
>
>
> m
> --
>  martin.langh...@gmail.com
>  mar...@laptop.org -- School Server Architect
>  - ask interesting questions
>  - don't get distracted with shiny stuff  - working code first
>  - http://wiki.laptop.org/go/User:Martinlanghoff
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] ds-backup.py backup_url server check

2009-05-01 Thread Dave Bauer
On Tue, Apr 28, 2009 at 3:39 PM, Martin Langhoff
wrote:

> On Tue, Apr 28, 2009 at 9:01 PM, Dave Bauer 
> wrote:
> > Thanks for the tips. I am testing with my XO. What version of browse.xo
> do I
> > need that supports the magic cookies? Do I need to upgrade my XO software
> or
> > download certain new files?
>
> No prob. You want Browse-101 or newer, that's all.
>
> I searched and found a link to browse-101


"OK. If anyone else is interested, here is Browse-101 for 0.82
including the fix for http://dev.laptop.org/ticket/8857
http://dev.laptop.org/~dsd/py-activities/Browse-102.xo<http://dev.laptop.org/%7Edsd/py-activities/Browse-102.xo>
"

and I tried browse-103 from activities.sugarlabs.org and neither one
contains the magic cookie code that I can find. Specifically I looked for
import sqlite3 in webactivity.py.

Is there a certain release or URL for the browse-101 that I should be using
to test?

Thanks
Dave



>
> m
> --
>  martin.langh...@gmail.com
>  mar...@laptop.org -- School Server Architect
>  - ask interesting questions
>  - don't get distracted with shiny stuff  - working code first
>  - http://wiki.laptop.org/go/User:Martinlanghoff
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] ds-backup.py backup_url server check

2009-05-11 Thread Dave Bauer
On Mon, May 4, 2009 at 3:55 PM, Daniel Drake  wrote:

> 2009/5/1 Dave Bauer :
> > "OK. If anyone else is interested, here is Browse-101 for 0.82
> > including the fix for http://dev.laptop.org/ticket/8857
> > http://dev.laptop.org/~dsd/py-activities/Browse-102.xo<http://dev.laptop.org/%7Edsd/py-activities/Browse-102.xo>
> "
> >
> > and I tried browse-103 from activities.sugarlabs.org and neither one
> > contains the magic cookie code that I can find. Specifically I looked for
> > import sqlite3 in webactivity.py.
>
> It's there in my Browse-102. Look harder :)
>

Thank you everyone! I have browse 102 on my XO and it automagically logs
into the schoolserver.

Now I am ready to actually make things work.
Dave

>
> Daniel
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] 503 Error, library full when running ds-backup.sh

2009-05-14 Thread Dave Bauer
I tracked down a problem backing up SoaS. We have working registration and
ds-backup client etc.
I was getting  a 503 error from the backup-available.py.
This was the result of /library/ being full.
I checked and /library/ is only 30 megabytes! Is this expected. I setup this
XS on an 8G disk with 4.7G free after install.

Is there an easy way to expand this? It looks like its LVM. I can create a
new volume and map it to /library/ if necessary, but it seems the 30M
default is pretty small.

Thanks
Dave

-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] Aliasing and backup

2009-06-01 Thread Dave Bauer
Ok, I am asked here after I read the XS Blueprint for account aliasing, I am
not sure I am thinking about this the right way.

I registered SoaS and generated a backup and its available from Moodle just
fine.

I later register another SoaS and go to the the old registration, click the
alias tab, choose the new registration and click the Alias this account
button.

I login to the XS from the new registration and an logged in automatically.
I go to my backup tab and it says this user has no backup data yet.

As an experiment I also tried aliasing in the opposite direction, going to
the new user, clicking that alias tab and choosing the old user to the same
effect.

Should the backups from the original account show up on the new aliased
account?

Thanks
Dave


-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Aliasing and backup

2009-06-02 Thread Dave Bauer
On Tue, Jun 2, 2009 at 6:01 AM, Martin Langhoff
wrote:

> On Mon, Jun 1, 2009 at 10:40 PM, Dave Bauer 
> wrote:
> > Ok, I am asked here after I read the XS Blueprint for account aliasing, I
> am
> > not sure I am thinking about this the right way.
> >
> > I registered SoaS and generated a backup and its available from Moodle
> just
> > fine.
>
> Cool.
>
> > I later register another SoaS and go to the the old registration, click
> the
> > alias tab, choose the new registration and click the Alias this account
> > button.
>
> That's the correct workflow, but there may be a bug in that it won't
> show you the link to the 'available snapshots' until you have the
> first backup form the 'new' SoaS.
>
> To confirm...
>
>  - wait until the 'new' SoaS makes the first backup
>  - revisit that page - should show the empty-ish backup from the new SoaS
>  - click on the link that shows all available snapshots...
>  - should show you the snapshots from your 'old' SoaS
>
>
Ok I ran the backup and then tried to login to the schoolserver from Browse.
It prefills in my login name as the aliased user instead of the new username
and my magic cookie doesn't work anymore.

I guess its changing the username when I try to login and it doesn't match.
I'll see if I can track this down, I am not sure where it gets the cookie
and how aliasing works yet.

Dave


  hth,

>
>
>
> n
> --
>  martin.langh...@gmail.com
>  mar...@laptop.org -- School Server Architect
>  - ask interesting questions
>  - don't get distracted with shiny stuff  - working code first
>  - http://wiki.laptop.org/go/User:Martinlanghoff
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Aliasing and backup

2009-06-02 Thread Dave Bauer
On Tue, Jun 2, 2009 at 11:36 AM, Martin Langhoff
wrote:

> On Tue, Jun 2, 2009 at 5:25 PM, Dave Bauer  wrote:
> > Ok I ran the backup and then tried to login to the schoolserver from
> Browse.
> > It prefills in my login name as the aliased user instead of the new
> username
> > and my magic cookie doesn't work anymore.
>
> Correct. Once your 'new' machine has been aliased to the old account,
> you restart Browse and you're in your old account.
>
> > I guess its changing the username when I try to login and it doesn't
> match.
>
> Nothing to do with usernames :-) it's down to the serial number of the
> machine.
>
> > I'll see if I can track this down, I am not sure where it gets the cookie
> > and how aliasing works yet.
>
> The aliasing is fairly "high level".  In the 'login to moodle'
> process, moodle checks whether your SN is aliased to any other
> account. If so, it logs you into that _other_ acct instead.
>

Yes, for some reason it was asking for the password. I had the soas
"nickname" not matching on the old/new registrations. I rergistered with the
same nickname and then followed the procedure exactly and I was logged in
automatically.

Dave


>
> cheers,
>
>
>
> m
> --
>  martin.langh...@gmail.com
>  mar...@laptop.org -- School Server Architect
>  - ask interesting questions
>  - don't get distracted with shiny stuff  - working code first
>  - http://wiki.laptop.org/go/User:Martinlanghoff
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Aliasing and backup

2009-06-02 Thread Dave Bauer
On Tue, Jun 2, 2009 at 6:01 AM, Martin Langhoff
wrote:

> On Mon, Jun 1, 2009 at 10:40 PM, Dave Bauer 
> wrote:
> > Ok, I am asked here after I read the XS Blueprint for account aliasing, I
> am
> > not sure I am thinking about this the right way.
> >
> > I registered SoaS and generated a backup and its available from Moodle
> just
> > fine.
>
> Cool.
>
> > I later register another SoaS and go to the the old registration, click
> the
> > alias tab, choose the new registration and click the Alias this account
> > button.
>
> That's the correct workflow, but there may be a bug in that it won't
> show you the link to the 'available snapshots' until you have the
> first backup form the 'new' SoaS.
>
> To confirm...
>
>  - wait until the 'new' SoaS makes the first backup
>  - revisit that page - should show the empty-ish backup from the new SoaS
>  - click on the link that shows all available snapshots...
>  - should show you the snapshots from your 'old' SoaS
>
>
This works. After making the first backup on the new SoaS I can see the
previous snapshots and restore individual items.

Thanks!
Dave

>
> hth,
>
>
>
> n
> --
>  martin.langh...@gmail.com
>  mar...@laptop.org -- School Server Architect
>  - ask interesting questions
>  - don't get distracted with shiny stuff  - working code first
>  - http://wiki.laptop.org/go/User:Martinlanghoff
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] Upgrade to 0.6

2009-06-17 Thread Dave Bauer
Is it possible to upgrade from 0.5.2 to 0.6 yet or is it necessary to do a
new install to test it?

Thanks
Dave
-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Upgrade to 0.6

2009-06-17 Thread Dave Bauer
On Wed, Jun 17, 2009 at 10:44 AM, Martin Langhoff  wrote:

> On Wed, Jun 17, 2009 at 3:50 PM, Dave Bauer wrote:
> > Is it possible to upgrade from 0.5.2 to 0.6 yet or is it necessary to do
> a
> > new install to test it?
>
> Hmmm. I haven't tested an upgrade. I usually
>
>  - develop/test updating via yum & rpm
>  - when getting ready to release, first test clean install, then test
> upgrades
>
> It all depends on how adventurous you are. And how good your backups
> are. At this stage, I'm pretty sure something will break, and you'll
> want the backup at least to diagnose what changed (and later, rollback
> and retest).
>
> cheers,
>
>
Thanks.

For now I think setting up a seperate install to try out 0.6 is the best
bet, and when its closer to ready, we can make a backup and test the
upgrade.

Dave

>
>
>
> m
> --
>  martin.langh...@gmail.com
>  mar...@laptop.org -- School Server Architect
>  - ask interesting questions
>  - don't get distracted with shiny stuff  - working code first
>  - http://wiki.laptop.org/go/User:Martinlanghoff
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Moodle/Server configuration for static IP external access

2009-06-18 Thread Dave Bauer
On Thu, Jun 18, 2009 at 9:09 AM, Martin Langhoff
wrote:

> On Thu, Jun 18, 2009 at 3:03 PM,  wrote:
>
>> Now with the a fixed internal IP I am able to map the actual external IP
>> with it for external access. Change the apache httpd-xs.conf to listen to
>> 192.168.1.30:80 as well as 172.18.0.1:80 Loaded the pafm application and
>> external upload and download working well.
>>
>> I maybe missing something - but have issue of the moodle not displaying
>> the graphics and format, etc while login prompt is shown. What aspect of
>>  /var/www/moodle/web/config.php or files should I modify for both normal
>> external or internal moodle access? I want to open up for external access so
>> that the team can play with the moodle to get familar with it.
>
>
> I can't really recommend that. Moodle and other services should only be in
> the internal network. Publishing it in the external network creates security
> issues.
>

Most Moodle installs are available to the internet. Does it really make
sense to rely only on Moodle being on the internal network to provide
security?

Dave


>
> If you still want to do it, the best way is to ensure that the "external"
> users (external from the PoV of the XS) see the exact same DNS name for the
> server. Once you do that, images, forms and links will work.
>
> cheers,
>
>
>
> m
> --
> martin.langh...@gmail.com
> mar...@laptop.org -- School Server Architect
> - ask interesting questions
> - don't get distracted with shiny stuff  - working code first
> - http://wiki.laptop.org/go/User:Martinlanghoff
>
> ___
> Server-devel mailing list
> Server-devel@lists.laptop.org
> http://lists.laptop.org/listinfo/server-devel
>
>


-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Moodle/Server configuration for static IP external access

2009-06-18 Thread Dave Bauer
On Thu, Jun 18, 2009 at 10:19 AM, Martin Langhoff  wrote:

> On Thu, Jun 18, 2009 at 3:59 PM, Dave Bauer wrote:
> > Most Moodle installs are available to the internet. Does it really make
> > sense to rely only on Moodle being on the internal network to provide
> > security?
>
> You are right, and a lot of my pre-OLPC work has been in making the
> largest of those installations work smoothly in scale, security,
> performance, customisations... In those cases, Moodle is a webapp.
>
> In this case, however. Moodle is the central UI for most things XS.
> Some things XS change how the XS behave.
>
> For example, I am drafting a bit of code that will let you configue
> eth0 and 'domain_config' from a Moodle-based UI. So on first boot, the
> XS comes up in a special mode that lets you set those 2 things.
>
> Once this work is done, you no longer need to login as root. Ever.
>

Cool, maybe a switch to turn this off would be useful for those who are
running a different configuration.

Dave

>
> On the other hand, it'd be serious trouble if Moodle started listening
> on the public address. Right now Moodle seems to be reasonably meek...
> but I haven't thought that through actually, it may have risks too.
>
> The bottom line is:
>
>   Services that are on the LAN address have not been
>   designed to be on the WAN address -- many (most?)
>   of them are a security risk if exposed to the WAN
>   today. As the XS evolves, _more_ services will pose
>   a risk if exposed to the WAN.
>
> So -- put your test/dev machines on the LAN to play with things. The
> XS will hand out DHCP leases to non-XOs, you can create "normal" user
> accounts in Moodle (from the 'course creator'-blessed XO) so that
> things work. Using non-Sugar XMPP clients (mostly) works too if you're
> on the LAN.
>
> hth,
>
>
>
> m
> --
>  martin.langh...@gmail.com
>  mar...@laptop.org -- School Server Architect
>  - ask interesting questions
>  - don't get distracted with shiny stuff  - working code first
>  - http://wiki.laptop.org/go/User:Martinlanghoff
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [Sugar-devel] [server-devel] Setting up the XS

2009-07-03 Thread Dave Bauer
On Fri, Jul 3, 2009 at 9:05 PM, Vamsi Krishna Davuluri <
vamsi.davul...@gmail.com> wrote:

> Hi,
>
> So as per Martin's suggestion. I'm making this mail.
>
> I don't have a spare system at my disposal right now,
> so I am running XS under a VM.
> But I can't figure out how to access the moodle server
> outside the VM. (virtual Box)
> Other than that moodle is set up.
>

This depends on how you have setup the virtual network adapters.

How many did you setup and what technique did you use, Bridged, NAT,
Internal for each one?

Also if you execute "ifconfig" from the terminal within the XS VM what is
the output?  This should show what addresses the interfaces are listening
on.

I just had another idea.

netstat -an | grep 80

should tell you which IP address the Moodle server is listening on. It is on
port 80. You'll also see port 8080 for the idmgr service.

Dave


>
> Thanks,
>
> Vamsi
>
> ___
> Sugar-devel mailing list
> sugar-de...@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>


-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Gadget on XS

2009-07-06 Thread Dave Bauer
Success!

I did a new XS 0.6d2 install and added the gadget RPM. I configured it
correctly an gadget is running and I can see gadget communicating with
Soas-strawberry!

I have not been able to see what is different on this install, it is 0.6d2
instead of 0.5.2.

Dave


On Fri, Apr 17, 2009 at 4:57 AM, Guillaume Desmottes <
guillaume.desmot...@collabora.co.uk> wrote:

> Le mercredi 15 avril 2009 à 11:45 -0400, Dave Bauer a écrit :
> >
> >
> > On Mon, Apr 13, 2009 at 5:48 AM, Guillaume Desmottes
> >  wrote:
> > Le vendredi 03 avril 2009 à 10:40 -0400, Dave Bauer a écrit :
> >
> > >
> > > AHA! gadget.config.
> > >
> > > Can we add the startup and gadget.config to the README?
> >
> >
> > I didn't realise this file was not documented, sorry for that.
> >
> > I wrote some words about it in this patch:
> >
> >
> http://git.collabora.co.uk/?p=user/cassidy/gadget;a=commitdiff;h=711fddfc4bdfad75582af776baa3beb532dea083
> >
> > Could you review it please? Then I'll merge it to master.
> >
> >
> > thanks,
> >
> >
> >G.
> >
> > Tried this based on the documentation you added
> > less /etc/gadget/gadget.config
>
> What's the domain of your ejabberd server?
>
> Look for something like that in ejabbed.cfg:
> %% Hostname
> {hosts, ["jabber.sugarlabs.org"]}.
>
>
> > server_host = 'localhost'
> > server_port = 5560
> > domain = 'sugarlabs.org'
>
> In my case the domain here is then:
> domain = 'gadget.jabber.sugarlabs.org'
>
> > password = 'X'
> > roster_path = 'gadget.roster'
> >
> >
> > ejabberd-xs.cfg
> >
> >   {5560, ejabberd_service, [
> >   {ip, {127, 0, 0, 1}},
> >   {access, all},
> >   {host, "gadget.localhost", [{password, "X"}]}]}
>
> and here:
>  {5560, ejabberd_service, [
>  {ip, {127, 0, 0, 1}},
>  {access, all},
>   {host, "gadget.jabber.sugarlabs.org", [{password, "X"}]}]},
>
>
>
>


-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Gadget on XS

2009-07-06 Thread Dave Bauer
Here is what I have so far:

XS 0.6

Install frm kickstart
Edit /etc/sysconfig/network-scripts/ifcfg-eth0-local for static IP
run /etc/sysconfig/olpc-scripts/domain_config

Make sure ejabberd is configured correctly

Edit /etc/ejabberd/ejabberd.cfg

Restart
ejabberdctl --node ejabb...@schoolserver start

Gadget

Get RPM
http://kojipkgs.fedoraproject.org/packages/gadget/0.0.3/2.fc9/noarch/gadget-0.0.3-2.fc9.noarch.rpm
More Info: http://koji.fedoraproject.org/koji/buildinfo?buildID=95961

yum install python-twisted
rpm -i gadget-0.0.3-2.fc9.noarch.rpm

Edit ejabberd.cfg to support gadget

Hostname is gadget."full hostname" ie
gadget.schoolserver.xsdev.solutiongrove.com


It looks like its not using gadget but local collaboration. I turned off the
shared roster and shutdown ejabberd and I think it might be using local
collaboration instead of the server.

I need more debugging.

Dave


On Mon, Jul 6, 2009 at 3:00 PM, Walter Bender wrote:

> We plan to set up a server tomorrow at the Gardner School. Can you point to
> those instructions you followed to your success?
>
> thanks.
>
> -walter
>
> On Mon, Jul 6, 2009 at 2:34 PM, Dave Bauer  wrote:
>
>> Success!
>>
>> I did a new XS 0.6d2 install and added the gadget RPM. I configured it
>> correctly an gadget is running and I can see gadget communicating with
>> Soas-strawberry!
>>
>> I have not been able to see what is different on this install, it is 0.6d2
>> instead of 0.5.2.
>>
>> Dave
>>
>>
>>
>> On Fri, Apr 17, 2009 at 4:57 AM, Guillaume Desmottes <
>> guillaume.desmot...@collabora.co.uk> wrote:
>>
>>> Le mercredi 15 avril 2009 à 11:45 -0400, Dave Bauer a écrit :
>>> >
>>> >
>>> > On Mon, Apr 13, 2009 at 5:48 AM, Guillaume Desmottes
>>> >  wrote:
>>> > Le vendredi 03 avril 2009 à 10:40 -0400, Dave Bauer a écrit :
>>> >
>>> > >
>>> > > AHA! gadget.config.
>>> > >
>>> > > Can we add the startup and gadget.config to the README?
>>> >
>>> >
>>> > I didn't realise this file was not documented, sorry for that.
>>> >
>>> > I wrote some words about it in this patch:
>>> >
>>> >
>>> http://git.collabora.co.uk/?p=user/cassidy/gadget;a=commitdiff;h=711fddfc4bdfad75582af776baa3beb532dea083
>>> >
>>> > Could you review it please? Then I'll merge it to master.
>>> >
>>> >
>>> > thanks,
>>> >
>>> >
>>> >G.
>>> >
>>> > Tried this based on the documentation you added
>>> > less /etc/gadget/gadget.config
>>>
>>> What's the domain of your ejabberd server?
>>>
>>> Look for something like that in ejabbed.cfg:
>>> %% Hostname
>>> {hosts, ["jabber.sugarlabs.org"]}.
>>>
>>>
>>> > server_host = 'localhost'
>>> > server_port = 5560
>>> > domain = 'sugarlabs.org'
>>>
>>> In my case the domain here is then:
>>> domain = 'gadget.jabber.sugarlabs.org'
>>>
>>> > password = 'X'
>>> > roster_path = 'gadget.roster'
>>> >
>>> >
>>> > ejabberd-xs.cfg
>>> >
>>> >   {5560, ejabberd_service, [
>>> >   {ip, {127, 0, 0, 1}},
>>> >   {access, all},
>>> >   {host, "gadget.localhost", [{password, "X"}]}]}
>>>
>>> and here:
>>>  {5560, ejabberd_service, [
>>>  {ip, {127, 0, 0, 1}},
>>>  {access, all},
>>>   {host, "gadget.jabber.sugarlabs.org", [{password, "X"}]}]},
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Dave Bauer
>> d...@solutiongrove.com
>> http://www.solutiongrove.com
>>
>> ___
>> Server-devel mailing list
>> Server-devel@lists.laptop.org
>> http://lists.laptop.org/listinfo/server-devel
>>
>>
>
>
> --
> Walter Bender
> Sugar Labs
> http://www.sugarlabs.org
>
>


-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] Automatic @online@ shared roster

2009-07-06 Thread Dave Bauer
Can I disable this for some testing with Gadget? I finally got gadget to
install and run on an XS 0.6 install but no matter how I remove the Online
shared roster it comes back by itself. I assume some process in moodle
according to the description, (created from moodle) is recreating it.

This works great on initial install it just works, but for testing is gadget
works, I am not sure if the shared roster or gadget is being used.

Thanks
Dave


-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Gadget on XS

2009-07-06 Thread Dave Bauer
On Mon, Jul 6, 2009 at 6:00 PM, Martin Langhoff
wrote:

> On Tue, Jul 7, 2009 at 5:00 AM, Walter Bender
> wrote:
> > We plan to set up a server tomorrow at the Gardner School. Can you point
> to
> > those instructions you followed to your success?
>
> The question is, IMO: what does gadget do better? The best I
> understand is that when there are many XOs it can show a random subset
> in your network view. That is all that is _implemented_ at the moment.
> It may show promise but what we have is this.
>
> And I don't find "a random subset" very compelling. The patches I've
> done for ejabberd + moodle make a lot more sense, IMHO. And scale a
> ton more because Moodle feeds a bit of data to ejabberd and gets the
> hell out of the way. It's not clear to me how ejabberd+Gadget
> (erlang+python) scale in terms of memory, resource contention and CPU.
>
> Frankly, I'd love to get rid of my ejabberd patches. Right now, I'm
> doubtful that Gadget will satisfy the Sugar team's expectations.
>
> Unless Gadget has moved forward considerable in the last 3 months, or
> if it's generally just more advanced than I think it is.
>

It is my understanding it somehow uses less network resources, but I don't
have that much information.

For my specific application, I will be using the Moodle/ejabberd
combination, but as someone asked, I figured I would try it out and see if
gadget worked. I can at least report I was able to configure it

As noone is working on gadget right now, and I don't have any information on
how it works or where one would go to get that information, or how to use it
to improve collaboration, I can't do much with it.

Dave


>
> cheers,
>
>
>
> m
> --
>  martin.langh...@gmail.com
>  mar...@laptop.org -- School Server Architect
>  - ask interesting questions
>  - don't get distracted with shiny stuff  - working code first
>  - http://wiki.laptop.org/go/User:Martinlanghoff
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Automatic @online@ shared roster

2009-07-06 Thread Dave Bauer
Thanks, I figured it must be some cron thing since it kept coming back every
couple of minutes. I can track it down from there.

I am just doing this to try to understand what gadget is doing. Since XS
doesn't use gadget in its specific config, it is just experimental for my
own education.

Thanks
Dave

On Mon, Jul 6, 2009 at 5:53 PM, Martin Langhoff
wrote:

> You'll want to comment out the code. Will be in one of (under
> /var/www/moodle/web, in order of likelyhood)
>
>  - auth/olpcxs/auth.php (look for a 'cron' function)
>  - local/lib.php (look for a cron function...)
>  - admin/cron.php
>
> Sorry for the vagueness. Away from the relevant sourcecode ATM.
>
>
>
>
> m
>
>
> On Tue, Jul 7, 2009 at 6:14 AM, Dave Bauer wrote:
> > Can I disable this for some testing with Gadget? I finally got gadget to
> > install and run on an XS 0.6 install but no matter how I remove the
> Online
> > shared roster it comes back by itself. I assume some process in moodle
> > according to the description, (created from moodle) is recreating it.
> >
> > This works great on initial install it just works, but for testing is
> gadget
> > works, I am not sure if the shared roster or gadget is being used.
> >
> > Thanks
> > Dave
> >
> >
> > --
> > Dave Bauer
> > d...@solutiongrove.com
> > http://www.solutiongrove.com
> >
> > ___
> > Server-devel mailing list
> > Server-devel@lists.laptop.org
> > http://lists.laptop.org/listinfo/server-devel
> >
> >
>
>
>
> --
>  martin.langh...@gmail.com
>  mar...@laptop.org -- School Server Architect
>  - ask interesting questions
>  - don't get distracted with shiny stuff  - working code first
>  - http://wiki.laptop.org/go/User:Martinlanghoff
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [Sugar-devel] GPA XS Report

2009-07-08 Thread Dave Bauer
On Tue, Jul 7, 2009 at 10:27 PM, Caroline Meeks wrote:
>
>
> On Tue, Jul 7, 2009 at 10:20 PM, Martin Langhoff 
> wrote:
>>
>> On Wed, Jul 8, 2009 at 9:46 AM, Anurag Goel wrote:
>> > We booted several computers with SoaS and changed the
>> > network settings from the default (jabber.sugarlabs.org) to the IP
>> > address
>> > on the XS. After doing this, the computers in the computer lab still
>> > would
>>
>> That is a workaround to the missing "register" button in SoaS, right?
>
> no, we are still just trying to get the machines in the lab to see the
> Jabber Server in the lab via the server setting in the control panel.
>
> I think some of your comments below may still be relevant but I don't
> entirely understand.
>>
>>
>> I suspect that part of the problem is that you are using the IP
>> address. Sugar will see whatever DNS or IP addr you provide there and
>> will try to connect to jabber and create an account as follows:
>>
>>  - @
>>
>> On XO hardware, machine-id is the serialnumber. On other hw, it
>> creates a random string on first boot.
>>
>> The problem with the scheme is that jabber on the XS expects a very
>> specific jabber servername for the account: its own name (as given to
>> domain_config) prefixed with 'schoolserver.'

OK, we can workaround this two ways,

Use schoolserver as the jabber server name in the settings then
1) set the IP in /etc/hosts as a quick hack to make sure things work
2) set up the SoaS to use the built in DNS on the XS.

Using the DNS seems problematic, probably due to my lack on knowledge.
If we do that we need to defer to the network DNS for everything
except the schoolserver hostname. If kids take the stick home, what
happens with the DNS if we put the XS into resolv.conf? The SoaS is
not getting DHCP from the schoolserver due to the setup where the XS
is just inserting into the same LAN as the clients.

Dave

>>
>> If the name doesn't match that format, then it breaks.
>>
>> The workaround is to use "schoolserver." in the SoaS control
>> panel. A more proper solution is probably to bring back 'registration'
>> :-)
>>
>> hth,
>>
>>
>>
>> m
>> --
>>  martin.langh...@gmail.com
>>  mar...@laptop.org -- School Server Architect
>>  - ask interesting questions
>>  - don't get distracted with shiny stuff  - working code first
>>  - http://wiki.laptop.org/go/User:Martinlanghoff
>> ___
>> Sugar-devel mailing list
>> sugar-de...@lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
>
> --
> Caroline Meeks
> Solution Grove
> carol...@solutiongrove.com
>
> 617-500-3488 - Office
> 505-213-3268 - Fax
>
> ___
> Sugar-devel mailing list
> sugar-de...@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [Sugar-devel] Collaboration Plan for the GPA tomorrow

2009-07-14 Thread Dave Bauer
On Mon, Jul 13, 2009 at 9:43 PM, Caroline
Meeks wrote:
> We will be at the GPA tomorrow and we'll have time to test after class,
> probably around 12:30.
>
> So far all I have planned is to try getting rid of the jabber key on the
> master and try cloning some new sticks.
>
> We will also enable debugging following Dave's suggestion:
>
> To do that I edit ~/.Xclients to include this
>
>  if [ -f ~/.sugar/debug ]; then
>         . ~/.sugar/debug
>  fi
>
> before  eval \\\$(dbus-launch --sh-syntax --exit-with-session)
>
> Then we need to edit ~/.sugar/debug to fix a couple of typos:
>
>
> Missing space between exportGABBLE_LOGFILE
> and exportSALUTLOGFILE.
>
> It should be
> export GABBLE_LOGFILE...
> export SALUT_LOGFILE
>
> Are there any other suggestions?
>
> We got a hint from collabora that we should check the "keepalive" setting.
> Does anyone know what that is or how we could change it?
>
> There seems to be a separate bug that keeps local collaboration from
> working.  Does anyone have any thoughts of what it might be or how to get
> more information?

The debugging settings will also enabled logs for local collaboration,
so hopefully that will give us the information we need. In fact it
might also be related to the duplicated keys, but I don't know enough
about the internals to say for sure.

Dave

> -- Forwarded message --
> From: Caroline Meeks 
> Date: Mon, Jul 13, 2009 at 5:28 PM
> Subject: Collaboration Plan for the GPA tomorrow
> To: Caroline Meeks 
>
>
>
>
> --
> Caroline Meeks
> Solution Grove
> carol...@solutiongrove.com
>
> 617-500-3488 - Office
> 505-213-3268 - Fax
>
>
>
> --
> Caroline Meeks
> Solution Grove
> carol...@solutiongrove.com
>
> 617-500-3488 - Office
> 505-213-3268 - Fax
>
> ___
> Sugar-devel mailing list
> sugar-de...@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] logging performance

2009-07-16 Thread Dave Bauer
On Wed, Jul 15, 2009 at 3:23 PM, Sameer Verma wrote:
> Any suggestions on how to log data on RAM and CPU usage on the XS? I've
> looked at mem.py and top variants, but I want something that logs at x
> intervals to a file that I can pull into a spreadsheet. I have munin running
> on the xs, but it is not fine-grained enough to show variations, say every
> 10 seconds or so.
>
> Suggestions?

We are using SAR on jabber.sugarlabs.org http://linux.die.net/man/1/sar
I modied a cron job to log every minute, you can adjust as necessary.

It is in /etc/cron.d/sysstat
# Run system activity accounting tool every 10 minutes
*/1 * * * * root /usr/lib/sa/sa1 -d 1 1

Dave

> --
> Dr. Sameer Verma, Ph.D.
> Associate Professor of Information Systems
> San Francisco State University
> San Francisco CA 94132 USA
> http://verma.sfsu.edu/
> http://opensource.sfsu.edu/
>
> ___
> Server-devel mailing list
> Server-devel@lists.laptop.org
> http://lists.laptop.org/listinfo/server-devel
>
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] /library partition

2009-07-16 Thread Dave Bauer
I am not sure if there is any documentation:

It has
pgsql-xs the postgresql database for Moodle
users which I think are home directories for the registered XOs which
will contain their backups.
xs-activation, hopefully martin will explain that
xs-activity-server which I assume allows you to run a server to
distribute activities, and the content goes there.
xs-rsync I am not sure what this is.

I believe the overall idea is that anything that is "content" goes in
this directory as opposed to software or parts of the operating
system.

Dave

On Thu, Jul 16, 2009 at 4:40 PM, Sameer Verma wrote:
> Any documentation on what lives in /library and how to make it useful?
>
> Sameer
> --
> Dr. Sameer Verma, Ph.D.
> Associate Professor of Information Systems
> San Francisco State University
> San Francisco CA 94132 USA
> http://verma.sfsu.edu/
> http://opensource.sfsu.edu/
>
> ___
> Server-devel mailing list
> Server-devel@lists.laptop.org
> http://lists.laptop.org/listinfo/server-devel
>
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XS Registration

2009-07-23 Thread Dave Bauer
You right click on the XO icon and choose Register from the dropdown menu.

Dave

On Thu, Jul 23, 2009 at 12:23 PM, Miguel
Salazar wrote:
> Hi! I'm trying to set-up an XS as a backup server for XO's. I've been
> through the wiki and the first step to do this states that I need to
> "register the XO in the XS". Could anyone tell me how to accomplish this?
> I've looked around and still haven't found a way to do this. Any help will
> be appreciated!
>
>
> ___
> Server-devel mailing list
> Server-devel@lists.laptop.org
> http://lists.laptop.org/listinfo/server-devel
>
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] ejabberd web interface

2009-08-06 Thread Dave Bauer
The commands in the installiing software page should work
ie:

ejabberdctl register admin password
then
ad...@hostname.domain.com
password

should log you in.

On Thu, Aug 6, 2009 at 11:41 AM, Miguel Salazar wrote:
> Hi! I've been struggling a bit with ejabberd lately.
>
> As of now, ejabberd is running fine and smoothly. However, I can't access
> the web admin interface since it keeps prompting me for a username/password.
> I tried registering several accounts with different passwords, and none of
> them seem to work (I'm trying to set-up a Shared Roster, and I know this can
> be done 'manually', but it's too much of a hazzle for our intended
> purposes). Could anyone give me an insight into what's going on or what can
> I do to fix this? Any help will be greatly appreciated!
>
> -Miguel Salazar
>
> ___
> Server-devel mailing list
> Server-devel@lists.laptop.org
> http://lists.laptop.org/listinfo/server-devel
>
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [Sugar-devel] Results of today's Jabber Testing

2009-08-12 Thread Dave Bauer
On Tue, Aug 11, 2009 at 9:39 PM, Martin Langhoff
wrote:

> On Tue, Aug 11, 2009 at 8:33 PM, Caroline
> Meeks wrote:
> > I worked with the RIT contingent and Dave Farning today to do some
> > collaboration testing.
> > We tested with 8 computers on a rarely used dev XS system hosted by
> Solution
> > Grove.
>
> Interesting!
>
> Your report is a bit confusing so I will
>
>  - you had no problems connecting 8 users to a vanilla XS running some
> 0.6d, right?
>  - but later on jabber.s.o you had problems with 29 users...
>
> Is that correct?
>
> What sw is jabber.s.o running? Does it deviate in any way from a
> recent XS 0.6? Could network problems explain part of the problem?
>

jabber.sl.o is XS 0.5.2 stock install. It has 2GB of ram. Both xsdev and
jabber.sl.o are virtual machines on the same network in the same rack.

>
> What did ejabberdctl connected-users say at the points when users were
> appearing/disappearing? Did ejabberd see them come and go? Or did it
> think they were connected all the time?
>
connected-users reported the correct number, so when they were disconnecting
and connectng, it was changing the reported number of connected-users.

>
> These are very basic questions -- when doing this testing, you'll want
> someone looking at the jabber server, dumping connected-users and
> asking the Sugar users to run `olpc-xos` to compare.


We were using the Analyze activity to compare. On the 0.6 server it matched.
I was watching the server and Analyze at te same time.

>
> In fact a time-series of captures of `olpc-xos` on each Sugar / XO
> client and  `ejabberd connected-users` on the XS, plus a verbose log
> from ejabberd would tell you a lot.
>

olpc-xos command is not installed on SoaS. Maybe we can add that. Using
analyze we can see the real-time connection but I don't see any way to
capture the data historically.

Dave

>
> cheers,
>
>
>
> m
> --
>  martin.langh...@gmail.com
>  mar...@laptop.org -- School Server Architect
>  - ask interesting questions
>  - don't get distracted with shiny stuff  - working code first
>  - http://wiki.laptop.org/go/User:Martinlanghoff
> ___
> Sugar-devel mailing list
> sugar-de...@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] Moodle/Ejabberd group config

2009-10-13 Thread Dave Bauer
I am trying to test out the Moodle/Ejabberd course/group configuration
following 
http://wiki.laptop.org/go/XS_Techniques_and_Configuration#Segregating_presence_by_course_groups

I turned on the presence service on moodle, restarted everything,
created some courses.

ejabberdctl srg-list-groups

returns online "Online" and I can confirm I can still see everyone in
the neighborhood even though they are seperated into different
courses.

Where should I look to debug this?

-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Moodle/Ejabberd group config

2009-10-13 Thread Dave Bauer
On Tue, Oct 13, 2009 at 11:30 AM, Martin Langhoff
 wrote:
> On Tue, Oct 13, 2009 at 5:22 PM, Dave Bauer  wrote:
>> I am trying to test out the Moodle/Ejabberd course/group configuration
>> following 
>> http://wiki.laptop.org/go/XS_Techniques_and_Configuration#Segregating_presence_by_course_groups
>>
>> I turned on the presence service on moodle, restarted everything,
>> created some courses.
>
> Good!
>
>> ejabberdctl srg-list-groups
>>
>> returns online "Online" and I can confirm I can still see everyone in
>> the neighborhood even though they are seperated into different
>> courses.
>
> - Did you create courses and assign users as teachers or students in them?
>

Yes

> - After ~10 minutes ejabberdctl srg-list-groups still lists only Online?
>   - Recheck that you got the setting on moodle admin correct

Yes

>   - look at /var/log/moodle/cron.log -- it is fairly verbose, but it
> will talk of creating / destroying the SRGs in ejabberd
>
Thanks, I'll check that out.

Dave
>
> m
> --
>  martin.langh...@gmail.com
>  mar...@laptop.org -- School Server Architect
>  - ask interesting questions
>  - don't get distracted with shiny stuff  - working code first
>  - http://wiki.laptop.org/go/User:Martinlanghoff
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Moodle/Ejabberd group config

2009-10-13 Thread Dave Bauer
On Tue, Oct 13, 2009 at 11:38 AM, Dave Bauer  wrote:
> On Tue, Oct 13, 2009 at 11:30 AM, Martin Langhoff
>  wrote:
>> On Tue, Oct 13, 2009 at 5:22 PM, Dave Bauer  wrote:
>>> I am trying to test out the Moodle/Ejabberd course/group configuration
>>> following 
>>> http://wiki.laptop.org/go/XS_Techniques_and_Configuration#Segregating_presence_by_course_groups
>>>
>>> I turned on the presence service on moodle, restarted everything,
>>> created some courses.
>>
>> Good!
>>
>>> ejabberdctl srg-list-groups
>>>
>>> returns online "Online" and I can confirm I can still see everyone in
>>> the neighborhood even though they are seperated into different
>>> courses.
>>
>> - Did you create courses and assign users as teachers or students in them?
>>
>
> Yes
>
>> - After ~10 minutes ejabberdctl srg-list-groups still lists only Online?
>>   - Recheck that you got the setting on moodle admin correct
>
> Yes
>
>>   - look at /var/log/moodle/cron.log -- it is fairly verbose, but it
>> will talk of creating / destroying the SRGs in ejabberd
>>
> Thanks, I'll check that out.
>


I tracked this down. In moodle/web/auth/olpcxs/auth.php where
schoolserver is set as the hostname. I changed it to use
php_uname('n') and it is working now. I'll submit a patch if you think
this is workable. It coincides with the registration patches to allow
other server names.

Dave

> Dave
>>
>> m
>> --
>>  martin.langh...@gmail.com
>>  mar...@laptop.org -- School Server Architect
>>  - ask interesting questions
>>  - don't get distracted with shiny stuff  - working code first
>>  - http://wiki.laptop.org/go/User:Martinlanghoff
>>
>
>
>
> --
> Dave Bauer
> d...@solutiongrove.com
> http://www.solutiongrove.com
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Moodle/Ejabberd group config

2009-10-13 Thread Dave Bauer
On Tue, Oct 13, 2009 at 12:35 PM, Martin Langhoff
 wrote:
> On Tue, Oct 13, 2009 at 5:58 PM, Dave Bauer  wrote:
>> I tracked this down. In moodle/web/auth/olpcxs/auth.php where
>> schoolserver is set as the hostname. I changed it to use
>> php_uname('n') and it is working now. I'll submit a patch if you think
>> this is workable. It coincides with the registration patches to allow
>> other server names.
>
> Why was it failing? What was $XS_FQDN?

It was concatenating 'schoolserver' . $XS_FQDN where our XS is not
called schoolserver.

Dave

>
>
>
> m
> --
>  martin.langh...@gmail.com
>  mar...@laptop.org -- School Server Architect
>  - ask interesting questions
>  - don't get distracted with shiny stuff  - working code first
>  - http://wiki.laptop.org/go/User:Martinlanghoff
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] Strange Presence Anomoly?

2009-10-13 Thread Dave Bauer
I had 3 users on an XS.
One user shared Terminal
Second user entered the shared terminal then stopped the shared
terminal on their end.
Second user can't see first user in neighborhood anymore.
Third user and first user can still see everyone.

Interesting. I will try to collect more data but I wanted to get this
out there as something to look for.

Dave
-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XS on Netbook

2009-10-19 Thread Dave Bauer
On Mon, Oct 19, 2009 at 7:35 PM, Gerald Ardito  wrote:
> Hello,
>
> Has anyone installed the XS on a netbook?
> The big issue is that there is no optical drive, but beyond that I was
> wondering if that would work.
>

Since you can run XS on an XO it should work fine. A little faster.
You'll need an external hard drive to store the user data and backups.

Dave

> Thanks.
> Gerald
>
> ___
> Server-devel mailing list
> Server-devel@lists.laptop.org
> http://lists.laptop.org/listinfo/server-devel
>
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XS on Netbook

2009-10-19 Thread Dave Bauer
On Mon, Oct 19, 2009 at 9:19 PM, Gerald Ardito  wrote:
> Dave,
>
> Thanks.
> And can I install (easily) from a USB drive, or do I need to attach an
> external CD drive?
>

I haven;t tried it, but if you can make a bootable USB from the iso
you should be able to install from there. I use unetbootin or Fedora
LiveUSB creator for that and I have installed more traditional Linux
installs on my netbook.

Dave

> Gerald
>
> On Mon, Oct 19, 2009 at 8:18 PM, Dave Bauer  wrote:
>>
>> On Mon, Oct 19, 2009 at 7:35 PM, Gerald Ardito 
>> wrote:
>> > Hello,
>> >
>> > Has anyone installed the XS on a netbook?
>> > The big issue is that there is no optical drive, but beyond that I was
>> > wondering if that would work.
>> >
>>
>> Since you can run XS on an XO it should work fine. A little faster.
>> You'll need an external hard drive to store the user data and backups.
>>
>> Dave
>>
>> > Thanks.
>> > Gerald
>> >
>> > ___
>> > Server-devel mailing list
>> > Server-devel@lists.laptop.org
>> > http://lists.laptop.org/listinfo/server-devel
>> >
>> >
>>
>>
>>
>> --
>> Dave Bauer
>> d...@solutiongrove.com
>> http://www.solutiongrove.com
>
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [IAEP] Sharing EToys projects

2009-12-06 Thread Dave Bauer
On Sun, Dec 6, 2009 at 7:08 PM, Tomeu Vizoso  wrote:

> On Sun, Dec 6, 2009 at 21:31, Gerald Ardito 
> wrote:
> > Hello.
> >
> > I am working with 140 5th grade students who are using XOs (mostly) and
> > netbooks with SOAS.
> > About 50 of them are using Etoys to create projects.
> > I am trying to find a way to share them with their teachers and each
> other.
> > When I try to upload them to a Moodle course and them download them, the
> > downloaded files can't be read by EToys.
> >
> > Any ideas?
>
> This uses to be a problem with the mime types. Can you see with which
> mimetype is downloaded the file from moodle?
>
>
Do you happen to know what the mime type should be for Etoys to open it?
Thanks
Dave


> Regards,
>
> Tomeu
>
> --
> «Sugar Labs is anyone who participates in improving and using Sugar.
> What Sugar Labs does is determined by the participants.» - David
> Farning
> ___
> IAEP -- It's An Education Project (not a laptop project!)
> i...@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/iaep
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [IAEP] Sharing EToys projects

2009-12-07 Thread Dave Bauer
On Sun, Dec 6, 2009 at 7:22 PM, Gerald Ardito wrote:

> Tomeu,
>
> There is no mime type that I can see. The Journal entry simply says  File <
> filename.pr> from .
> This is no different, by the way, when I upload and then download games we
> made in Memorize. However, Memorize will load the downloaded game.
>
> Thanks.
> Gerald
>
>
>
Hi, I checked the apache config and added the mime type for the .pr files. I
downloaded the file on my Mac and it got the correct mime type and offered
to open the project in Squeak.

I tried on soas-strawberry and XO-802 and it did not open etoys from the
journal. Maybe etoys is looking for a different mime-type than
x-application/squeak-project?

Dave


> On Sun, Dec 6, 2009 at 7:08 PM, Tomeu Vizoso  wrote:
>
>> On Sun, Dec 6, 2009 at 21:31, Gerald Ardito 
>> wrote:
>> > Hello.
>> >
>> > I am working with 140 5th grade students who are using XOs (mostly) and
>> > netbooks with SOAS.
>> > About 50 of them are using Etoys to create projects.
>> > I am trying to find a way to share them with their teachers and each
>> other.
>> > When I try to upload them to a Moodle course and them download them, the
>> > downloaded files can't be read by EToys.
>> >
>> > Any ideas?
>>
>> This uses to be a problem with the mime types. Can you see with which
>> mimetype is downloaded the file from moodle?
>>
>> Regards,
>>
>> Tomeu
>>
>> --
>> «Sugar Labs is anyone who participates in improving and using Sugar.
>> What Sugar Labs does is determined by the participants.» - David
>> Farning
>>
>
>
> ___
> IAEP -- It's An Education Project (not a laptop project!)
> i...@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/iaep
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [IAEP] Sharing EToys projects

2009-12-07 Thread Dave Bauer
On Mon, Dec 7, 2009 at 4:04 PM, Bert Freudenberg wrote:

> On 07.12.2009, at 21:54, Dave Bauer wrote:
>
> On Sun, Dec 6, 2009 at 7:22 PM, Gerald Ardito wrote:
>
>> Tomeu,
>>
>> There is no mime type that I can see. The Journal entry simply says  File
>>  from .
>> This is no different, by the way, when I upload and then download games we
>> made in Memorize. However, Memorize will load the downloaded game.
>>
>> Thanks.
>> Gerald
>>
>>
>>
> Hi, I checked the apache config and added the mime type for the .pr files.
> I downloaded the file on my Mac and it got the correct mime type and offered
> to open the project in Squeak.
>
>
> I'm not sure if the filename doesn't play a role on the Mac.
>
> I tried on soas-strawberry and XO-802 and it did not open etoys from the
> journal. Maybe etoys is looking for a different mime-type than
> x-application/squeak-project?
>
>
> Try application/x-squeak-project not x-application/...
>
> It used to work on 802. And it does work in F11_XO1.5/Sugar 0.84 - I just
> tried. Just go to Squeakland.org and click the project thumbnail next to
> "Jeopardy 3point0" which is the current project of the week.
>
>
Ok, good news! That opens in the etoys plugin in my browser so I will try to
change the mime type and test again. Thanks

Dave


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



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [IAEP] Sharing EToys projects

2009-12-07 Thread Dave Bauer
On Mon, Dec 7, 2009 at 4:13 PM, Bert Freudenberg wrote:

> On 07.12.2009, at 22:08, Dave Bauer wrote:
>
> On Mon, Dec 7, 2009 at 4:04 PM, Bert Freudenberg wrote:
>
>> On 07.12.2009, at 21:54, Dave Bauer wrote:
>>
>> On Sun, Dec 6, 2009 at 7:22 PM, Gerald Ardito wrote:
>>
>>> Tomeu,
>>>
>>> There is no mime type that I can see. The Journal entry simply says  File
>>>  from .
>>> This is no different, by the way, when I upload and then download games
>>> we made in Memorize. However, Memorize will load the downloaded game.
>>>
>>> Thanks.
>>> Gerald
>>>
>>>
>>>
>> Hi, I checked the apache config and added the mime type for the .pr files.
>> I downloaded the file on my Mac and it got the correct mime type and offered
>> to open the project in Squeak.
>>
>>
>> I'm not sure if the filename doesn't play a role on the Mac.
>>
>> I tried on soas-strawberry and XO-802 and it did not open etoys from the
>> journal. Maybe etoys is looking for a different mime-type than
>> x-application/squeak-project?
>>
>>
>> Try application/x-squeak-project not x-application/...
>>
>> It used to work on 802. And it does work in F11_XO1.5/Sugar 0.84 - I just
>> tried. Just go to Squeakland.org and click the project thumbnail next to
>> "Jeopardy 3point0" which is the current project of the week.
>>
>>
> Ok, good news! That opens in the etoys plugin in my browser so I will try
> to change the mime type and test again. Thanks
>
> Dave
>
>
> Ah well, the plugin embedding code (on Mac/Win/non-sugar Linux) provides
> its own mime type, so this does not really mean it will work in Sugar, where
> you do not have (nor need) the plugin.
>
>



OK, I fixed this by adding

'pr' => array ('type'=>'application/x-squeak-project','icon'=>'video.gif'),

to lib/filelib.php in moodle. Looks like our version of XS did not support
this mime type for forum uploads in moodle. This should be an XS 0.6
install.

Thanks!

Dave



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



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] We need: examples of XS hardware in use --

2010-01-12 Thread Dave Bauer
On Tue, Jan 12, 2010 at 3:01 PM, Walter Bender wrote:

> On Tue, Jan 12, 2010 at 7:43 AM, Martin Langhoff
>  wrote:
> > List, David, Reuben,
> >
> > We are getting increasing enquiries "what hardware can we use for an
> > XS in a school with N laptops?", and frankly the
> > http://wiki.laptop.org/go/XS_Recommended_Hardware is a bit slim on
> > concrete recommendations.
> >
> > So I need your help -- I've added some info in the "hardware known to
> > work" section, but I'd like David to put more info on the exact model
> > of MSI Wind he's using, additional hardware, number of laptops
> > supported, and any extra notes.
> >
> > Similarly, Reuben, I need more info on what hw the OLPCCorps crowd is
> using.
> >
> > And anyone else that's running an XS (hi Hamilton!)... we need your hw
> > profile and your numbers.
>
> Related, what is the in-the-field useful footprint for running an XS
> VM as per Hamilton's configuration?
>
> -walter
>
>
Here is what the VM sees

2GB RAM It has about 240mb free.
 beam is running around 300mb.
gadget is running around 500mb

Little load on the CPU right now.
It is assigned 1CPU up to 2Ghz

ejabberd has
7247 registered users
19 online users. This is close to the average i have seen between 20-30
since we started running it.

Dave

--
> Walter Bender
> Sugar Labs
> http://www.sugarlabs.org
> ___
> Server-devel mailing list
> Server-devel@lists.laptop.org
> http://lists.laptop.org/listinfo/server-devel
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] ds-backup.sh on desktop hardware

2010-01-28 Thread Dave Bauer
It looks like line 113 does not work it gets in error when you do not have
any battery and
the command

hal-get-property --udi $B_HAL --key battery.charge_level.percentage

returns instead of a numeric value, the help for hal-get-property.

I think we need a check for $B_HAL being empty here.

Dave
-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel