-
-
Save FabienLavocat/c6f4b2572aa2da0ba6cda7332e728f71 to your computer and use it in GitHub Desktop.
#!/bin/bash -e | |
sudo apt-get update | |
sudo apt-get -y install dirmngr | |
# Add the package for FlightAware | |
wget https://flightaware.com/adsb/piaware/files/packages/pool/piaware/p/piaware-support/piaware-repository_5.0_all.deb | |
sudo dpkg -i piaware-repository_5.0_all.deb | |
# Add the server for FlightRadar24 | |
gpg --keyserver keyserver.ubuntu.com --recv-keys 40C430F5 | |
gpg --armor --export 40C430F5 | sudo apt-key add - | |
sudo sh -c 'echo "deb http://repo.feed.flightradar24.com flightradar24 raspberrypi-stable" >> /etc/apt/sources.list' | |
# Install Required Packages | |
sudo apt-get update | |
sudo apt-get -y install piaware dump1090-fa fr24feed | |
# Upgrade the system | |
sudo apt-get -y dist-upgrade | |
sudo apt-get -y autoremove | |
# FlightAware | |
# This will enable automatic and manual (web-based, via your request) PiAware software updates. | |
sudo piaware-config allow-auto-updates yes | |
sudo piaware-config allow-manual-updates yes | |
### Flight Radar 24 | |
sudo wget -O /etc/udev/rules.d/rtl-sdr.rules "https://raw.githubusercontent.com/osmocom/rtl-sdr/master/rtl-sdr.rules" | |
fr24feed --signup |
Good
Line 11: pool.sks-keyservers.net seems to be dead, replaced with keyserver.ubuntu.com to be able to continue
@dome2048 I updated to the latest piaware version 5.0
@ggeorgiev2001 Thanks, I updated the URL
Thanks for this script, both FA and FR24 are working within less then 15 minutes :-).
It is necessary to finish the configuration of PiAware by entering the feeder ID by typing the following in the console
sudo piaware-config feeder-id your-feeder-id-here
I noticed that MLAT is not active on the FL24 installation. Is there a way to activate it ?
@spinko101 for MLAT you will need to provide your coordinates when setting up your account with the command sudo fr24feed --signup
I am getting trouble when installing both, due to fighting about the dump-connection. I use a fr24-raspberry-image, maybe I should use clean raspberry?
@Flums I haven't touched that script in ages, maybe the installation bits have changed. Try to go over the steps one by one.
@FabienLavocat Thank you for this helpful and simple explanation on how to make this work.
I forked your gist and made a small update to make piaware install now under raspbian stretch. Full disclosure: I found someone else's solution here.
Unless I'm missing something, I can't make a pull request on a gist.
https://gist.github.com/dome2048/bb8c0f413c6efcb669c3754e23e6237d/revisions