Re: [Server-devel] XO Registration Failed with XS

2010-08-05 Thread ganesh gajre
@James  Martin : Thanks alot  for the new update. I had installed OS
10.1.2. My registration problem solved.

Also I am very glad to see various feature added in this OS build. Specially
Gnome on XO.



On Mon, Aug 2, 2010 at 7:40 PM, Martin Langhoff
martin.langh...@gmail.comwrote:

 On Sun, Aug 1, 2010 at 8:58 PM, James Cameron qu...@laptop.org wrote:
  Fixed, please upgrade.

 So this is in for 10.1.2 - bravo!


 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




-- 
Ganesh (Dragger)
Be a FOSSERS, use GNU/Linux
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XO Registration Failed with XS

2010-08-02 Thread Martin Langhoff
On Sun, Aug 1, 2010 at 8:58 PM, James Cameron qu...@laptop.org wrote:
 Fixed, please upgrade.

So this is in for 10.1.2 - bravo!


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] XO Registration Failed with XS

2010-08-01 Thread James Cameron
On Fri, Jul 30, 2010 at 03:19:34PM -0400, Martin Langhoff wrote:
 On Thu, Jul 29, 2010 at 7:43 PM, James Cameron qu...@laptop.org wrote:
  On Thu, Jul 29, 2010 at 12:22:47PM -0400, Martin Langhoff wrote:
  Maybe the sugar-control-panel cli can help,
  but again I don't know the incantation.
 
  Probably because it doesn't work, again.
 
  http://dev.laptop.org/ticket/10261 raised, please track.
 
 Yeah, it spits out the same damn errors to me too.
 
 Ugly :-/

Fixed, please upgrade.

(or, if you can't upgrade, backport the fix).

-- 
James Cameron
http://quozl.linux.org.au/
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XO Registration Failed with XS

2010-07-30 Thread Martin Langhoff
On Thu, Jul 29, 2010 at 7:43 PM, James Cameron qu...@laptop.org wrote:
 On Thu, Jul 29, 2010 at 12:22:47PM -0400, Martin Langhoff wrote:
 Maybe the sugar-control-panel cli can help,
 but again I don't know the incantation.

 Probably because it doesn't work, again.

 http://dev.laptop.org/ticket/10261 raised, please track.

Yeah, it spits out the same damn errors to me too.

Ugly :-/



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-de...@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XO Registration Failed with XS

2010-07-29 Thread Martin Langhoff
On Wed, Jul 28, 2010 at 7:04 PM, James Cameron qu...@laptop.org wrote:
 Is there something about my proposed fix in SL #1940 that is preventing
 it from being tested by deployments?  It has been three months.

Nope. Probably deployments are fighting 200 other things.

 Otherwise I need a complete test case to be able to verify the fix.

I've reworked it into a patch, tests correctly for me. Adding my test
script in the bug now.


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] XO Registration Failed with XS

2010-07-29 Thread Maxime Raynaud
Hello there,

