Skip to content

Quick guide to setup a RTL SDR Server on a Raspberry Pi, running dietpi.

Notifications You must be signed in to change notification settings

natevns08/raspberry-rtlsdr-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Raspberry Pi rtl-sdr server setup

Quick guide to setup a RTL SDR Server on a Raspberry Pi, running dietpi.

Base

⚠️⚠️ The Pi Zero W seems not enough powerfull to handle rtl_tcp.

Flash the Sdcard

$ sudo dd bs=1m if=path_of_your_image.img of=/dev/rdiskn conv=sync

Base Setup

$ sudo dietpi-update

Install rtl-sdr software

In 2018 no need to compile rtl-sdr package, everything is already available in repo.

$ sudo apt-get install rtl-sdr

Plug your TNT/DVB Dongle.

Everything is installed. You can test it with :

$ rtl_tcp

Service & Auto-startup

With systemd the process to create a startup service is a little different than previous version.

sudo nano /etc/systemd/system/rtlsdr.service

Paste the following content :

[Unit]
Description=RTL-SDR Server
After=network.target

[Service]
ExecStart=/bin/sh -c "/usr/bin/rtl_tcp -a $(hostname -I)"
WorkingDirectory=/home/dietpi
StandardOutput=inherit
StandardError=inherit
Restart=always

[Install]
WantedBy=multi-user.target

Save and quit

$ sudo systemctl daemon-reload
$ sudo systemctl start rtlsdr
$ sudo systemctl status rtlsdr # Everything should be green
$ sudo systemctl enable rtlsdr

Almost done

Reboot and test

sudo reboot

Your SDR Server is ready to accept connection on port hostname/IP:1234

About

Quick guide to setup a RTL SDR Server on a Raspberry Pi, running dietpi.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published