got to the newly created directory gnuradio when the cloning is done
cd gnuradio
make a build directory
mkdir build
goto the build directory
cd build
Compile gnuradio
cmake ../
if you get an error-- WARNING: Found a known bad version of Boost (v104601). Disabling.
Then run cmake -DENABLE_BAD_BOOST=True ../
This can take a couple of hours depending on the speed of you Linux server.
make
Now install the newly compiled binaries into the required directories
sudo make install
Now load the the gnu drivers
sudo ldconfig
Build and Install RTL-SDR drivers go to your favorite install directory
cd ../../../
get the latest source code from osmocom.org
git clone git://git.osmocom.org/rtl-sdr.git
go to the newly created directory
cd rtl-sdr/
Now compile the rtl drivers
create the build directory
mkdir build
go to the build directory
cd build
compile the code
cmake ../
make
now install the compiled binaries
sudo make install
load the drivers
sudo ldconfig
now copy the content of the file rtl-sdr.rules and append it to the /etc/udev/rules.d/70-persistent-cd.rules file
use your favorite editor
vi rtl-sdr.rules and copy the content.
then open the file /etc/udev/rules.d/70-persistent-cd.rules
sudo vi /etc/udev/rules.d/70-persistent-cd.rules and append the previous files content at the end in ubuntu 16.04 the file name was /etc/udev/rules.d/rtl-sdr.rules
This is how my file looked like
# This file maintains persistent names for CD/DVD reader and writer devices.
# See udev(7) for syntax.
#
# Entries are automatically added by the 75-cd-aliases-generator.rules
# file; however you are also free to add your own entries provided you
# add the ENV{GENERATED}=1 flag to your own rules as well.
Building and Install Gqrx with command line. git clone https://github.com/csete/gqrx.git gqrx.git cd gqrx.git mkdir build cd build cmake .. make sudo make install
If you want to build the code using the Qt development environment then follow the steps below cd ../../
git clone https://github.com/csete/gqrx.git
cd gqrx
qtcreator ./gqrx.pro
A new window will open (the QT compiler).
When it opens click the build menu then the build all option.
QT Compiler
you should see The process "/usr/bin/make" exited normally.
Plug in your RTL dongle.
Now run gqrx.
gqrx
Select Yes
GQRX Should now be open. On the first run you will be prompted for a device listing.
Select your SDR (in my case RTL dongle)
In the device drop down menu select "ezcap USB 2.0 DVB-T/DAB/FM Dongle", then continue to the main GQRX window.
Select File->Start DSP. You should now be receiving something.
Tune to a local radio station between 88-108Mhz FM.
select Wide FM Stero as the Mode Type.
Now connect a proper external antenna to your RTL dongle or Softrock HF/VHF kit.
Hope you have lost of fun ;-)
Here is a video of GQRX using the 100Khz to 17Ghz RTL dongle in direct conversion mode.
How to configure your direct conversion dongle.
Here is the screen-shot of the configuration on Linux for Gqrx
Device Select other
Device String rtl=0,direct_sample=2 (possibly 0/1/2)(This number could differ depending on which pin was wired via balin)
Device String rtl=0,direct_sample=2
Here is a picture of the 100KHX to 1.7Ghz rtl dongle