I didn't find the answer on various mailing list, i thought i could drop
that here :
I have a working XS server and my XO 1.5 is already registered so I want to
reset the register information and I can't find the config file.
every answers point to /home/olpc/.sugar/default/config and i have no config
file here :(
I tried to search the string username = MyName from the root but found
nothing.
Is there a way i can retrieve the path of the current loaded config ?
Also I am able to launch a 2nd sugar environnement on an external display.
Do you guys know where this new config file (as i am entering a new username
+ XO color) is created? Will it conflict with my current config file?

Maxime

2010/7/29 Martin Langhoff martin.langh...@gmail.com

 On Wed, Jul 28, 2010 at 7:04 PM, James Cameron qu...@laptop.org wrote:
  Is there something about my proposed fix in SL #1940 that is preventing
  it from being tested by deployments?  It has been three months.

 Nope. Probably deployments are fighting 200 other things.

  Otherwise I need a complete test case to be able to verify the fix.

 I've reworked it into a patch, tests correctly for me. Adding my test
 script in the bug now.


 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

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


Re: [Server-devel] XO Registration Failed with XS

2010-07-29 Thread James Cameron
On Thu, Jul 29, 2010 at 12:22:47PM -0400, Martin Langhoff wrote:
 Maybe the sugar-control-panel cli can help,
 but again I don't know the incantation.

Probably because it doesn't work, again.

http://dev.laptop.org/ticket/10261 raised, please track.

-- 
James Cameron
http://quozl.linux.org.au/
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XO Registration Failed with XS

2010-07-28 Thread ganesh gajre
On Sun, Jul 25, 2010 at 6:12 PM, James Cameron qu...@laptop.org wrote:

 On Sun, Jul 25, 2010 at 10:00:59PM +1200, Tom Parker wrote:
  I have observed that if registration fails once it will fail every
  subsequent time until you do a restart of sugar.

 This may occur if there is no network connection on the first try,
 because the Sugar shell Python process caches the DNS resolver
 configuration.  It is a known problem.

  ctrl-alt-erase will
  restart sugar and seems to be sufficient.

 The new Sugar shell process re-reads the DNS resolver configuration,
 which had changed.


When registration failed I tried
ctrl-alt-erase and restart sugar, after that I again connect to router, ping
the server which is ok.

When I tried to register XO with server it fails

.sugar/default/logs/shell.log has following record

ERROR  root: Registration: cannot connect to server: (-3, 'Temporary
failure in name resolution') 


What can be the possible reason for this?


  Note this file is erased on restart, so you have to view it
  after the failure.

 I thought these were saved in .sugar/default/logs with a timestamp.

 --
 James Cameron
 http://quozl.linux.org.au/




-- 
Ganesh (Dragger)
Be a FOSSERS, use GNU/Linux
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XO Registration Failed with XS

2010-07-28 Thread Martin Langhoff
On Sun, Jul 25, 2010 at 8:42 AM, James Cameron qu...@laptop.org wrote:
 This may occur if there is no network connection on the first try,
 because the Sugar shell Python process caches the DNS resolver
 configuration.  It is a known problem.

So the bug is http://bugs.sugarlabs.org/ticket/1940 aka
http://dev.laptop.org/ticket/6857 - James, think we can
prioritise/retriage this for 10.1.2?

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


Re: [Server-devel] XO Registration Failed with XS

2010-07-28 Thread James Cameron
On Wed, Jul 28, 2010 at 08:46:31AM -0400, Martin Langhoff wrote:
 On Sun, Jul 25, 2010 at 8:42 AM, James Cameron qu...@laptop.org wrote:
  This may occur if there is no network connection on the first try,
  because the Sugar shell Python process caches the DNS resolver
  configuration. ?It is a known problem.
 
 So the bug is http://bugs.sugarlabs.org/ticket/1940 aka
 http://dev.laptop.org/ticket/6857 - James, think we can
 prioritise/retriage this for 10.1.2?

Is there something about my proposed fix in SL #1940 that is preventing
it from being tested by deployments?  It has been three months.

Otherwise I need a complete test case to be able to verify the fix.

-- 
James Cameron
http://quozl.linux.org.au/
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XO Registration Failed with XS

2010-07-25 Thread ganesh gajre
As per the given suggestion by all of you, I tried  to follow the procedure.
I didn't find schoolserver.py file neither on the machine which are
registered with schoolserver nor which failed to register. We have to bind
100 XO's to Schoolserver in the next month, and we are at my place yet
unable to find out the reason why some XO's are failed to register while
others are  registered.

On Tue, Jul 6, 2010 at 11:05 PM, ganesh gajre gnowledge.gan...@gmail.comwrote:



 On Tue, Jul 6, 2010 at 10:25 PM, Martin Langhoff 
 martin.langh...@gmail.com wrote:

 On Mon, Jul 5, 2010 at 4:41 AM, ganesh gajre gnowledge.gan...@gmail.com
 wrote:
  I had upgraded and test on the xo build OS-802. I check the given path
 for
  school server  /usr/lib/python2.5/site-packages/ there I don't find
 jarabe
  directory.

 That is for the XO not for the XS.

 Yes, I try to locate schoolserver.py file in XO only.


  Also, the registering of XO to server still big hassle for me. It's very
  important for me to bind all the XO to the Server.

 Daniel Drake has a patch that makes registration automatic. This leads
 to some problems so we cannot put it inthe general version of Sugar,
 but you may decide to include it in your build.


 Can I get the patch, so I can use it. What could be the possible reason to
 failed XO registration?

 Thanks


 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









 --
 Ganesh (Dragger)
 Be a FOSSERS, use GNU/Linux




-- 
Ganesh (Dragger)
Be a FOSSERS, use GNU/Linux
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XO Registration Failed with XS

2010-07-25 Thread Tom Parker
On Sun, July 25, 2010 9:34 pm, ganesh gajre wrote:
 As per the given suggestion by all of you, I tried  to follow the
 procedure.
 I didn't find schoolserver.py file neither on the machine which are
 registered with schoolserver nor which failed to register. We have to bind
 100 XO's to Schoolserver in the next month, and we are at my place yet
 unable to find out the reason why some XO's are failed to register while
 others are  registered.

I have observed that if registration fails once it will fail every
subsequent time until you do a restart of sugar. ctrl-alt-erase will
restart sugar and seems to be sufficient. I've only registered 4 XOs with
a school server so i'm not entirely sure that this is a coincidence. In my
case, registration failed when the XO was not connected to the correct
network or the XS wasn't properly working.

I have found some information about registration failures in the
shell.log. Note this file is erased on restart, so you have to view it
after the failure.

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


Re: [Server-devel] XO Registration Failed with XS

2010-07-25 Thread James Cameron
On Sun, Jul 25, 2010 at 10:00:59PM +1200, Tom Parker wrote:
 I have observed that if registration fails once it will fail every
 subsequent time until you do a restart of sugar.

This may occur if there is no network connection on the first try,
because the Sugar shell Python process caches the DNS resolver
configuration.  It is a known problem.

 ctrl-alt-erase will
 restart sugar and seems to be sufficient.

The new Sugar shell process re-reads the DNS resolver configuration,
which had changed.

 Note this file is erased on restart, so you have to view it
 after the failure.

I thought these were saved in .sugar/default/logs with a timestamp.

-- 
James Cameron
http://quozl.linux.org.au/
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XO Registration Failed with XS

2010-07-06 Thread Martin Langhoff
On Mon, Jul 5, 2010 at 4:41 AM, ganesh gajre gnowledge.gan...@gmail.com wrote:
 I had upgraded and test on the xo build OS-802. I check the given path for
 school server  /usr/lib/python2.5/site-packages/ there I don't find  jarabe
 directory.

That is for the XO not for the XS.

 Also, the registering of XO to server still big hassle for me. It's very
 important for me to bind all the XO to the Server.

Daniel Drake has a patch that makes registration automatic. This leads
to some problems so we cannot put it inthe general version of Sugar,
but you may decide to include it in your build.

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-de...@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] XO Registration Failed with XS

2010-07-06 Thread ganesh gajre
hello,

I am trying to register my xo's with the school server we setup at our
place, from which  some XO's got  registered with XS, but some are failed to
register.

The steps I do as follow:

1. We don't have any active antenna or 2 network cards so we use Wireless
router which act as DHCP server for 172.18.0.255 range.
2. On Schoolserver, I tried very hard to bind 'lanbond0' device with eth0
but I failed to do that, so I use a simple hack, I down all the Virtual
interfaces including 'lanbond0' and all mshbond and give ip address of
lanbond0 i.e 172.18.0.1 to eth0, which by default connect to all internal
services of school server.

3. Now I am able to ping from my XO to XS via Router.

4. In each XO i had change the server address located at XO-- Control
panel-- network--Server:   my server name/hostname, also I change
/etc/hosts file entry to
172.18.0.1 my server hostname, because I had not setup a DNS server yet.

5. I am able to ping using hostname of server and even able to register some
XO properly.
6. Some XO's failed to register so I upgrade the build OS to latest one 802,
after doing this some of get registered. But not all, some of the XO still
showing me a same problem after upgrading build OS.

What will be the reason for XO not registering to XS if it's ping properly,
talk to XS?
It's very important to register all the XO with XS because lot of services
like idmgr, backup XO and moodle will workout once it get registered with
XS.

Please provide me the solution for this.




 --
Ganesh (Dragger)
Be a FOSSERS, use GNU/Linux
___
Server-devel mailing list
server-de...@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XO Registration Failed with XS

2010-07-05 Thread ganesh gajre
On Thu, Jun 17, 2010 at 7:46 PM, Frederick Grose fgr...@gmail.com wrote:

 On Thu, Jun 17, 2010 at 8:16 AM, Hamilton Chua hamilton.c...@gmail.comwrote:

 Hi Ganesh,

 I wrote this down a while back when I was figuring out how to get SoaS to
 register and backup with an XS, hope this helps you.

 The registration process begins when an XO laptop user clicks on the
 avatar and then clicks Register from the drop down menu. This action
 executes */usr/lib/python2.5/site-packages/jarabe/desktop/schoolserver.py
 *. This python script gathers the following required information from the
 XO laptop in order to register with the schoolserver :

- serial number
- nickname
- uuid
- SSH pubkey

 I had upgraded and test on the xo build OS-802. I check the given path for
school server  */usr/lib/python2.5/site-packages/ *there I don't find
jarabe directory.

Also, the registering of XO to server still big hassle for me. It's very
important for me to bind all the XO to the Server.

Please give me suggestion how to overcome this problem.

 This data is sent via xmlrpc over port 8080 to the Identity Manager service
 on the school server. The identity manager is a python script located in
 */usr/bin/registration-server* on the school server. This service
 receives the information and validates the serial number. The information is
 then inserted into an sqlite3 database. It will then send back the following
 information to the XO laptop.

- success
- backupurl
- backuppath
- jabberserver

 Added to wiki at
 http://wiki.laptop.org/go/School_Identity_Manager#XO_registration_process
  .

 The other content on that page probably should be reviewed as it has not
 been updated significantly since November 2008.


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




-- 
Ganesh (Dragger)
Be a FOSSERS, use GNU/Linux
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XO Registration Failed with XS

2010-06-17 Thread ganesh gajre
On Thu, Jun 17, 2010 at 12:07 AM, Martin Langhoff martin.langh...@gmail.com
 wrote:

 Hi Ganesh,

 welcome to the list, and thanks for working on a deployment!

 You are giving us very good info on the setup, and the steps you are
 following.

 First -- using a wireless router, instead of an XS with 2 network
 cards as the router is probably part of the problem. When you
 associate an XO to the Wifi signal, can you ping schoolserver ?

Yes, I can ping properly to XS.


 Second -- there is a known bug in Sugar where if you try to register
 _before associating to the AP_ it fails, and then it will not see the
 XS even if you associate to the AP properly. If you reboot (or restart
 Sugar with ctr-alt-backspace) the problem disappears.


Yes, there are some machines which tried to register without connecting to
AP/ Router, as you stated  after restarting it disappears, but it does not,
I am still unable to register XO to server.


 Third -- do NOT associate lanbond0 to eth0. It wll make a big mess of
 the network setup. Instead, use the xs-swapnics script so that the
 network card you have becomes eth1 .


  4. In each XO i had change the server address located at XO-- Control

 You should not do that -- you are going to go crazy.

 The XS is really designed and preconfigured to be the router of your
 network, it provides DHCP and DNS and registers specific IP addresses
 and DNS names that the XO tries to use.


I agreed the XS provides DNS and DHCP, running dhcp service over a XS, I
find bit difficult  as I am still learning about XS services, I used the
simple hack to solve it. I will try without giving server address in control
panel-- network.
And get back to list.


 My recommendation: get the cheapest network card you can buy and put
 it in the XS. Seriously.

 If you absolutely cannot have the XS running the network, see the
 techniques and scripts that Jerry Vonau has posted to this list (you
 can use google to search over
 site:lists.laptop.org/pipermail/server-devel your search terms ).

 cheers,


Will anyone can tell me how I can check the files which run to register XO
with XS on XO, so that I will get the idea of scripts  that runs register
service.

Thanks




 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



-- 
Ganesh (Dragger)
Be a FOSSERS, use GNU/Linux
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XO Registration Failed with XS

2010-06-17 Thread Hamilton Chua
Hi Ganesh,

I wrote this down a while back when I was figuring out how to get SoaS to
register and backup with an XS, hope this helps you.

The registration process begins when an XO laptop user clicks on the avatar
and then clicks Register from the drop down menu. This action executes *
/usr/lib/python2.5/site-packages/jarabe/desktop/schoolserver.py*. This
python script gathers the following required information from the XO laptop
in order to register with the schoolserver :

   - serial number
   - nickname
   - uuid
   - SSH pubkey

This data is sent via xmlrpc over port 8080 to the Identity Manager service
on the school server. The identity manager is a python script located in *
/usr/bin/registration-server* on the school server. This service receives
the information and validates the serial number. The information is then
inserted into an sqlite3 database. It will then send back the following
information to the XO laptop.

   - success
   - backupurl
   - backuppath
   - jabberserver

Best,

Hamilton

On Thu, Jun 17, 2010 at 2:32 PM, ganesh gajre gnowledge.gan...@gmail.comwrote:



 On Thu, Jun 17, 2010 at 12:07 AM, Martin Langhoff 
 martin.langh...@gmail.com wrote:

 Hi Ganesh,

 welcome to the list, and thanks for working on a deployment!

 You are giving us very good info on the setup, and the steps you are
 following.

 First -- using a wireless router, instead of an XS with 2 network
 cards as the router is probably part of the problem. When you
 associate an XO to the Wifi signal, can you ping schoolserver ?

 Yes, I can ping properly to XS.


 Second -- there is a known bug in Sugar where if you try to register
 _before associating to the AP_ it fails, and then it will not see the
 XS even if you associate to the AP properly. If you reboot (or restart
 Sugar with ctr-alt-backspace) the problem disappears.


 Yes, there are some machines which tried to register without connecting to
 AP/ Router, as you stated  after restarting it disappears, but it does not,
 I am still unable to register XO to server.


 Third -- do NOT associate lanbond0 to eth0. It wll make a big mess of
 the network setup. Instead, use the xs-swapnics script so that the
 network card you have becomes eth1 .


  4. In each XO i had change the server address located at XO-- Control

 You should not do that -- you are going to go crazy.

 The XS is really designed and preconfigured to be the router of your
 network, it provides DHCP and DNS and registers specific IP addresses
 and DNS names that the XO tries to use.


 I agreed the XS provides DNS and DHCP, running dhcp service over a XS, I
 find bit difficult  as I am still learning about XS services, I used the
 simple hack to solve it. I will try without giving server address in control
 panel-- network.
 And get back to list.


 My recommendation: get the cheapest network card you can buy and put
 it in the XS. Seriously.

 If you absolutely cannot have the XS running the network, see the
 techniques and scripts that Jerry Vonau has posted to this list (you
 can use google to search over
 site:lists.laptop.org/pipermail/server-devel your search terms ).

 cheers,


 Will anyone can tell me how I can check the files which run to register XO
 with XS on XO, so that I will get the idea of scripts  that runs register
 service.

 Thanks




 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



 --
 Ganesh (Dragger)
 Be a FOSSERS, use GNU/Linux

 ___
 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] XO Registration Failed with XS

