BONUS: Install other feeders on 64-bit OS
CASE-1: On RPi 3 / 4 with (1) 64-bit Raspberry Pi OS Bullseye OR (2) 64-bit DietPi Bullseye OR (3) 64-bit Ubuntu 20 server Focal Fossa for RPi
(1) PREPRATION:
As most of other feeder sites have not yet released their 64-bit feeders, and currently only 32-bit feeders are available, we will install these on 64-bit OS by first adding architecture armhf to the 64-bit (arm64/aarch64) OS as follows:
sudo dpkg --add-architecture armhf
sudo apt update
IMPORTANT: You must run “sudo apt update” to implement addition of armhf
Now check to confirm armhf has been added as “foreign-architecture”
sudo dpkg --print-architecture
sudo dpkg --print-foreign-architectures
if the output of 2nd command is armhf
, then it is confirmed that armhf has been added.
(2) INSTALLATION
(2.1) Flightradar24 feeder:
Install by following command:
sudo bash -c "$(wget -O - https://repo-feed.flightradar24.com/install_fr24_rpi.sh)"
When installation is completed, the installer will automatically take you to configuration stage. Enter your email, latitude, longitude elevation, and fr24key (if you already have the key, or leave it blank if you dont have).
IMPORTANT:
The process will take you to following question. Type yes
to accept “autoconfig” and press Enter Key.
Would you like to use autoconfig (*yes*/no)$: yes
Complete rest of configuration process (enable/disable log), then restart fr24feed
sudo systemctl restart fr24feed
Wait for few minutes, then check status
sudo fr24feed-status
(2.2) Planefinder feeder:
Install by following commands:
wget -O pfclient_5.0.161_armhf.deb "http://client.planefinder.net/pfclient_5.0.161_armhf.deb"
sudo dpkg -i pfclient_5.0.161_armhf.deb
To configure Planefinder feeder, in your browser go to following page and complete configuration:
- Using Browser of same computer on which you have installed Planefider data feeder:
localhost:30053
- Using Browser of another computer on same Network:
192.168.0.23:30053
(Repalce 192.168.0.23
by Local IP of computer on which you have installed Planefinder feeder)
(2.3) RadarBox24 feeder:
Install by following command
sudo bash -c "$(wget -O - wget http://apt.rb24.com/inst_rbfeeder.sh)"
(2.4) mlat-client for RB24 feeder:
To install mlat-client for RadarBox24 feeder, try following:
sudo apt install mlat-client
If it fails, use one of following two options:
Option A: Pre-built package from my Github site:
(2) Package for Raspi OS BULLSEYE (64-bit)
Option B: Build it on your RPi from source code
## Install required packages (dependencies and build tools)
sudo apt update
sudo apt install -y git curl build-essential debhelper python-dev python3-dev
## Download source code
git clone https://github.com/mutability/mlat-client.git
## Build mlat-client's installation package
cd mlat-client
sudo apt install -y dh-python
sudo dpkg-buildpackage -b -uc
## Above command will take some time to build package.
## After the package is built, install it by following command
cd ../
sudo dpkg -i mlat-client_*.deb
(2.5) Adsbexchange feeder:
Install by following command:
wget -O /tmp/axfeed.sh https://adsbexchange.com/feed.sh
sudo bash /tmp/axfeed.sh
(2.6) Performance Graphs:
Install by following command
sudo bash -c "$(wget -q -O - https://raw.githubusercontent.com/wiedehopf/graphs1090/master/install.sh)"
NOTE for 64-bit Ubuntu 20 server for RPi:
When I was installing graphs on 64-bit Ubuntu 20 server for RPi, the installation of package collectd-core
failed and the script repeatedly tried to fix it but failed.
It seems the collectd-core
package from Ubuntu repositories either has some bug or is outdated. Its version is 5.9.2.g-1ubuntu5
.
I solved this problem by installing collectd-core
from Debian package archives, instead of Ubuntu Repository. The version of package from Debian archives is 5.12.0-7
which seems newer.
Please see below the detailed procedure:
wget -O collectd-core_5.12.0-7_arm64.deb "http://ftp.us.debian.org/debian/pool/main/c/collectd/collectd-core_5.12.0-7_arm64.deb"
sudo dpkg -i collectd-core_5.12.0-7_arm64.deb
sudo apt-mark hold collectd-core
collectd-core set on hold.
apt-cache policy collectd-core
collectd-core:
Installed: 5.12.0-7
Candidate: 5.12.0-7
Version table:
*** 5.12.0-7 100
100 /var/lib/dpkg/status
5.9.2.g-1ubuntu5 500
500 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 Packages
Restart graphs:
sudo /usr/share/graphs1090/boot.sh
Wait for 10 minutes, then update:
sudo /usr/share/graphs1090/graphs1090.sh 24h
CASE-2: On x86_64 / AMD64 machines
PLEASE SEE NEXT POST.