Why not switch to 64-bit OS on RPi 3 & 4?
The 64-bit is future of computing. Raspberry Pi has started 64-bit capable processor armv8l since RPi model 3. They have made available 64-bit version (beta) of Raspberry Pi OS since May 2020. DietPi and Ubuntu have also followed the suite and have released 64-bit versions for RPi.
I strongly recommend to use a SPARE microSD card to write the 64-bit image, and preserve existing microSD card with 32-bit OS and feeders as backup. This way if something goes wrong during ibstallation/operation of 64-bit system, or you dont like it, you can easily revert by slipping out 64-bit microSD card and slipping in preserved 32-bit microsd card.
……………………………………………………………………………
……………………………………………………………………………
STEP-1: Download and write one of the following 64-bit images to microSD card.
1. The 64-bit Raspberry Pi OS image can be downloaded from following pages:
Lite:
Index of /raspios_lite_arm64/images
Full:
https://downloads.raspberrypi.org/raspios_arm64/images/
2. The 64-bit DietPi OS image can be downloaded from following page:
https://dietpi.com/#downloadinfo
3. The 64-bit Ubuntu image for RPi can be downloaded from following page:
Install Ubuntu on a Raspberry Pi | Ubuntu
……………………………………………………………………………
……………………………………………………………………………
STEP-2: Install 64-bit version of dump1090-fa, piaware, piaware-web, and dump978-fa.
OPTION-1: Install 64-bit Pre-Built Packages of piaware, dump1090-fa, dump978-fa. This is a very easy option.
On 64-bit Raspberry Pi OS / 64-bit DietPi OS: CLICK HERE
On 64-bit Ubuntu 20 for RPi: CLICK HERE
OPTION-2: Build 64-bit Packages of piaware, dump1090-fa, dump978-fa from source-code right on your RPi CLICK HERE.
……………………………………………………………………………
……………………………………………………………………………
STEP-3: Install feeders of other sites on 64-bit OS 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
(Repalce192.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