2010-06-17 Thread Frederick Grose
On Thu, Jun 17, 2010 at 8:16 AM, Hamilton Chua hamilton.c...@gmail.comwrote:

 Hi Ganesh,

 I wrote this down a while back when I was figuring out how to get SoaS to
 register and backup with an XS, hope this helps you.

 The registration process begins when an XO laptop user clicks on the avatar
 and then clicks Register from the drop down menu. This action executes *
 /usr/lib/python2.5/site-packages/jarabe/desktop/schoolserver.py*. This
 python script gathers the following required information from the XO laptop
 in order to register with the schoolserver :

- serial number
- nickname
- uuid
- SSH pubkey

 This data is sent via xmlrpc over port 8080 to the Identity Manager service
 on the school server. The identity manager is a python script located in *
 /usr/bin/registration-server* on the school server. This service receives
 the information and validates the serial number. The information is then
 inserted into an sqlite3 database. It will then send back the following
 information to the XO laptop.

- success
- backupurl
- backuppath
- jabberserver

 Added to wiki at
http://wiki.laptop.org/go/School_Identity_Manager#XO_registration_process .

The other content on that page probably should be reviewed as it has not
been updated significantly since November 2008.
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XO Registration Failed with XS

2010-06-16 Thread ganesh gajre
hello,

 I am trying to register my xo's with the school server we setup at our
 place, from which  some XO's got  registered with XS, but some are failed to
 register.

 The steps I do as follow:

 1. We don't have any active antenna or 2 network cards so we use Wireless
 router which act as DHCP server for 172.18.0.255 range.
 2. On Schoolserver, I tried very hard to bind 'lanbond0' device with eth0
 but I failed to do that, so I use a simple hack, I down all the Virtual
 interfaces including 'lanbond0' and all mshbond and give ip address of
 lanbond0 i.e 172.18.0.1 to eth0, which by default connect to all internal
 services of school server.

 3. Now I am able to ping from my XO to XS via Router.

 4. In each XO i had change the server address located at XO-- Control
 panel-- network--Server:   my server name/hostname, also I change
 /etc/hosts file entry to
 172.18.0.1 my server hostname, because I had not setup a DNS server yet.

 5. I am able to ping using hostname of server and even able to register
 some XO properly.
 6. Some XO's failed to register so I upgrade the build OS to latest one
 802, after doing this some of get registered. But not all, some of the XO
 still showing me a same problem after upgrading build OS.

 What will be the reason for XO not registering to XS if it's ping properly,
 talk to XS?
 It's very important to register all the XO with XS because lot of services
 like idmgr, backup XO and moodle will workout once it get registered with
 XS.

 Please provide me the solution for this.








