On Mar 12, 2009, at 9:55 AM, Hamilton Chua wrote: > Hello, > > 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 > serial > and UUID if Sugar is not on an XO laptop instead of saying the > required > 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. Cheers, wad wad _______________________________________________ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel