| 35 | |
| 36 | === Tutorial Setup === |
| 37 | |
| 38 | Follow the steps below to gain access to the sandbox console and set up nodes with appropriate images. |
| 39 | 1. If you don't have one already, sign up for a [https://www.cosmos-lab.org/portal-2/ COSMOS account] |
| 40 | 1. [wiki:/GettingStarted#MakeaReservation Create a resource reservation] on COSMOS SB2 |
| 41 | 1. [Documentation/Short/Login Login] into sandbox console {{{console.sb2.cosmos-lab.org}}}) with four SSH sessions. |
| 42 | 1. Make sure all the nodes and devices used in the experiment are turned off. Use the first command for SB1 and the second command for SB2 (note the difference in the device names) |
| 43 | {{{#!shell |
| 44 | omf tell -a offh -t sdr1-in1,sdr1-in2,rfdev4-in1,rfdev4-in2,srv1-lg1 |
| 45 | }}} |
| 46 | {{{#!shell |
| 47 | omf tell -a offh -t sdr1-s1-lg1,sdr1-md1,rfdev2-1,rfdev2-2,srv1-lg1 |
| 48 | }}} |
| 49 | 1. Use the {{{paam28GHz-tutorial-cosmos.ndz}}} node image with Ubuntu 18.04, UHD 3.15, gnuradio 3.8, and a grc example used in this tutorial. Load {{{paam28GHz-tutorial-cosmos.ndz}}} on the server. |
| 50 | {{{#!shell |
| 51 | omf load -i paam28GHz-tutorial-cosmos.ndz -t srv1-lg1 |
| 52 | }}} |
| 53 | 1. Turn all the required resources on and check the status of all the resources. Use the following commands for SB1 and SB2. |
| 54 | {{{#!shell |
| 55 | omf tell -a on -t sdr1-in1,sdr1-in2,rfdev4-in1,rfdev4-in2,srv1-lg1 |
| 56 | }}} |
| 57 | {{{#!shell |
| 58 | omf tell -a on -t sdr1-s1-lg1,sdr1-md1,rfdev2-1,rfdev2-2,srv1-lg1 |
| 59 | }}} |
| 60 | {{{#!shell |
| 61 | omf stat -t all |
| 62 | }}} |
| 63 | 1. {{{ssh}}} to the server with option -Y for using GUI with gnuradio. |
| 64 | {{{#!shell |
| 65 | ssh -Y root@srv1-lg1 |
| 66 | }}} |
| 67 | |