| | 28 | * 2 USRP-2974 ({{{sdr2-s1-lg1}}} and {{{sdr2-md1}}}) |
| | 29 | * 1 Server ({{{srv2-lg1}}}) |
| | 30 | |
| | 31 | === Tutorial Setup === |
| | 32 | |
| | 33 | Follow the steps below to gain access to the grid console and set up nodes with appropriate images. |
| | 34 | 1. If you don't have one already, sign up for a [https://www.cosmos-lab.org/portal-2/ COSMOS account] |
| | 35 | 1. [wiki:/GettingStarted#MakeaReservation Create a resource reservation] on COSMOS sb2 |
| | 36 | 1. [Documentation/Short/Login Login] into sb2 console ({{{console.sb2.cosmos-lab.org}}}) with two SSH sessions. |
| | 37 | 1. Make sure all the nodes and devices used in the experiment are turned off: |
| | 38 | {{{#!shell |
| | 39 | omf tell -a offh -t sdr2-s1-lg1,sdr2-md1,srv2-lg1 |
| | 40 | }}} |
| | 41 | 1. Use the {{{baseline-gr.ndz}}} node image (see [https://wiki.cosmos-lab.org/wiki/UserGuide/DiskImages#DiskImages here] for the list of pre-defined images) with Ubuntu 18.04, UHD 3.15, and gnuradio 3.8. Load {{{baseline-gr.ndz}}} on the server. |
| | 42 | {{{#!shell |
| | 43 | omf load -i baseline-gr.ndz -t srv2-lg1 |
| | 44 | }}} |
| | 45 | 1. Turn all the required resources on and check the status |
| | 46 | {{{#!shell |
| | 47 | omf tell -a on -t sdr2-s1-lg1,sdr2-md1,srv2-lg1 |
| | 48 | }}} |
| | 49 | {{{#!shell |
| | 50 | omf stat -t all |
| | 51 | }}} |
| | 52 | 1. Make sure that the RF switch port is set to using the USRP 2974's. If some of the RF switch ports are set to "2", set them back to "1" |
| | 53 | {{{#!shell |
| | 54 | curl "am1.cosmos-lab.org:5054/rf_switch/set?name=rfsw-s1-lg1.sb2.cosmos-lab.org,rfsw-md1.sb2.cosmos-lab.org&switch=1,2,3,4&port=1" |
| | 55 | }}} |
| | 56 | 1. {{{ssh}}} to the the same server from two terminals, use option -Y for using GUI. |
| | 57 | {{{#!shell |
| | 58 | [Terminal 1] ssh -Y root@srv2-lg1, |
| | 59 | [Terminal 2] ssh -Y root@srv2-lg1 |
| | 60 | }}} |
| | 61 | |