Feeding FlightAware with dump1090-mutability on Debian

Hi all,

I’m relatively new to the ADS-B space, so please bear with me!

I bought the FA Pro Stick Plus and a 1090mhz antenna from ModMyPi, which I’ve got setup on a Debian 9 system running dump1090-mutability. I’d love to feed FlightAware, but the only instructions I can readily find are about running PiAware on a Raspberry Pi.

What’s the best way to feed FA using my current setup?

Thanks :slight_smile:

Have you looked at

?

I have looked at that page, but the apt repository that it adds doesn’t contain any packages for the amd64 architecture - I presume they’ve been pre-built for the rPI. That means I still can’t actually install PiAware.

Thank you for the link though!

You can build it from scratch
sudo apt-get update
sudo apt-get install build-essential debhelper tcl8.6-dev autoconf python3-dev python3-venv dh-systemd libz-dev
git clone GitHub - flightaware/piaware_builder: Debian package builder for piaware
cd piaware_builder
chmod +x sensible-build.sh
sh sensible-build.sh jessie
cd package-jessie
dpkg-buildpackage -b

Then install the package it creates
something like
sudo dpkg -i (package name/location)

2 Likes

The manual method posted by @jonhawkes2030 is good and works OK.

If you want easier automated method, use J Prochazka’s scripts by giving commands below:

sudo apt-get update   
sudo apt-get install git   
cd ~/   
git clone https://github.com/jprochazka/adsb-receiver.git    
cd ~/adsb-receiver   
chmod +x install.sh   
./install.sh   

It looks like he just got it to work
https://flightaware.com/adsb/stats/user/phoenix125

1 Like

Thanks @jonhawkes2030 - I did indeed get it working as per your instructions, but in my excitement forgot to update the post!

Thank you all for your help :slight_smile:

I have only problems with the script from J Prochazka, especially at the end with the web based creation of mysql or sqlite. The repository hasn’t been uodated for a long time.
Any other source for debian install script. ?

Erik

Install dump1090-mutability ver 1.15~dev from Source Code

(1) Install tools & dependencies

sudo apt-get update 
sudo apt-get install -y git build-essential debhelper rtl-sdr 
sudo apt-get install -y librtlsdr-dev libusb-1.0-0-dev pkg-config 
sudo apt-get install -y fakeroot curl cron lighttpd

(2) Clone source code and build package

cd ~/
sudo git clone https://github.com/mutability/dump1090.git 

cd ~/dump1090
sudo dpkg-buildpackage -b

(3) Install and configure dump1090-mutability

cd ../
sudo dpkg -i dump1090-mutability_1.15~dev_*.deb

sudo lighty-enable-mod dump1090 
sudo /etc/init.d/lighttpd force-reload

(4) WORKAROUND FOR STRETCH (Ajax call Failed) …"

sudo wget -O  /etc/udev/rules.d/rtl-sdr.rules "https://raw.githubusercontent.com/osmocom/rtl-sdr/master/rtl-sdr.rules" 

sudo reboot

image

Thanks, building right now. All went without errors, but when i dial-up the page dump1090, the bottom status that there is no data

Checking the status
root@adsb:/home/erik# systemctl status dump1090-mutability
● dump1090-mutability.service - LSB: dump1090 daemon (mutability variant)
Loaded: loaded (/etc/init.d/dump1090-mutability; generated; vendor preset: enabled)
Active: active (exited) since Sun 2019-07-07 01:14:56 CEST; 10s ago
Docs: man:systemd-sysv-generator(8)
Process: 8772 ExecStop=/etc/init.d/dump1090-mutability stop (code=exited, status=0/SUCCESS)
Process: 8794 ExecStart=/etc/init.d/dump1090-mutability start (code=exited, status=0/SUCCESS)

Jul 07 01:14:55 adsb systemd[1]: Starting LSB: dump1090 daemon (mutability variant)…
Jul 07 01:14:56 adsb systemd[1]: Started LSB: dump1090 daemon (mutability variant).

There are no json files in /run/dump1090-mutability
Need to investigate more…

Oops… Forgot to post this step:
(Will edit post and add it now)

STRETCH WORKAROUND (Ajax call Fail) ...."
sudo wget -O  /etc/udev/rules.d/rtl-sdr.rules "https://raw.githubusercontent.com/osmocom/rtl-sdr/master/rtl-sdr.rules" 

sudo reboot

Thanks for the update, all is working now…

1 Like