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:timmo...@sympatico.ca] Sent: Monday, October 12, 2009 12:29 PM To: 'Martin Langhoff' Cc: server-devel@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.langh...@gmail.com To: Tim Moody timmo...@sympatico.ca Cc: server-devel@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 timmo...@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.langh...@gmail.com To: Tim Moody timmo...@sympatico.ca Cc: server-devel@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 timmo...@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.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 -- 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 ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] fresh XS 0.6 install
would it make sense to modify /etc/services so 8080 is named idmgr? that would make netstat --listen -pe --inet a little more meaningful. - Original Message - From: Martin Langhoff martin.langh...@gmail.com To: Tim Moody timmo...@sympatico.ca Cc: server-devel@lists.laptop.org Sent: Monday, October 12, 2009 3:33 AM Subject: Re: [Server-devel] fresh XS 0.6 install On Mon, Oct 12, 2009 at 6:29 AM, Tim Moody timmo...@sympatico.ca wrote: sorry. I was looking for it under httpd.conf. I guess it must be the 'webcache' service. Actually, it's not webcache (though the port is conventionally used for an http proxy). It is a python program listening on port 8080, controlled by /etc/init.d/idmgr (aka service idmgr) Anyway, applying the schoolserver.py patch from http://dev.sugarlabs.org/ticket/916 allowed my soas to register successfully. Good to hear -- I think Hamilton also has patches to make sure ds-backup-client works properly from SoaS. Can you help chase Hamilton, Tomeu Sebastian so that those patches are applied, merged, whatever so that they _do_ appear on SoaS? Without them, the XS is useless for a SoaS deployment. 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
Re: [Server-devel] fresh XS 0.6 install
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: tkk...@nurturingasia.com To: Tim Moody timmo...@sympatico.ca; Martin Langhoff martin.langh...@gmail.com Cc: server-devel@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:timmo...@sympatico.ca] Sent: Monday, October 12, 2009 12:29 PM To: 'Martin Langhoff' Cc: server-devel@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.langh...@gmail.com To: Tim Moody timmo...@sympatico.ca Cc: server-devel@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 timmo...@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.langh...@gmail.com To: Tim Moody timmo...@sympatico.ca Cc: server-devel@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 timmo...@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.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 -- 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 ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] fresh XS 0.6 install
Thanks. As I read the threads I figured out that I need to make some change to the idmgr.conf so that it listen to specific IP of my XS. Timely help from Dave Hamilton save my day - added BIND_ADDRESS=192.168.1.22 (my XS IP) and the registration is now working. Cheers -Original Message- From: Tim Moody [mailto:timmo...@sympatico.ca] Sent: Monday, October 12, 2009 11:45 PM To: tkk...@nurturingasia.com, 'Martin Langhoff' Cc: server-devel@lists.laptop.org Subject: Re: [Server-devel] fresh XS 0.6 install 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: tkk...@nurturingasia.com To: Tim Moody timmo...@sympatico.ca; Martin Langhoff martin.langh...@gmail.com Cc: server-devel@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? ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] fresh XS 0.6 install
On Mon, Oct 12, 2009 at 6:13 PM, tkk...@nurturingasia.com wrote: Thanks. As I read the threads I figured out that I need to make some change to the idmgr.conf so that it listen to specific IP of my XS. Timely help from Dave Hamilton save my day - added BIND_ADDRESS=192.168.1.22 (my XS IP) and the registration is now working. That doesn't sound right. idmgr must only listen on the LAN address, and the LAN address has a hardcoded IP address. 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
Re: [Server-devel] fresh XS 0.6 install
On Mon, 2009-10-12 at 18:20 +0200, Martin Langhoff wrote: On Mon, Oct 12, 2009 at 6:13 PM, tkk...@nurturingasia.com wrote: Thanks. As I read the threads I figured out that I need to make some change to the idmgr.conf so that it listen to specific IP of my XS. Timely help from Dave Hamilton save my day - added BIND_ADDRESS=192.168.1.22 (my XS IP) and the registration is now working. That doesn't sound right. idmgr must only listen on the LAN address, and the LAN address has a hardcoded IP address. m Sounds like a virtual machine networking layout to me. Jerry ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] fresh XS 0.6 install
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.langh...@gmail.com To: Tim Moody timmo...@sympatico.ca Cc: server-devel@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 timmo...@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.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