TODAY’s EXPERIMENT
-
Installed Ubuntu Bionic 18.04 in VM on my Windows PC
-
Installed dump1090-fa (minus bladeRF)
-
Installed Piaware data feeder.
-
One of my Pi has lot of MLAT planes.
From that Pi, removed following and connected to Windows Desktop running Oracle VM:
FlightAware 26" / 66 cm Antenna in window + FA Filter + FA Pro Stick (orange)
No MLAT planes in VM/Ubuntu. Only “ADSB” and “Others”
.
https://flightaware.com/adsb/stats/user/abcd567#stats-76000
.
.
abcd@ubuntu:~$ sudo systemctl status piaware -l
● piaware.service - FlightAware ADS-B uploader
Loaded: loaded (/lib/systemd/system/piaware.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2019-03-03 13:51:01 EST; 32min ago
Docs: https://flightaware.com/adsb/piaware/
Main PID: 692 (piaware)
Tasks: 4 (limit: 4660)
CGroup: /system.slice/piaware.service
├─ 692 /usr/bin/piaware -p /run/piaware/piaware.pid -plainlog -statusfile /run/piaware/status.json
├─ 815 /usr/lib/piaware/helpers/fa-mlat-client --input-connect localhost:30005 --input-type dump1090 --results beast
└─1923 /usr/lib/piaware/helpers/faup1090 --net-bo-ipaddr localhost --net-bo-port 30005 --stdout --lat 43.5xxx --lon -79.6xxx
Mar 03 14:15:50 ubuntu piaware[692]: ADS-B data program 'dump1090-fa' is listening on port 30005, so far so good
Mar 03 14:15:50 ubuntu piaware[692]: Starting faup1090: /usr/lib/piaware/helpers/faup1090 --net-bo-ipaddr localhost --net-bo-po
Mar 03 14:15:50 ubuntu piaware[692]: Started faup1090 (pid 1923) to connect to dump1090-fa
Mar 03 14:16:39 ubuntu piaware[692]: 2511 msgs recv'd from dump1090-fa (254 in last 5m); 2510 msgs sent to FlightAware
Mar 03 14:21:18 ubuntu piaware[692]: mlat-client(815): Receiver status: connected
Mar 03 14:21:18 ubuntu piaware[692]: mlat-client(815): Server status: clock unstable
Mar 03 14:21:18 ubuntu piaware[692]: mlat-client(815): Receiver: 93.3 msg/s received 26.6 msg/s processed (29%)
Mar 03 14:21:18 ubuntu piaware[692]: mlat-client(815): Server: 0.0 kB/s from server 0.0kB/s TCP to server 0.2kB/s U
Mar 03 14:21:18 ubuntu piaware[692]: mlat-client(815): Aircraft: 9 of 33 Mode S, 19 of 30 ADS-B used
Mar 03 14:21:39 ubuntu piaware[692]: 3674 msgs recv'd from dump1090-fa (1163 in last 5m); 3673 msgs sent to FlightAware
.
HOW I INSTALLED DUMP1090-FA & PIAWARE?
1 - DUMP1090-FA
1.1 - Installed packages needed to build and to fulfill dependencies
sudo apt install -y debhelper dh-systemd librtlsdr-dev libusb-1.0-0-dev
sudo apt install -y git pkg-config libncurses5-dev lighttpd
1.2 - Cloned source code
cd ~/
git clone https://github.com/flightaware/dump1090.git dump1090-fa
1.3 - Deleted requirement to install bladeRF from source code files
sudo sed -i 's/, libbladerf-dev//' ~/dump1090-fa/debian/control
sudo sed -i 's/libbladerf1 (>= 0.2016.06),//' ~/dump1090-fa/debian/control
sudo sed -i 's/BLADERF=yes/BLADERF=no/' ~/dump1090-fa/debian/rules
1.4 - Moved into cloned directory & build the dump1090-fa package
cd dump1090-fa
sudo dpkg-buildpackage -b
1.5 - After the package is built, move out of dump1090 directory, and check what has been built
cd ../
ls
Desktop dump1090-fa_3.6.3_amd64.buildinfo Music
Documents dump1090-fa_3.6.3_amd64.changes Pictures
Downloads dump1090-fa_3.6.3_amd64.deb Public
dump1090_3.6.3_all.deb dump1090-fa-dbgsym_3.6.3_amd64.ddeb Templates
dump1090-fa examples.desktop Videos
.
1.6 - Installed dump1090-fa
sudo dpkg -i dump1090-fa_*_*.deb
.
1.7 - Rebooted
sudo reboot
.
2 - PIAWARE
2.1 - Installed packages necessary to build and to fulfil dependencies
sudo apt install -y git devscripts build-essential debhelper
sudo apt install -y tcl8.6-dev autoconf python3-dev python3-venv
sudo apt install -y virtualenv dh-systemd zlib1g-dev tclx8.4
sudo apt install -y tcllib tcl-tls itcl3 net-tools
2.2 - Cloned source-code and build Piaware package
cd ~/
git clone https://github.com/flightaware/piaware_builder.git
cd piaware_builder
CODENAME=(`lsb_release -sc`)
echo ${CODENAME}
# above command outputs distro's codename ("bionic" in this case)
./sensible-build.sh ${CODENAME}
cd package-${CODENAME}
dpkg-buildpackage -b
2.3 - Checked if the package is actually built
cd ../
ls
bionic package-bionic README.md
changelog piaware_3.6.3~ubuntu1804+1_amd64.buildinfo sensible-build.sh
common piaware_3.6.3~ubuntu1804+1_amd64.changes stretch
Jenkinsfile piaware_3.6.3~ubuntu1804+1_amd64.deb wheezy
jessie piaware-dbgsym_3.6.3~ubuntu1804+1_amd64.ddeb xenial
.
2.4 - Installed Piaware
sudo dpkg -i piaware_*.deb
.
2.5 - CONFIGURED PIAWARE
(used actual feeder-id in place of xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx )
sudo piaware-config feeder-id xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
sudo piaware-config allow-auto-updates yes
sudo piaware-config allow-manual-updates yes
sudo systemctl restart piaware
2.6 - Checked Status, ok
sudo systemctl status piaware