Features/Transfer to many options: Difference between revisions

Ajay Garg (talk | contribs)
No edit summary
Ajay Garg (talk | contribs)
No edit summary
 
(14 intermediate revisions by the same user not shown)
Line 27: Line 27:


== Credits ==
== Credits ==
* '''Ceibal'''
* '''Plan Ceibal'''
** For supporting this feature development.
** For supporting this feature development.


Line 44: Line 44:




* '''Ruben Rodriquez''' ''ruben@activitycentral.com''
* '''Ruben Rodriguez''' ''ruben@activitycentral.com''
** Feedback on the "peer-to-peer" mechanism; now when the user clicks "Access Share", the user is directly taken to the newly mounted remote-share view.
** Feedback on the "peer-to-peer" mechanism; now when the user clicks "Access Share", the user is directly taken to the newly mounted remote-share view.


Line 52: Line 52:




 
* '''David Rodriguez''' ''daroal@activitycentral.com''
 
** Testing
 
 
 
 


== Example Workflow for Peer-To-Peer Mode ==
== Example Workflow for Peer-To-Peer Mode ==
Line 422: Line 418:
== [DOWNLOAD] Ensure that in the detail view, the uploader-details are present. ==
== [DOWNLOAD] Ensure that in the detail view, the uploader-details are present. ==
:[[File:sss12.png|640px]]
:[[File:sss12.png|640px]]




Line 438: Line 431:


* Things should work fine, irrespective of the fact that whether the sharing is done via single-mode, or batch-mode.
* Things should work fine, irrespective of the fact that whether the sharing is done via single-mode, or batch-mode.
== HOW TO SETUP ==
* '''PEER-TO-PEER MODE'''
** Install the image <add image link> on the XO-1.75s.
** Peer-to-Peer sharing is good to go (for example workflow screenshots, please refer http://wiki.sugarlabs.org/go/Features/Transfer_to_many_options#Example_Workflow_for_Peer-To-Peer_Mode)
* '''VIA-SCHOOL-SERVER''' ==
** '''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.
*** Run the following command
****                            '''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.
*** 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
****                            '''crontab -e'''
*** In the openedvim instance, append the following line, and save-exit.
****                            '''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.
*** Reboot.
*** The server should be ready to go.
** ''' Setting up the XOs '''
*** 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,
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'''
*** Reboot (each XO).
** All done :) (Foe example workflow screenshots, please refer)