[Server-devel] fresh XS 0.6 install

Tim Moody timmoody at sympatico.ca
Mon Oct 12 11:45:24 EDT 2009


There's probably a better way to do this, but I don't know the xo very well 
yet.  Here's what I did on soas:

(assuming that networking is working, i.e. you can type schoolserver in the 
browse address and reach the moodle login screen on the xs)

from home access the setup menu and take networking (sorry I don't remember 
the exact name)
change the name of the jabberd server to schoolserver.<your domain>

start terminal activity (it may not be visible at first if it's not a 
favorite and I don't remember how I found it)
su - (become the root user; there was no password on my install)
yum install wget (use this to get the patch; it's not alread there)
cd /usr/lib/python2.6/site-packages/jarabe/desktop (this is where the python 
script that registers the xo goes)
mv schoolserver.py schoolserver.py.ORIG (keep a copy in case)
wget http://dev.sugarlabs.org/raw-attachment/ticket/916/schoolserver.py
reboot

registration should now work

----- Original Message ----- 
From: <tkkang at nurturingasia.com>
To: "Tim Moody" <timmoody at sympatico.ca>; "Martin Langhoff" 
<martin.langhoff at gmail.com>
Cc: <server-devel at lists.laptop.org>
Sent: Monday, October 12, 2009 4:08 AM
Subject: Re: [Server-devel] fresh XS 0.6 install


>I am having problem with SoAS registration. I get can't connect error to 
>server
>
> I check.. and idmgr (pid 3484) is running..
>
> Not able to confirm if it is listening to 8080  with 
> netstat --listen -pe --inet
>
> Am I missing something?
>
>
>
>>-----Original Message-----
>>From: Tim Moody [mailto:timmoody at sympatico.ca]
>>Sent: Monday, October 12, 2009 12:29 PM
>>To: 'Martin Langhoff'
>>Cc: server-devel at lists.laptop.org
>>Subject: Re: [Server-devel] fresh XS 0.6 install
>>
>>sorry.  I was looking for it under httpd.conf.  I guess it must be the
>>'webcache' service.
>>
>>Anyway, applying the schoolserver.py patch from
>>http://dev.sugarlabs.org/ticket/916 allowed my soas to register
>>successfully.
>>
>>----- Original Message ----- 
>>From: "Martin Langhoff" <martin.langhoff at gmail.com>
>>To: "Tim Moody" <timmoody at sympatico.ca>
>>Cc: <server-devel at lists.laptop.org>
>>Sent: Sunday, October 11, 2009 4:15 AM
>>Subject: Re: [Server-devel] fresh XS 0.6 install
>>
>>
>>XS does listen on 8080, netstat --listen -pe --inet should show it. It
>>is the 'idmgr' service.
>>
>>
>>m
>>
>>On Sun, Oct 11, 2009 at 5:48 AM, Tim Moody <timmoody at sympatico.ca> wrote:
>>> So I abandoned qemu and moved to soas under vbox with bridged 
>>> networking.
>>>
>>> Now soas gets an ip from the xs and I can reach the moodle login page 
>>> (and
>>> also the external internet)
>>>
>>> But, I can not register the soas. I get 'can not obtain data needed to
>>> register'. I read http://dev.sugarlabs.org/ticket/916, but I'm not clear
>>> if
>>> this is already in soas and anyway the patch seems to expect the xs to
>>> listen on 8080, which I don't think it does.
>>>
>>> Help appreciated.
>>>
>>> ----- Original Message ----- From: "Martin Langhoff"
>>> <martin.langhoff at gmail.com>
>>> To: "Tim Moody" <timmoody at sympatico.ca>
>>> Cc: <server-devel at lists.laptop.org>
>>> Sent: Saturday, October 10, 2009 4:52 AM
>>> Subject: Re: [Server-devel] fresh XS 0.6 install
>>>
>>>
>>>> On Sat, Oct 10, 2009 at 1:06 AM, Tim Moody <timmoody at sympatico.ca> 
>>>> wrote:
>>>>>
>>>>> OK, so the message is don't worry about first boot.
>>>>> /var/log/moodle-instupg.log ends in success.
>>>>
>>>> Good!
>>>>
>>>>> the next problem is that when I try to register the qemu emulated xo
>>>>> 8.2.0
>>>>> it fails, probably because qemu has a built in dhcp server and nat
>>>>> firewall,
>>>>> so the xo never gets it address, dns, and domain from the xs and
>>>>> therefore
>>>>> can't find the xs.
>>>>
>>>> Very likely correct. Maybe you can run qemu without dhcp & nat?
>>>>
>>>>
>>>>
>>>> m
>>>> --
>>>> martin.langhoff at gmail.com
>>>> martin at 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
>>>>
>>>
>>>
>>
>>
>>
>>-- 
>> martin.langhoff at gmail.com
>> martin at 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 at lists.laptop.org
>>http://lists.laptop.org/listinfo/server-devel
>>
>
>
> 



More information about the Server-devel mailing list