19 | | 1. ''Panagiotis Skrimponis, Nikos Makris, Sheila Borges Rajguru, Karen Cheng, Jonatan Ostromertzky, Emily Ford, Zoran Kostic, Gil Zussman, and Thanasis Korakis, “COSMOS Education Toolkit,” in Proc. ACM !SIGCOMM Computer and Communication Review (to appear), Oct. 2020'' |
| 19 | 1. ''Panagiotis Skrimponis, Nikos Makris, Sheila Borges Rajguru, Karen Cheng, Jonatan Ostromertzky, Emily Ford, Zoran Kostic, Gil Zussman, and Thanasis Korakis, “COSMOS Education Toolkit,” in Proc. ACM SIGCOMM Computer and Communication Review (to appear), Oct. 2020'' |
| 23 | |
| 24 | === Tutorial Set-Up === |
| 25 | Follow the steps below to gain access to the [wiki:Architecture/Domains/cosmos_sb1 sandbox 1 console] and set up nodes with appropriate images. |
| 26 | 1. If you don't have one already, sign up for a [https://www.cosmos-lab.org/portal-2/ COSMOS account] |
| 27 | 1. [wiki:/GettingStarted#MakeaReservation Create a resource reservation] on sandbox 1 |
| 28 | 1. [wiki:/GettingStarted#LogintoyourReservation Login] into sandbox 1 console (console.sb1.cosmos-lab.org) with one SSH session. |
| 29 | 1. Make sure all the nodes and devices of this reservation are turned off: |
| 30 | {{{#!shell |
| 31 | omf tell -a offh -t system:topo:allres |
| 32 | }}} |
| 33 | 1. The image education-toolkit.ndz is [baseline_gr.ndz] with the COSMOS education web framework, and the K--12 educational labs and lesson plans. Load education-toolkit.ndz on sdr2-s1-lg1,sdr2-md1. |
| 34 | {{{#!shell |
| 35 | omf load -i education-toolkit.ndz -t sdr2-s1-lg1,sdr2-md1 |
| 36 | }}} |
| 37 | 1. Turn all the required resources on and check the status |
| 38 | {{{#!shell |
| 39 | omf tell -a on -t sdr2-s1-lg1,sdr2-md1 |
| 40 | }}} |
| 41 | 1. Check that the nodes are turned on |
| 42 | {{{#!shell |
| 43 | omf stat -t system:topo:allres |
| 44 | }}} |
| 45 | |
| 46 | === Experiment Execution === |
| 47 | After setting up the nodes, we can now start exploring the K--12 wireless labs. To run the experiments we use a web friently interface |
| 48 | |
| 49 | To execute the experiment and use the web framework you need to connect to the cosmos-sb1 and enable |
| 50 | the HTTP port forwarding by using the following command: |
| 51 | {{{#!shell-session |
| 52 | not_a_user@laptop:~$ ssh -Y your_username@console.sb1.cosmos-lab.org 8080:sdr2-s1-lg1:80 8090:sdr2-s1-lg1:8090 8100:sdr2-s1-lg1:8100 |
| 53 | your_username@console:~$ ssh -Y root@sdr2-s1-lg1 |
| 54 | }}} |
| 55 | |
| 56 | Now in you need to open a new ssh session in order to enable the HTTP forwarding for the sdr2-md1 |
| 57 | |
| 58 | {{{#!shell-session |
| 59 | not_a_user@laptop:~$ ssh -Y your_username@console.sb1.cosmos-lab.org 8082:sdr2-s1-lg1:80 8092:sdr2-s1-lg1:8090 8102:sdr2-s1-lg1:8100 |
| 60 | your_username@console:~$ ssh -Y root@sdr2-md1 |
| 61 | }}} |