I have never been able to get this to work.<br>Whenever we try to register one of the XOs, we get a message that we could not connect to the server.<br>However, we can ping the server from the XOs and the XOs from the server.<br>
<br>Any ideas?<br><br>Gerald<br><br><div class="gmail_quote">On Tue, Apr 21, 2009 at 4:13 PM, Reuben K. Caron <span dir="ltr">&lt;<a href="mailto:reuben@laptop.org">reuben@laptop.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



  

<div bgcolor="#ffffff" text="#000000">
Ciro,<br>
<br>
On the XO side you need to make sure the XO is connected to an Access
Point that is connected to the XO, like:<br>
<br>
XS---AP---XO<br>
<br>
Once the XO is associated with the Access Point. You can register the
XO to the school server. You can do this on the Home Screen. Hover the
mouse of the XO Child, and select the option to Register. On 703 you
can check if registration is successful by moving the mouse away from
the XO Child and moving the mouse back over the XO Child and check if
the Registration option is now gone. On newer versions, 8.2.x, a
registration success message will appear.<br>
<br>
Regards,<br><font color="#888888">
Reuben</font><div><div></div><div class="h5"><br>
<br>
Ciro Nuñez wrote:
<blockquote type="cite">
  <pre>Hi,
Im trying to understand the registering process.
(registering xo with XS)
Could some one point me to the pieces of code to look up please?
I know that, at the server side, idmgr service is in charge.
but who is in charge at the  client side?

saludos,
Ing. Ciro Nuñez I.
______________________
Dirección General
de Tecnologías Educativas
DIGETE - MED - PERU
tel:   615-5800  (1236)
Cel: 991-331-163
________________________________________
De: <a href="mailto:server-devel-bounces@lists.laptop.org" target="_blank">server-devel-bounces@lists.laptop.org</a> [<a href="mailto:server-devel-bounces@lists.laptop.org" target="_blank">server-devel-bounces@lists.laptop.org</a>] en nombre de <a href="mailto:server-devel-request@lists.laptop.org" target="_blank">server-devel-request@lists.laptop.org</a> [<a href="mailto:server-devel-request@lists.laptop.org" target="_blank">server-devel-request@lists.laptop.org</a>]
Enviado el: viernes, 03 de abril de 2009 11:00 a.m.
Para: <a href="mailto:server-devel@lists.laptop.org" target="_blank">server-devel@lists.laptop.org</a>
Asunto: Server-devel Digest, Vol 24, Issue 7

Send Server-devel mailing list submissions to
        <a href="mailto:server-devel@lists.laptop.org" target="_blank">server-devel@lists.laptop.org</a>

To subscribe or unsubscribe via the World Wide Web, visit
        <a href="http://lists.laptop.org/listinfo/server-devel" target="_blank">http://lists.laptop.org/listinfo/server-devel</a>
or, via email, send a message with subject or body &#39;help&#39; to
        <a href="mailto:server-devel-request@lists.laptop.org" target="_blank">server-devel-request@lists.laptop.org</a>

You can reach the person managing the list at
        <a href="mailto:server-devel-owner@lists.laptop.org" target="_blank">server-devel-owner@lists.laptop.org</a>

When replying, please edit your Subject line so it is more specific
than &quot;Re: Contents of Server-devel digest...&quot;


Today&#39;s Topics:

   1. Re: Gadget on XS (Guillaume Desmottes)
   2. Re: XS Restore UI and account aliasing are ready for
      testing... (Martin Langhoff)
   3. Re: Gadget on XS (Dave Bauer)
   4. Re: Gadget on XS (Dave Bauer)


----------------------------------------------------------------------

Message: 1
Date: Fri, 03 Apr 2009 15:15:50 +0100
From: Guillaume Desmottes <a href="mailto:guillaume.desmottes@collabora.co.uk" target="_blank">&lt;guillaume.desmottes@collabora.co.uk&gt;</a>
Subject: Re: [Server-devel] Gadget on XS
To: <a href="mailto:dave.bauer@gmail.com" target="_blank">dave.bauer@gmail.com</a>
Cc: <a href="mailto:server-devel@lists.laptop.org" target="_blank">server-devel@lists.laptop.org</a>
Message-ID: <a href="mailto:1238768150.4109.27.camel@cass-x200s.lan" target="_blank">&lt;1238768150.4109.27.camel@cass-x200s.lan&gt;</a>
Content-Type: text/plain; charset=&quot;UTF-8&quot;