-- 
Ganesh (Dragger)
Be a FOSSERS, use GNU/Linux
___
Server-devel mailing list
server-de...@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XO Registration Failed with XS

2010-06-16 Thread Martin Langhoff
Hi Ganesh,

welcome to the list, and thanks for working on a deployment!

You are giving us very good info on the setup, and the steps you are following.

First -- using a wireless router, instead of an XS with 2 network
cards as the router is probably part of the problem. When you
associate an XO to the Wifi signal, can you ping schoolserver ?

Second -- there is a known bug in Sugar where if you try to register
_before associating to the AP_ it fails, and then it will not see the
XS even if you associate to the AP properly. If you reboot (or restart
Sugar with ctr-alt-backspace) the problem disappears.

Third -- do NOT associate lanbond0 to eth0. It wll make a big mess of
the network setup. Instead, use the xs-swapnics script so that the
network card you have becomes eth1 .

 4. In each XO i had change the server address located at XO-- Control

You should not do that -- you are going to go crazy.

The XS is really designed and preconfigured to be the router of your
network, it provides DHCP and DNS and registers specific IP addresses
and DNS names that the XO tries to use.

My recommendation: get the cheapest network card you can buy and put
it in the XS. Seriously.

If you absolutely cannot have the XS running the network, see the
techniques and scripts that Jerry Vonau has posted to this list (you
can use google to search over
site:lists.laptop.org/pipermail/server-devel your search terms ).

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