Changes between Version 23 and Version 24 of Tutorials/Wireless/Basic Usage


Ignore:
Timestamp:
Jun 4, 2020, 4:29:48 PM (4 years ago)
Author:
prasanthi
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/Wireless/Basic Usage

    v23 v24  
    99In order to access the test bed, create a reservation and have it approved by the reservation service. Access to the resources are granted after the reservation is confirmed. Please follow the process shown on [wiki:CosmosOverview/Workflow the COSMOS work flow page] to get started.
    1010
    11 === Set up ===
    12 For this example we used the USRP 2974 SDR on [wiki:Architecture/Domains/cosmos_sb1 sandbox 1]. Follow the steps below to gain access to this console and set up your node with an appropriate image.
     11=== Resources required ===
     12For this example we used one USRP 2974 SDR on [wiki:Architecture/Domains/cosmos_sb1 sandbox 1].
     13
     14=== Tutorial Setup ===
     15 Follow the steps below to gain access to this console and set up your node with an appropriate image.
    1316 1. Sign up for a [https://cosmos-lab.org/portal-2/ COSMOS account].
    1417 2. [GettingStarted#MakeaReservation Create a resource reservation] for sandbox 1.
    1518 3. Once reservation is approved, [wiki:GettingStarted#LogintoyourReservation login into the console].
    16  4. Use OMF commands to [GettingStarted#ControlResourceswithOMF load baseline_uhd.ndz image] on your resource.
    17 
    18 When opening a terminal into console.sb1.cosmos-lab.org [set up a tunnel] from localhost:5002 to sdr2-lg1.sb1.cosmos-lab.org:9002. This will be used by the web app to connect to a server running on the Krypton's host.
    19 
    20 === Configure and detect the radio ===
    21 * Once your node is ready and turned on, ssh into the Krypton's host
    22 {{{#!shell-session
    23 console:~$ ssh root@sdr2-lg1.sb1.cosmos-lab.org
    24 }}}
     19 4. Use OMF commands to [GettingStarted#ControlResourceswithOMF load baseline-uhd.ndz image] on your resource.
     20 {{{#!shell
     21 omf load -i baseline-uhd.ndz -t sdr2-s1-lg1
     22 }}}
     23 1. Once the node is successfully imaged, turn it on and check the status
     24 {{{#!shell
     25 omf tell -a on -t sdr2-s1-lg1
     26 }}}
     27 {{{#!shell
     28 omf stat -t sdr2-s1-lg1
     29 }}}
     30 1. After giving it some time to power up and boot, ssh to the node
     31 {{{#!shell
     32 ssh root@sdr2-s1-lg1
     33 }}}
     34 
     35
     36When opening a terminal into console.sb1.cosmos-lab.org [wiki:/UserGuide/RemoteAccess/SshTunnel set up a tunnel] from localhost:5002 to sdr2-s1-lg1.sb1.cosmos-lab.org:9002. This will be used by the web app to connect to a server running on the USRP 2974(Krypton)'s host.
     37
     38=== Experiment Execution ===
     39
     40==== Configure and detect the radio ====
    2541
    2642* The USRP 2974 requires a PCIe driver to control the FPGA with the embedded PC. In the provided images, this will load automatically on boot. If it has issues, you can run it manually via {{{ systemctl restart niusrprio.service}}}.
     
    194210}}}
    195211
    196 === Configure and run the application ===
     212==== Configure and run the application ====
    197213* Download the application source code from the attachment section below.
    198214{{{#!shell-session
     
    229245
    230246
    231 === Visualize spectrum samples  ===
     247==== Visualize spectrum samples  ====
    232248* Download the spectrum visualizer web client to your desktop. It is all in another zip file - ''spectrum_view.zip''. Unzip this folder and open ''spectrum_view.html'' in a Chrome browser.
    233249
     
    256272
    257273
    258 === Troubleshooting ===
     274==== Troubleshooting ====
    259275* Check the troubleshooting section in the [https://wiki.cosmos-lab.org/wiki/tutorials/krypton_usage Krypton usage page] for common errors.