Changes between Version 5 and Version 6 of Tutorials/Wireless/Spectrum Sensing
- Timestamp:
- Nov 6, 2019, 8:32:26 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials/Wireless/Spectrum Sensing
v5 v6 9 9 10 10 === Execution === 11 ==== Preparing the SDR====11 ==== Load an image ==== 12 12 * Once a reservation for the desired domain is approved, [Documentation/Short/Login login into your reserved domain.] 13 13 … … 17 17 }}} 18 18 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 }}} 20 28 21 29 === Configure and detect the radio === 22 * Once your node is ready and turned on, ssh into the Krypton's host23 {{{24 console:~$ ssh root@sdr2-lg1.sb1.cosmos-lab.org25 }}}26 30 27 31 * 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}}}. 28 32 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 neces ary.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. 30 34 31 35 * Run ''uhd_find_devices' and check if the X310 is detected … … 195 199 }}} 196 200 197 === Runthe application ===201 === Prepare the application === 198 202 Download the application source code from the attachment section below. 199 203 {{{ … … 206 210 Please 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. 207 211 {{{ 208 root@sdr -console>apt update209 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 gnulib210 211 root@sdr -console>git clone https://github.com/zaphoyd/websocketpp.git212 root@sdr -console>pushd websocketpp213 root@sdr -console>cmake . -DBUILD_EXAMPLES=ON -DBUILD_TESTS=ON214 root@sdr -console>make -j 4215 root@sdr -console>make install216 root@sdr -console>popd212 root@sdr2-s2-lg1:~# apt update 213 root@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 215 root@sdr2-s2-lg1:~# git clone https://github.com/zaphoyd/websocketpp.git 216 root@sdr2-s2-lg1:~# pushd websocketpp 217 root@sdr2-s2-lg1:~/websocketpp# cmake . -DBUILD_EXAMPLES=ON -DBUILD_TESTS=ON 218 root@sdr2-s2-lg1:~/websocketpp# make -j 4 219 root@sdr2-s2-lg1:~/websocketpp# make install 220 root@sdr2-s2-lg1:~/websocketpp# popd 217 221 }}} 218 222