User Tools

Site Tools


software:sdr

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
software:sdr [2015/08/14 13:45]
oledre
software:sdr [2016/07/24 21:59]
space
Line 1: Line 1:
-== SDR Software for using the badge+= SDR Software for using the badge
  
-=== Recommended Installations List +== overview
-Just a quick check list of installations recommended before camp. Detailed descriptions below! +
-Don't worry if you are not coming with a laptop, the badge will still be useful to you.+
  
-==== Linux +=== GNU Radio (Linux/Mac/Windows)
-* [[:​software:​sdr#​gnu_radio_linux_mac_windows]|GNU Radio]] +
-* [[:​software:​sdr#​gqrx_sdr_linx_mac]|Gqrx SDR]] +
-* [[http://www.baudline.com|Baudline]] (not in the Debian package repository)+
  
-===== Debian based systems+It's highly recommended to build [[http://​gnuradio.org/​|GNU Radio]] from source to use the most up-to-date version: 
 +[[http://​gnuradio.org/​redmine/​projects/​gnuradio/​wiki/​InstallingGRFromSource|Installation]] 
 + 
 +There were two GNU Radio workshops at Easterhegg 2015: 
 +* [[http://​media.ccc.de/​browse/​conferences/​eh2015/​eh15_-_27_-__-_tagungsraum_1_-_201504041830_-_sdr_for_noobs_-_sec.html#​video|SDR for Noobs]] 
 +* [[http://​media.ccc.de/​browse/​conferences/​eh2015/​eh15_-_28_-__-_tagungsraum_1_-_201504051830_-_sdr_for_non-noobs_-_sec.html|SDR for non-noobs]] 
 + 
 +**gnuradio-companion** is the full-fledged signal processing application. 
 + 
 +**osmocom_fft** is a nice little graphical tool for quick signal checks.  
 + 
 +=== Gqrx SDR (Linux/​Mac) 
 +[[http://​gqrx.dk]] 
 + 
 +=== SDR# (Windows) 
 +[[http://​sdrsharp.com/#​sdrsharp]] 
 + 
 +=== RF Analyzer (Android) 
 +[[:​software:​sdr#​Android]|instructions]] 
 + 
 +== installation details 
 + 
 +=== Linux 
 +* [[:​software:​sdr#​gnu_radio_linux_mac_windows]|GNU Radio]] - Powerful suit for signal processing. Also contains '​gnuradio-companion',​ a GUI for designing the the processing blocks. 
 +* [[:​software:​sdr#​gqrx_sdr_linx_mac]|Gqrx SDR]] - Easy display of signal strengths/​waterfall etc. with basic filtering and demodulation support. 
 +* [[http://​www.baudline.com|Baudline]] (not in the Debian package repository) - Another signal visualizer. 
 + 
 +==== Debian based systems 
 +NOTE: Current versions of gqrx-sdr and gr-osmosdr in Ubuntu 14.04 are known to cause issues with the rad1o. (hackrf_info not detecting the badge, error loading libosmosdr etc.) 
 +The [[https://​github.com/​mossmann/​hackrf/​wiki/​Installing-gnuradio-on-Ubuntu-14.04-with-the-packaging-manager|original hackrf wiki]] has a PPA with updated versions. 
 + 
 +1. Install software:
  
     apt-get install hackrf gqrx-sdr gnuradio gr-osmosdr     apt-get install hackrf gqrx-sdr gnuradio gr-osmosdr
  
-NOTE: For Debian/​Ubuntu Systems you qgrx will not work correctly, if you have the hackrf kernel module loaded. ​Additionally ​you will need some UDEV rules.+2. Make sure the hackrf kernel module ​is not loaded. 
 +If you don't do this, you'll get a -1000 error from hackrf_info 
 +<​code>​ 
 +$ sudo rmmod hackrf 
 +$ sudo vim /​etc/​modprobe.d/​blacklist.conf 
 +# module blacklisted for radi1o / gqrx usage 
 +blacklist hackrf 
 +</​code>​ 
  
-1Create ​some udev rules, replace ​YOURUSER with your username (whoami)+3Additionally you will need some UDEV rules
 +Replace ​YOURUSER with your username (whoami)
 <​code>​ <​code>​
 $ sudo vim /​etc/​udev/​rules.d/​51-rad1o.rules $ sudo vim /​etc/​udev/​rules.d/​51-rad1o.rules
Line 23: Line 58:
 </​code>​ </​code>​
  
-2. blacklist ​the hackrf ​module. If you don't do this / still have the module ​loaded you'll get a -1000 error from hackrf_info+4. make sure you boot the hackrf-old on the rad1o, as gqrx somehow only recognized the device as a hackrf then (at least with gqrx from debian testing) 
 + 
 +5. check with hackrf_info that everything works 
 + 
 +6. launch gqrx, it should autoconfigure itself 
 + 
 + 
 +==== Archlinux 
 + 
 +    pacman -S gqrx python2 python2-lxml python2-cheetah # pulls hackrf and gnuradio automatically in 
 +     
 +==== Gentoo Linux 
 +Versions known to work: 
 + 
 +net-wireless/​gnuradio-3.7.7.x  
 +net-wireless/​gr-osmosdr-1.4_x 
 +net-wireless/​gqrx-2.3.x 
 + 
 +Make sure the 'hackrf' useflag is enabled where available. 
 + 
 +If you have the '​hackrf'​ kernel ​module ​compiled, prevent it from loading by adding 
 + 
 +    blacklist hackrf 
 + 
 +to your /​etc/​modprobe.d/​blacklist.conf. (update your modprobe config with 'depmod ​-a') 
 +     
 +==== Fedora 
 + 
 +1. Install software:
 <​code>​ <​code>​
-$ sudo rmmod hackrf +$ sudo dnf install gnuradio gnuradio-doc gnuradio-examples ​gqrx hackrf ​hackrf-doc gr-osmosdr gr-air-modes
-$ sudo vim /​etc/​modprobe.d/​blacklist.conf +
-# module blacklisted for radi1o / gqrx usage +
-blacklist ​hackrf+
 </​code>​ </​code>​
 +<note warning>​Fedora 24 also needs hackrf-static.</​note>​
  
-3. make sure you boot the hackrf-old, as gqrx somehow only recognized the device as a hackrf then (at least with gqrx from debian testing) 
  
-4check with hackrf_info that everything works+2boot into **HKRF-OLD** on the rad1o (for now, hopefully soon in HACKRF mode)
  
-5launch gqrx, it should autoconfigure itself+3check if it's detected with hackrf_info 
 +<​code>​ 
 +$ hackrf_info 
 +Found HackRF board. 
 +Board ID Number: 3 (Unknown Board ID) 
 +Firmware Version: [...] 
 +Part ID Number: [...] 
 +Serial Number: [...] 
 +</​code>​
  
 +4. run gqrx, accepting the default of //hackrf unknown device//. [[http://​gqrx.dk/​supported-hardware#​hackrf|Gqrx SDR Supported hardware]]
 +<​code>​
 +$ gqrx
 +</​code>​
 +
 +5. if you get results in gqrx, move on to osmocom_fft,​ keeping in mind that the built-in [[:​antennas|antenna]] is tuned to 2.5GHz
 +<​code>​
 +$ osmocom_fft
 +</​code>​
 +
 +6. now you are sure the rad1o speaks to your Fedora box and you can move on to GNU Radio
 +<​code>​
 +$ gnuradio-companion
 +</​code>​
  
-===== archlinux+To use the rad1o, search for blocks with //osmocom// in the name in GNU Radio.
  
-    pacman -S gqrx # pulls hackrf and gnuradio automatically ​in+You may want to check out the files in ''/​usr/​share/​gnuradio/​examples/''​
  
-==== Windows+=== Windows
 * [[:​software:​sdr#​gnu_radio_linux_mac_windows]|GNU Radio]] * [[:​software:​sdr#​gnu_radio_linux_mac_windows]|GNU Radio]]
 * [[:​software:​sdr#​sdr_windows]|SDR#​]] * [[:​software:​sdr#​sdr_windows]|SDR#​]]
 +* [[http://​sdr-radio.com/​Software|SDR Console]]
  
-==== Mac+=== Mac
 Follow these instructions to install Gnuradio-Suite on your Mac: Follow these instructions to install Gnuradio-Suite on your Mac:
 Prerequisites:​ Prerequisites:​
-* Install either HomeBrew, MacPorts or Fink (I used and tested only MacPorts)+* Install either ​[[http://​brew.sh|HomeBrew]], MacPorts or Fink
 * Download and install XQuarz via http://​xquartz.macosforge.org/​landing/​ * Download and install XQuarz via http://​xquartz.macosforge.org/​landing/​
 * Download and install MacPorts: https://​www.macports.org/​install.php * Download and install MacPorts: https://​www.macports.org/​install.php
  
-Install GnuRadio+Install GnuRadio ​with MacPorts:
 <​code>​ <​code>​
 sudo port install gnuradio sudo port install gnuradio
Line 62: Line 145:
 sudo port install gr-osmosdr sudo port install gr-osmosdr
 </​code>​ </​code>​
 +
 +To install GnuRadio with HomeBrew, you can follow [[https://​github.com/​robotastic/​homebrew-hackrf|this guide]].
  
 Start GnuRadio in the terminal with  Start GnuRadio in the terminal with 
Line 71: Line 156:
 * [[:​software:​sdr#​gqrx_sdr_linux_mac|Gqrx-SDR]] * [[:​software:​sdr#​gqrx_sdr_linux_mac|Gqrx-SDR]]
  
-==== Android+=== Android
 * [[:​software:​sdr#​rf_analyzer_android]|RF Analyzer]] * [[:​software:​sdr#​rf_analyzer_android]|RF Analyzer]]
  
Line 77: Line 162:
  
  
-=== RF Analyzer (Android)+==== RF Analyzer (Android)
  
 Patched version with rad1o support: Patched version with rad1o support:
-  * Binary APK: [[https://​github.com/​rad1o/​RFAnalyzer/​raw/​rad1o/​RFAnalyzer-rad1o.apk|RFAnalyzer-rad1o.apk]]+  * Binary APK: [[https://​github.com/​rad1o/​RFAnalyzer/​raw/​rad1o/​RFAnalyzer-rad1o.apk|RFAnalyzer-rad1o.apk]] ​(as of 2015-08-23, this APK seem to need HKRF-OLD mode)
   * Source: [[https://​github.com/​rad1o/​RFAnalyzer|RFAnalyzer]]   * Source: [[https://​github.com/​rad1o/​RFAnalyzer|RFAnalyzer]]
  
 Requires an OTG cable or adapter and an OTG capable mobile (e.g. Jolla and Nexus 4 are **//​not//​**) Requires an OTG cable or adapter and an OTG capable mobile (e.g. Jolla and Nexus 4 are **//​not//​**)
- 
-=== GNU Radio (Linux/​Mac/​Windows) 
- 
-It's highly recommended to build [[http://​gnuradio.org/​|GNU Radio]] from source to use the most up-to-date version: 
-[[http://​gnuradio.org/​redmine/​projects/​gnuradio/​wiki/​InstallingGRFromSource|Installation]] 
- 
-There were two GNU Radio workshops at Easterhegg 2015: 
-[[http://​media.ccc.de/​browse/​conferences/​eh2015/​eh15_-_27_-__-_tagungsraum_1_-_201504041830_-_sdr_for_noobs_-_sec.html#​video|SDR for Noobs]] 
-[[http://​media.ccc.de/​browse/​conferences/​eh2015/​eh15_-_28_-__-_tagungsraum_1_-_201504051830_-_sdr_for_non-noobs_-_sec.html|SDR for non-noobs]] 
- 
-**gnuradio-companion** is the full-fledged signal processing application. 
- 
-**osmocom_fft** is a nice little graphical tool for quick signal checks. ​ 
-=== Gqrx SDR (Linux/Mac) 
- 
-[[http://​gqrx.dk]] 
- 
-=== SDR# (Windows) 
-http://​sdrsharp.com/#​sdrsharp 
software/sdr.txt · Last modified: 2016/09/08 12:27 by 9r