Raspberry Headless Setup & RTL-SDR

Hello everyone

today's blog post we want to use you to show you how the headless installation with the current Raspi-light Image works, how to reinstall components and compile code from github.

We use this example to DVB-T Stickwhich reappeared during the move.

First we download the current image and write the image with Etcher on the SD card, as shown in our Raspberry e-book.

For the headless installation it is necessary to store a file with the designation SSH and the file wpa_supplicant.conf with the entered WLan data on the boot directory. However, we create the .conf file as described in the e-book, but with the following content:

Your RaspberryPi 3 or Raspberry Zero W then connects to your Wi-Fi. The IP address of the Raspberry can be obtained from your router as described in the e-book.

Since Microsoft has managed to implement SSH after 30 years, we can communicate directly with the Raspberry without installing third-party software :-)

We have not changed the access data yet, i.e. user: pi, password: raspberry. So we open CMD or PowerShell and log on to the Raspberry with ssh pi@IPADRESSE:

Raspian asks us to change the password. This is easy to do with sudo raspi-config:

After the mandatory update with "sudo apt-get update && sudo abt-get upgrade" we can start with the actual installation, find an explanation of what SDR is and what it is used for Here.

First we need git, which is not yet installed as you can see here:

We simply install it with "Sudo Apt-Get Install Git Git-Core Cmake Libusb-1.0-0-Dev Build-essential" after. We can then get the files from GitHub with: "git Clone Git:git.osmocom.org/rtl-sdr.git"

Then we create the build folder as seen on the screenshot and change the directory. Then we can already "cmake" with the parameter:

Run. Has everything worked, we see:

"sudo make" continues:

Almost done; Now another "sudo make install":

rtl-sdr is therefore installed, now still link with "sudo ldconfig", "cd" "sudo Cp ./Rtl-Sdr/Rtl-Sdr.Rules /Etc/Udev/Rules.D/" and restart with "sudo reboot":

After we have connected to "ssh pi@raspberrypi" we display the USB devices with "lsusb" and then test them with "rtl_test -t"  

we get an error.


To fix the error, we simply blacklisted it and then restart it. First, use "cd /etc/modprobe.d/" to change the directory and create the file with "nano no-rtl.conf". An empty window opens, we fill the file with the following contents:

Save with ctrl+O and exit with CTRL+X

After the reboot with "sudo reboot" we try again:

The test program runs and recognizes our receiver. That's - the DVB-T Stick is successfully installed. We show what you can receive with it and what you can use rtl-sdr for in a following article.

Until the next time ;)


Basics softwareRaspberry pi

Leave a comment

All comments are moderated before being published

Recommended blog posts

  1. Install ESP32 now from the board manager
  2. Lüftersteuerung Raspberry Pi
  3. Arduino IDE - Programmieren für Einsteiger - Teil 1
  4. ESP32 - das Multitalent
  5. OTA - Over the Air - ESP programming via WLAN