Changes between Version 5 and Version 6 of Tutorials/Wireless/Spectrum Sensing


Ignore:
Timestamp:
Nov 6, 2019, 8:32:26 PM (5 years ago)
Author:
prasanthi
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/Wireless/Spectrum Sensing

    v5 v6  
    99
    1010=== Execution ===
    11 ==== Preparing the SDR ====
     11==== Load an image ====
    1212* Once a reservation for the desired domain is approved, [Documentation/Short/Login login into your reserved domain.]
    1313
     
    1717  }}}
    1818
    19 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* Turn the node on
     20  {{{
     21     omf tell -a on -t sdr2-s1-lg1.bed.cosmos-lab.org
     22  }}}
     23
     24* Once your node is ready and turned on, ssh into the Krypton's host
     25  {{{
     26     console:~$ ssh root@sdr2-lg1.sb1.cosmos-lab.org
     27  }}}
    2028
    2129=== Configure and detect the radio ===
    22 * Once your node is ready and turned on, ssh into the Krypton's host
    23 {{{
    24 console:~$ ssh root@sdr2-lg1.sb1.cosmos-lab.org
    25 }}}
    2630
    2731* 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}}}.
    2832
    29  Detailed steps for driver installation and radio detection are on the [https://wiki.cosmos-lab.org/wiki/tutorials/krypton_usage Krypton usage page]. There is also a trouble shooting section at the bottom on that page to update the Krypton's internal firmware if necesary.
     33 Detailed steps for driver installation and radio detection are on the [https://wiki.cosmos-lab.org/wiki/tutorials/krypton_usage Krypton usage page]. There is also a trouble shooting section at the bottom on that page to update the Krypton's internal firmware if necessary.
    3034
    3135* Run ''uhd_find_devices' and check if the X310 is detected
     
    195199}}}
    196200
    197 === Run the application ===
     201=== Prepare the application ===
    198202Download the application source code from the attachment section below.
    199203{{{
     
    206210Please refer to the README file in SPECTRUM_VIEW directory for instructions on compiling and running the application. Before compiling the application, install and compile a few dependencies.
    207211{{{
    208 root@sdr-console> apt update
    209 root@sdr-console> apt-get -y install libboost-all-dev liblog4cxx-dev cmake libfftw3-dev libxml2-dev libpopt-dev libsqlite3-dev pkg-config libxml2-utils gnulib
    210 
    211 root@sdr-console> git clone https://github.com/zaphoyd/websocketpp.git
    212 root@sdr-console> pushd websocketpp
    213 root@sdr-console> cmake . -DBUILD_EXAMPLES=ON -DBUILD_TESTS=ON
    214 root@sdr-console> make -j 4
    215 root@sdr-console> make install
    216 root@sdr-console> popd
     212root@sdr2-s2-lg1:~# apt update
     213root@sdr2-s2-lg1:~# apt-get -y install libboost-all-dev liblog4cxx-dev cmake libfftw3-dev libxml2-dev libpopt-dev libsqlite3-dev pkg-config libxml2-utils gnulib
     214
     215root@sdr2-s2-lg1:~# git clone https://github.com/zaphoyd/websocketpp.git
     216root@sdr2-s2-lg1:~# pushd websocketpp
     217root@sdr2-s2-lg1:~/websocketpp# cmake . -DBUILD_EXAMPLES=ON -DBUILD_TESTS=ON
     218root@sdr2-s2-lg1:~/websocketpp# make -j 4
     219root@sdr2-s2-lg1:~/websocketpp# make install
     220root@sdr2-s2-lg1:~/websocketpp# popd
    217221}}}
    218222