Table of Contents

Main Installation

This is the install process for setting up a Flight Radar 24 ADS-B feed using a raspberry PI (V4) and a SDR-Blog VR Dongle. It also includes the install and mechanism to switch to an SDR++ server to allow remote clients to attach and listen to ATC audio remotely.

Initial PI setup

Using the PI imager software, you should image the PI and when prompted to select the image you need to select: Raspberry PI OS (Other) –> Raspberry PI-OS (Legacy 32-bit) Lite

It is important you choose the 32 bit version, and choosing the Lite version means we get a Headless install without all the bloat.

You should also select any other customizations, you should select and enable SSH at least / WI-Fi and other settings.

After flashing the PI allow it to boot and connect to the network, you can then ssh to it (ssh account@hostname) Login and update the PI to the latest OS.

sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
sudo reboot

The next step is to install the V4 Debian Drivers for the SDR-Blog VR USB Dongle

Purge the previous driver:

You must run this as a user, not as root, (only sudo on the commands specified below.)

sudo apt purge ^librtlsdr
sudo rm -rvf /usr/lib/librtlsdr* /usr/include/rtl-sdr* /usr/local/lib/librtlsdr* /usr/local/include/rtl-sdr* 
/usr/local/include/rtl_* /usr/local/bin/rtl_*

Install the RTL-SDR Blog drivers:

sudo apt-get install libusb-1.0-0-dev git cmake pkg-config
mkdir /opt/sdr
cd /opt/sdr
git clone https://github.com/rtlsdrblog/rtl-sdr-blog
cd rtl-sdr-blog
mkdir build
cd build
cmake ../ -DINSTALL_UDEV_RULES=ON
make
sudo make install
sudo cp ../rtl-sdr.rules /etc/udev/rules.d/
sudo ldconfig

Blacklist the DVB-T TV drivers.

echo 'blacklist dvb_usb_rtl28xxu' | sudo tee --append /etc/modprobe.d/blacklist-dvb_usb_rtl28xxu.conf

Reboot

sudo reboot

Set up the fr24 feeder software

sudo wget -qO- https://fr24.com/install.sh | sudo bash -s

This will run the script and start the setup questions. After you have answered these, you will need to run this command to allow the new fr24 user access to the USB dongle, otherwise you will get errors in the log and no data.

adduser fr24 plugdev

sudo systemctl restart fr24feed fr24feed-status

http://io.scottworld.net:8754/