Features/Transfer to many options: Difference between revisions

Ajay Garg (talk | contribs)
No edit summary
Ajay Garg (talk | contribs)
No edit summary
Line 451: Line 451:
== HOW TO SETUP ==
== HOW TO SETUP ==


* PEER-TO-PEER MODE
* '''PEER-TO-PEER MODE'''


** Install the image <add image link> on the XO-1.75s.
** Install the image <add image link> on the XO-1.75s.
Line 459: Line 459:




* VIA-SCHOOL-SERVER ==
* '''VIA-SCHOOL-SERVER''' ==


** '''Setting up School-Server''' (on Fedora-17/Fedora-14)
** '''Setting up School-Server''' (on Fedora-17/Fedora-14)
*** Download the file http://people.sugarlabs.org/ajay/root/1-to-N-via-SS/1-to-N-local-server-setup-script.sh on the server machine.
*** Download the file http://people.sugarlabs.org/ajay/root/1-to-N-via-SS/1-to-N-local-server-setup-script.sh on the server machine.
*** Run the following command
*** Run the following command
**** '''sudo sh /path/to/1-to-N-local-server-setup-script.sh'''
**** '''sudo sh /path/to/1-to-N-local-server-setup-script.sh'''
*** Now, open a browser, type '''https://127.0.0.1''' in the URLBar, accept the  certificate (only first time required). You should see a webdav listing of an empty directory.
*** Now, open a browser, type '''https://127.0.0.1''' in the URLBar, accept the  certificate (only first time required). You should see a webdav listing of an empty directory.
*** Next, download the file http://people.sugarlabs.org/ajay/root/1-to-N-via-SS/1-to-N-server-script.py on the server machine.
*** Next, download the file http://people.sugarlabs.org/ajay/root/1-to-N-via-SS/1-to-N-server-script.py on the server machine.
*** Run the command
*** Run the command
**** '''crontab -e'''
**** '''crontab -e'''
*** In the openedvim instance, append the following line, and save-exit.
*** In the openedvim instance, append the following line, and save-exit.
**** '''00 * * * * /usr/bin/python /path/to/1-to-N-server-script.py'''
**** '''00 * * * * /usr/bin/python /path/to/1-to-N-server-script.py'''
*** The utility of the "1-to-N-server-script.py" is described in the script file itself.
*** The utility of the "1-to-N-server-script.py" is described in the script file itself.
*** Reboot.
*** Reboot.
*** The server should be ready to go.
*** The server should be ready to go.




** ''' Setting up the XOs '''
** ''' Setting up the XOs '''
*** Install the image <add image link> on the XO-1.75s (if not already).
*** Install the image <add image link> on the XO-1.75s (if not already).
*** On each XO, configure the IP-Address/DNS-Name of the School-Server. For example, if the IP-address  of the school-server is 192.168.1.26,
*** On each XO, configure the IP-Address/DNS-Name of the School-Server. For example, if the IP-address  of the school-server is 192.168.1.26,
run the following command (in Terminal Activity) of each XO ::
run the following command (in Terminal Activity) of each XO ::
**** '''gconftool-2 --set /desktop/sugar/network/school_server_ip_address_or_dns_name --type string 192.168.1.26'''
**** '''gconftool-2 --set /desktop/sugar/network/school_server_ip_address_or_dns_name --type string 192.168.1.26'''
*** Reboot (each XO).


*** Reboot (each XO).
 
** All done :) (Foe example workflow screenshots, please refer)