Skip to main content

A simple guide to installing and using RTL-SDR and related software in Ubuntu

Hello all !
In this post , let me help you install and use RTL-SDR and related software in Linux , specifically Ubuntu . The software being installed are  GNUradio and GQRX .

GQRX
I have tried this procedure in several systems running Ubuntu 14.04 LTS as well as Mint OS ( which is based on Ubuntu ) . The procedure assumes that you have access to root password and knows basics of Linux terminal. Moreover you need a working internet connection. If you don't know how to use the terminal , then please watch some youtube videos on the same . So let's start !

Step 0

Install Ubuntu ! This is the right decision that you can make . Linux is ideal for developers and hackers ( I mean hackers like Richard Stallman and not crackers ) .

Step 1

Open a linux terminal ( Ctrl+Alt+T) and type the following command

sudo apt-get update

You will be prompted for the password . Give it . It won't be shown on the screen .
This will update your Ubuntu installation and install the latest updates . You may need to wait for a few minutes to half an hour depending on your internet speed and how long your system remained stale ( without any update ).
Don't close the terminal , we need it ! If you close , don't worry . You just need to provide the root password when you open a new terminal and execute the following commands .

Step 2

After updating , install GQRX .The command is given below .

sudo apt-get install gqrx-sdr

This will give you a GUI interface for RTL-SDR as well installs the GNUradio packages for you , which is essential for developing some useful radio flowgraphs employing DSP . You can install GNUradio independently , if you wish .

Step 3

Now that you have GQRX , install the rtlsdr tools . The command is

sudo apt-get install rtl-sdr

This should be pretty easy !

Step 4

Now connect the RTL-SDR and run the following command

lsusb

The sdr should be listed as a Realtek device . So far so good . Now we need to blacklist the device so that the kernel modules for DVB won't load when you plug it . So , execute the following commands on the terminal .

sudo rmmod dvb_usb_rtl28xxu

After this , we need to create a file that blacklists the dongle so that the modules won't load in future . Execute the commands .

sudo su
echo blacklist dvb_usb_rtl28xxu > /etc/modprobe.d/rtlsdr.conf
exit


These commands have been taken from the website : RTLSDR Scanner Installation

Step 5
If you have been able to perform the above operations without any glitch , you are done ! Unplug and reconnect the dongle . Now open a terminal and type

gqrx

Now the GQRX screen will pop up . You can run the GQRX , change the settings etc .
If you want to get the GRC or GNUradio companion , type the following command.

gnuradio-companion

This will give you the GRC window . Please note that you won't be able to use the SDR simultaneously from both GQRX and GRC .

I hope that this tiny write-up will help you in installing the SDR ! Feel free to contact me in case some questions arises in your mind.

Greetings and 73s , this is VU3VWB   

Comments

Popular posts from this blog

Bias tee modification of HiLetgo RF amplifiers

Hi folks, There are some inexpensive RF amplifiers available in the hobby market by various names. They may be called LNAs, if you consider 3 dB noise figure as low noise. I purchased two of them from Amazon from a seller called HiLetgo. However documentation is sparse and the design is not all that great. People have had frustrating experiences with this type of LNA. Information regarding power supply to this board is practically non-existent, with voltage suggestions ranging from 5V to 12V ! Some even obtained the "magic smoke". Nonetheless they are reasonably cheap and therefore modifications can be done to make them useful. Let us now take a closer look at the board. Figure 1. The amplifier without any modification. Fig.1 shows the board without any modification. There are two SMA connectors and provision to externally power the board. The active element is an MMIC, with N02 as the marking. Other users have identified the MMIC as INA-02184 from HP. It seems to m...

Some experiments with double balanced mixers and GNURadio

Hi all, This post is all about frequency mixing , specifically double balanced mixers using diodes or ring mixers , commonly used in communication circuits . The circuit diagram of a ring mixer is given below . (Courtesy : Radio-electronics  ) Schematic of a double balanced mixer.  As you can see , this makes use of two transformers and a four diodes . For most of the HF work , switching diodes like 1N4148 suffice . However , for better performance Schottky diodes like 1N5711 can be made use of . For more information on the working of this mixer and construction aspects , I strongly recommend the excellent video by W2AEW on ring mixers given below .  So what I wish to explain in this video is a set of experiments carried out using a double balanced mixer which I shall call DB mixer for convenience :) The test gear consists of a DDS VFO , a crystal Colpitts oscillator , a variable  power supply , CRO , RTL-SDR and the PC sound card . The software tool...

RECEIVING SSTV FROM ISS ! Steps involved in decoding when using MMSSTV ......

A very interesting mode in ham radio is SSTV and more interesting is the SSTV from ISS - the International Space Station ! Receiving the images from ISS is pretty simple . However many hams have some problems recording SSTV audio and decoding them using MMSSTV . My ham friends like OM Ramesh VU3RGB , OM Sulaiman VU3SMQ and OM Dhanesh VU3DHN encouraged me to make a blog post describing the various steps involved . 1) The first step is simple . Just tune to 145.800MHz in your VHF receiver and record the audio using some device like your smartphone,holding it near to your rig .It is better to use SDRs like RTLSDR to record audio using a computer. However my shack PC is QRT now , so ,I can't use SDR . Anyway be sure to use some excellent satellite tracking software like the Hamsatdroid (Android) or Orbitron (Windows) to guide you in tracking the ISS . 2) After recording , copy the recorded .amr file to your PC from phone . Use some tool to convert the amr to wav file . One excellen...