Le vendredi 03 avril 2009 ? 09:41 -0400, Dave Bauer a ?crit :
  </pre>
  <blockquote type="cite">
    <pre>On Wed, Apr 1, 2009 at 6:36 AM, Guillaume Desmottes
<a href="mailto:guillaume.desmottes@collabora.co.uk" target="_blank">&lt;guillaume.desmottes@collabora.co.uk&gt;</a> wrote:
        Le mardi 31 mars 2009 ? 13:45 -0400, Dave Bauer a ?crit :
        &gt; Hi,
        &gt;
        &gt; I am trying to get gadget working on my XS at
        &gt; <a href="http://schoolserver.solutiongrove.com" target="_blank">schoolserver.solutiongrove.com</a>
        &gt;
        &gt; First I downloaded the source and built it, but I could not
        find any
        &gt; indication that gadget was installed. How can I tell if it
        is working?
        &gt;
        &gt; Next I tried the gadget package
        &gt; <a href="http://koji.fedoraproject.org/koji/taskinfo?taskID=1261886" target="_blank">http://koji.fedoraproject.org/koji/taskinfo?taskID=1261886</a>
        RPM but it
        &gt; required ejabberd package. RPM says this is not installed.
        (I did
        &gt; install python-twisted which was another requirement of the
        RPM).
        &gt;
        &gt; Does anyoe have any advice on getting gadget working?


        Basically you have to install the gadget service, launch it
        (it&#39;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: &lt;class
&#39;twisted.internet.selectreactor.SelectReactor&#39;&gt;
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
&lt;twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at
0x8a8644c&gt;
2009/04/03 09:37 -0400 [Uninitialized] &lt;twisted.internet.tcp.Connector
instance at 0x8a8bb4c&gt; will retry in 2 seconds
2009/04/03 09:37 -0400 [Uninitialized] Stopping factory
&lt;twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at
0x8a8644c&gt;
2009/04/03 09:37 -0400 [-] Starting factory
&lt;twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at
0x8a8644c&gt;
2009/04/03 09:37 -0400 [Uninitialized] &lt;twisted.internet.tcp.Connector
instance at 0x8a8bb4c&gt; will retry in 9 seconds
2009/04/03 09:37 -0400 [Uninitialized] Stopping factory
&lt;twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at
0x8a8644c&gt;
2009/04/03 09:37 -0400 [-] Starting factory
&lt;twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at
0x8a8644c&gt;
2009/04/03 09:37 -0400 [Uninitialized] &lt;twisted.internet.tcp.Connector
instance at 0x8a8bb4c&gt; will retry in 24 seconds
2009/04/03 09:37 -0400 [Uninitialized] Stopping factory
&lt;twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at
0x8a8644c&gt;
2009/04/03 09:38 -0400 [-] Starting factory
&lt;twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at
0x8a8644c&gt;
2009/04/03 09:38 -0400 [Uninitialized] &lt;twisted.internet.tcp.Connector
instance at 0x8a8bb4c&gt; will retry in 70 seconds
2009/04/03 09:38 -0400 [Uninitialized] Stopping factory
&lt;twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at
0x8a8644c&gt;
2009/04/03 09:39 -0400 [-] Starting factory
&lt;twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at
0x8a8644c&gt;
2009/04/03 09:39 -0400 [Uninitialized] &lt;twisted.internet.tcp.Connector
instance at 0x8a8bb4c&gt; will retry in 183 seconds
2009/04/03 09:39 -0400 [Uninitialized] Stopping factory
&lt;twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at
0x8a8644c&gt;

and so on. Not sure where to look. is this OK?
    </pre>
  </blockquote>
  <pre>Did you properly configured ejabberd as explained in Gadget&#39;s README?
You should have something like that:

 {5560, ejabberd_service, [
      {ip, {127, 0, 0, 1}},
      {access, all},
      {host, &quot;<a href="http://gadget.jabber.sugarlabs.org" target="_blank">gadget.jabber.sugarlabs.org</a>&quot;, [{password, &quot;xxxx&quot;}]}]},

Your gadget.config should match these params.

Then don&#39;t forget to restart ejabberd to reload the new configuration.



        G.




------------------------------

Message: 2
Date: Fri, 3 Apr 2009 16:35:48 +0200
From: Martin Langhoff <a href="mailto:martin.langhoff@gmail.com" target="_blank">&lt;martin.langhoff@gmail.com&gt;</a>
Subject: Re: [Server-devel] XS Restore UI and account aliasing are
        ready for       testing...
To: XS Devel <a href="mailto:server-devel@lists.laptop.org" target="_blank">&lt;server-devel@lists.laptop.org&gt;</a>
Cc: OLPC Devel <a href="mailto:devel@lists.laptop.org" target="_blank">&lt;devel@lists.laptop.org&gt;</a>
Message-ID:
        <a href="mailto:46a038f90904030735q720a90c2h91c5d2fa99abf980@mail.gmail.com" target="_blank">&lt;46a038f90904030735q720a90c2h91c5d2fa99abf980@mail.gmail.com&gt;</a>
Content-Type: text/plain; charset=ISO-8859-1

On Thu, Apr 2, 2009 at 9:26 PM, Martin Langhoff
<a href="mailto:martin.langhoff@gmail.com" target="_blank">&lt;martin.langhoff@gmail.com&gt;</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre>?- Setup a XS 5.2 and grab my development version of moodle -
instructions here:
<a href="http://lists.laptop.org/pipermail/server-devel/2009-March/003126.html" target="_blank">http://lists.laptop.org/pipermail/server-devel/2009-March/003126.html</a>
    </pre>
  </blockquote>
  <pre>There&#39;s a new series of patches with minor tidyups, recommended. And
an rpm, so if you want to play with it

 yum --enablerepo=olpcxs-testing install moodle-xs

The version at this point is: moodle-xs-1.9.2.xs2.45.g136e4d

cheers,



martin
--
 <a href="mailto:martin.langhoff@gmail.com" target="_blank">martin.langhoff@gmail.com</a>
 <a href="mailto:martin@laptop.org" target="_blank">martin@laptop.org</a> -- School Server Architect
 - ask interesting questions
 - don&#39;t get distracted with shiny stuff  - working code first
 - <a href="http://wiki.laptop.org/go/User:Martinlanghoff" target="_blank">http://wiki.laptop.org/go/User:Martinlanghoff</a>


------------------------------

Message: 3
Date: Fri, 3 Apr 2009 10:40:20 -0400
From: Dave Bauer <a href="mailto:dave.bauer@gmail.com" target="_blank">&lt;dave.bauer@gmail.com&gt;</a>
Subject: Re: [Server-devel] Gadget on XS
To: Guillaume Desmottes <a href="mailto:guillaume.desmottes@collabora.co.uk" target="_blank">&lt;guillaume.desmottes@collabora.co.uk&gt;</a>
Cc: <a href="mailto:server-devel@lists.laptop.org" target="_blank">server-devel@lists.laptop.org</a>
Message-ID:
        <a href="mailto:6c4e07720904030740j7707fba3nc5c1f7456883466f@mail.gmail.com" target="_blank">&lt;6c4e07720904030740j7707fba3nc5c1f7456883466f@mail.gmail.com&gt;</a>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;

On Fri, Apr 3, 2009 at 10:15 AM, Guillaume Desmottes &lt;
<a href="mailto:guillaume.desmottes@collabora.co.uk" target="_blank">guillaume.desmottes@collabora.co.uk</a>&gt; wrote:

  </pre>
  <blockquote type="cite">
    <pre>Le vendredi 03 avril 2009 ? 09:41 -0400, Dave Bauer a ?crit :
    </pre>
    <blockquote type="cite">
      <pre>On Wed, Apr 1, 2009 at 6:36 AM, Guillaume Desmottes
<a href="mailto:guillaume.desmottes@collabora.co.uk" target="_blank">&lt;guillaume.desmottes@collabora.co.uk&gt;</a> wrote:
        Le mardi 31 mars 2009 ? 13:45 -0400, Dave Bauer a ?crit :
        &gt; Hi,
        &gt;
        &gt; I am trying to get gadget working on my XS at
        &gt; <a href="http://schoolserver.solutiongrove.com" target="_blank">schoolserver.solutiongrove.com</a>
        &gt;
        &gt; First I downloaded the source and built it, but I could not
        find any
        &gt; indication that gadget was installed. How can I tell if it
        is working?
        &gt;
        &gt; Next I tried the gadget package
        &gt; <a href="http://koji.fedoraproject.org/koji/taskinfo?taskID=1261886" target="_blank">http://koji.fedoraproject.org/koji/taskinfo?taskID=1261886</a>
        RPM but it
        &gt; required ejabberd package. RPM says this is not installed.
        (I did
        &gt; install python-twisted which was another requirement of the
        RPM).
        &gt;
        &gt; Does anyoe have any advice on getting gadget working?


        Basically you have to install the gadget service, launch it
        (it&#39;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: &lt;class
&#39;twisted.internet.selectreactor.SelectReactor&#39;&gt;
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
&lt;twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at
0x8a8644c&gt;
2009/04/03 09:37 -0400 [Uninitialized] &lt;twisted.internet.tcp.Connector
instance at 0x8a8bb4c&gt; will retry in 2 seconds
2009/04/03 09:37 -0400 [Uninitialized] Stopping factory
&lt;twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at
0x8a8644c&gt;
2009/04/03 09:37 -0400 [-] Starting factory
&lt;twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at
0x8a8644c&gt;
2009/04/03 09:37 -0400 [Uninitialized] &lt;twisted.internet.tcp.Connector
instance at 0x8a8bb4c&gt; will retry in 9 seconds
2009/04/03 09:37 -0400 [Uninitialized] Stopping factory
&lt;twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at
0x8a8644c&gt;
2009/04/03 09:37 -0400 [-] Starting factory
&lt;twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at
0x8a8644c&gt;
2009/04/03 09:37 -0400 [Uninitialized] &lt;twisted.internet.tcp.Connector
instance at 0x8a8bb4c&gt; will retry in 24 seconds
2009/04/03 09:37 -0400 [Uninitialized] Stopping factory
&lt;twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at
0x8a8644c&gt;
2009/04/03 09:38 -0400 [-] Starting factory
&lt;twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at
0x8a8644c&gt;
2009/04/03 09:38 -0400 [Uninitialized] &lt;twisted.internet.tcp.Connector
instance at 0x8a8bb4c&gt; will retry in 70 seconds
2009/04/03 09:38 -0400 [Uninitialized] Stopping factory
&lt;twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at
0x8a8644c&gt;
2009/04/03 09:39 -0400 [-] Starting factory
&lt;twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at
0x8a8644c&gt;
2009/04/03 09:39 -0400 [Uninitialized] &lt;twisted.internet.tcp.Connector
instance at 0x8a8bb4c&gt; will retry in 183 seconds
2009/04/03 09:39 -0400 [Uninitialized] Stopping factory
&lt;twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at
0x8a8644c&gt;

and so on. Not sure where to look. is this OK?
      </pre>
    </blockquote>
    <pre>Did you properly configured ejabberd as explained in Gadget&#39;s README?
You should have something like that:

 {5560, ejabberd_service, [
     {ip, {127, 0, 0, 1}},
     {access, all},
     {host, &quot;<a href="http://gadget.jabber.sugarlabs.org" target="_blank">gadget.jabber.sugarlabs.org</a>&quot;, [{password, &quot;xxxx&quot;}]}]},

Your gadget.config should match these params.

    </pre>
  </blockquote>
  <pre>AHA! gadget.config.

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


  </pre>
  <blockquote type="cite">
    <pre>Then don&#39;t forget to restart ejabberd to reload the new configuration.



       G.



    </pre>
  </blockquote>
  <pre>--
Dave Bauer
<a href="mailto:dave@solutiongrove.com" target="_blank">dave@solutiongrove.com</a>
<a href="http://www.solutiongrove.com" target="_blank">http://www.solutiongrove.com</a>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <a href="http://lists.laptop.org/pipermail/server-devel/attachments/20090403/687c302c/attachment-0001.htm" target="_blank">http://lists.laptop.org/pipermail/server-devel/attachments/20090403/687c302c/attachment-0001.htm</a>

------------------------------

Message: 4
Date: Fri, 3 Apr 2009 10:46:51 -0400
From: Dave Bauer <a href="mailto:dave.bauer@gmail.com" target="_blank">&lt;dave.bauer@gmail.com&gt;</a>
Subject: Re: [Server-devel] Gadget on XS
To: Guillaume Desmottes <a href="mailto:guillaume.desmottes@collabora.co.uk" target="_blank">&lt;guillaume.desmottes@collabora.co.uk&gt;</a>
Cc: <a href="mailto:server-devel@lists.laptop.org" target="_blank">server-devel@lists.laptop.org</a>
Message-ID:
        <a href="mailto:6c4e07720904030746m1cfe9b94v72d9424a720f887e@mail.gmail.com" target="_blank">&lt;6c4e07720904030746m1cfe9b94v72d9424a720f887e@mail.gmail.com&gt;</a>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;

  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre>Did you properly configured ejabberd as explained in Gadget&#39;s README?
You should have something like that:

 {5560, ejabberd_service, [
     {ip, {127, 0, 0, 1}},
     {access, all},
     {host, &quot;<a href="http://gadget.jabber.sugarlabs.org" target="_blank">gadget.jabber.sugarlabs.org</a>&quot;, [{password, &quot;xxxx&quot;}]}]},

Your gadget.config should match these params.

      </pre>
    </blockquote>
    <pre>AHA! gadget.config.

    </pre>
  </blockquote>
  <pre>Fixed, restarted ejabberd and gadget but same error.

Startup of gadget says
2009/04/03 10:44 -0400 [-] Received SIGTERM, shutting down.
2009/04/03 10:44 -0400 [-] Main loop terminated.
2009/04/03 10:44 -0400 [-] Server Shut Down.
2009/04/03 10:45 -0400 [-] Log opened.
2009/04/03 10:45 -0400 [-] twistd 2.5.0 (/usr/bin/python 2.5.1) starting up
2009/04/03 10:45 -0400 [-] reactor class: &lt;class
&#39;twisted.internet.selectreactor.SelectReactor&#39;&gt;
2009/04/03 10:45 -0400 [-] Loading /usr/share/gadget/gadget.tac...
2009/04/03 10:45 -0400 [-] Loaded.
2009/04/03 10:45 -0400 [-] Starting factory
&lt;twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at
0x94f640c&gt;
2009/04/03 10:45 -0400 [Uninitialized] &lt;twisted.internet.tcp.Connector
instance at 0x94fbb2c&gt; will retry in 2 seconds

Any idea how to debug?

Thanks
Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <a href="http://lists.laptop.org/pipermail/server-devel/attachments/20090403/5eba4565/attachment-0001.htm" target="_blank">http://lists.laptop.org/pipermail/server-devel/attachments/20090403/5eba4565/attachment-0001.htm</a>

------------------------------

_______________________________________________
Server-devel mailing list
<a href="mailto:Server-devel@lists.laptop.org" target="_blank">Server-devel@lists.laptop.org</a>
<a href="http://lists.laptop.org/listinfo/server-devel" target="_blank">http://lists.laptop.org/listinfo/server-devel</a>


End of Server-devel Digest, Vol 24, Issue 7
*******************************************
_______________________________________________
Server-devel mailing list
<a href="mailto:Server-devel@lists.laptop.org" target="_blank">Server-devel@lists.laptop.org</a>
<a href="http://lists.laptop.org/listinfo/server-devel" target="_blank">http://lists.laptop.org/listinfo/server-devel</a>
  </pre>
</blockquote>
<br>
</div></div></div>

<br>_______________________________________________<br>
Server-devel mailing list<br>
<a href="mailto:Server-devel@lists.laptop.org">Server-devel@lists.laptop.org</a><br>
<a href="http://lists.laptop.org/listinfo/server-devel" target="_blank">http://lists.laptop.org/listinfo/server-devel</a><br>
<br></blockquote></div><br>