[Server-devel] thoughts on registering SoaS with an XS and moodle integration
wad at laptop.org
Fri Mar 13 00:46:55 EDT 2009
On Mar 12, 2009, at 9:55 AM, Hamilton Chua wrote:
> I would like to ask what the plan is for allowing Sugar running on
> hardware other than an XO to register with an XS.
It is encouraged.
> I had a quick look at /usr/bin/registration-server in the XS and
> schoolserver.py in a Sugar installation and I was able to "trick"
> the XS
> into registering an SoaS by modifying schoolserver.py on the SoaS. I
> removed the part of the code that checks for the XO information and
> modified the def that handles registration to send randomly generated
> strings for serial and UUID instead.
> I guess it's really not that hard to do but it would be nice to
> have an
> accepted way of doing it.
> For instance, maybe we could modify schoolserver.py to generate a
> and UUID if Sugar is not on an XO laptop instead of saying the
> info is not present.
Sounds like a great idea!
The only requirement is that serial numbers be unique. Generating
that in a script can be challenging. Perhaps a one way hash of the
MAC address ? But MAC addresses are only unique to one media.
More information about the Server-devel