Piaware ver 3.8.0 on Armbian Buster / OrangePiPC
Piaware, dump1090-fa & dump978-fa SUCCESSFULLY Built from Source Code
SYSTEM INFO
pi@orangepipc:~$ uname -a
Linux orangepipc 5.3.9-sunxi #19.11.3 SMP Mon Nov 18 18:49:43 CET 2019 armv7l GNU/Linux
pi@orangepipc:~$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
.
1 - PIAWARE
1.1 - Install the build tools & dependencies
sudo apt install debhelper tcl8.6-dev python3-dev python3-venv libz-dev
sudo apt install dh-systemd libboost-system-dev libboost-program-options-dev
sudo apt install libboost-regex-dev libboost-filesystem-dev
sudo apt install tcl tclx8.4 tcllib tcl-tls itcl3
.
1.2 - Clone sorce code, build piaware package, and install it
git clone https://github.com/flightaware/piaware_builder
cd piaware_builder
sudo ./sensible-build.sh buster
cd package-buster
sudo dpkg-buildpackage -b --no-sign
cd ../
sudo dpkg -i piaware_3.8.0_armhf.deb
.
2 - DUMP1090-FA
2.1 - Install the build tools & dependencies
sudo apt install libfam0 lighttpd librtlsdr-dev libusb-1.0-0-dev
sudo apt install pkg-config libncurses5-dev libbladerf-dev
.
2.2 - Clone sorce code, build piaware package, and install it
cd ~/
git clone https://github.com/flightaware/dump1090 dump1090-fa
cd dump1090-fa
sudo dpkg-buildpackage -b --no-sign
cd ../
sudo dpkg -i dump1090-fa_3.8.0_armhf.deb
.
3 - DUMP978-FA
3.1 - Install the build tools & dependencies
sudo apt install libsoapysdr-dev libsoapysdr0.6 soapysdr-module-rtlsdr
.
3.2 - Clone sorce code, build piaware package, and install it
git clone https://github.com/flightaware/dump978 dump978-fa
cd dump978-fa
sudo dpkg-buildpackage -b --no-sign
cd ../
sudo dpkg -i dump978-fa_3.8.0_armhf.deb
sudo dpkg -i skyaware978_3.8.0_armhf.deb
.
3.3 - Configuration
sudo piaware-config uat-receiver-type sdr
sudo sed -i 's/--device-index 0/--device-index 00001090/' /etc/default/dump1090-fa
sudo sed -i 's/driver=rtlsdr/driver=rtlsdr,serial=00000978/' /etc/default/dump978-fa
sudo reboot
.
STATUS
dump978-fa
pi@orangepipc:~$ sudo systemctl status dump978-fa
â—Ź dump978-fa.service - dump978 ADS-B UAT receiver
Loaded: loaded (/lib/systemd/system/dump978-fa.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2020-01-05 03:35:55 EST; 12min ago
Docs: https://flightaware.com/adsb/piaware/
Main PID: 2662 (dump978-fa)
Tasks: 4 (limit: 2068)
Memory: 10.4M
CGroup: /system.slice/dump978-fa.service
└─2662 /usr/bin/dump978-fa --sdr driver=rtlsdr,serial=00000978 --format CS8 --raw-port 30978 --json-port 30979
Jan 05 03:35:56 orangepipc dump978-fa[2662]: Detached kernel driver
Jan 05 03:35:56 orangepipc dump978-fa[2662]: Found Rafael Micro R820T tuner
Jan 05 03:35:56 orangepipc dump978-fa[2662]: Exact sample rate is: 2083333.135571 Hz
Jan 05 03:35:56 orangepipc dump978-fa[2662]: [R82XX] PLL not locked!
Jan 05 03:35:57 orangepipc dump978-fa[2662]: SoapySDR: using maximum manual gain 49.6 dB
Jan 05 03:35:57 orangepipc dump978-fa[2662]: SoapySDR: using stream setting buffsize=262144
Jan 05 03:35:57 orangepipc dump978-fa[2662]: Allocating 15 zero-copy buffers
Jan 05 03:35:57 orangepipc dump978-fa[2662]: Detected Kernel usbfs mmap() bug, falling back to buffers in userspace
Jan 05 03:36:08 orangepipc dump978-fa[2662]: [::]:30978: accepted a connection from [::1]:52992
Jan 05 03:37:04 orangepipc dump978-fa[2662]: [::]:30978: accepted a connection from [::1]:52998
.
Piaware
pi@orangepipc:~$ sudo systemctl status piaware
â—Ź piaware.service - FlightAware ADS-B uploader
Loaded: loaded (/lib/systemd/system/piaware.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2020-01-05 03:37:00 EST; 12min ago
Docs: https://flightaware.com/adsb/piaware/
Main PID: 2694 (piaware)
Tasks: 6 (limit: 2068)
Memory: 13.0M
CGroup: /system.slice/piaware.service
├─2694 /usr/bin/piaware -p /run/piaware/piaware.pid -plainlog -statusfile /run/piaware/status.json
├─2706 /usr/lib/piaware/helpers/fa-mlat-client --input-connect localhost:30005 --input-type dump1090 --results beast,connect,localh
├─2709 /usr/lib/piaware/helpers/faup1090 --net-bo-ipaddr localhost --net-bo-port 30005 --stdout --lat 43.xxx --lon -79.xxx
└─2712 /usr/lib/piaware/helpers/faup978 --connect localhost:30978
Jan 05 03:37:04 orangepipc piaware[2694]: faup978(2712): Connected to [::1]:30978
Jan 05 03:37:04 orangepipc piaware[2694]: piaware received a message from dump1090-fa!
Jan 05 03:37:04 orangepipc piaware[2694]: mlat-client(2706): Beast-format results connection with ::1:30104: connection established
Jan 05 03:37:13 orangepipc piaware[2694]: piaware has successfully sent several msgs to FlightAware!
Jan 05 03:37:35 orangepipc piaware[2694]: 13 msgs recv'd from dump1090-fa; 13 msgs sent to FlightAware
Jan 05 03:37:35 orangepipc piaware[2694]: 0 msgs recv'd from dump978-fa; 0 msgs sent to FlightAware
Jan 05 03:42:35 orangepipc piaware[2694]: 132 msgs recv'd from dump1090-fa (119 in last 5m); 132 msgs sent to FlightAware
Jan 05 03:42:35 orangepipc piaware[2694]: 0 msgs recv'd from dump978-fa (0 in last 5m); 0 msgs sent to FlightAware
Jan 05 03:47:35 orangepipc piaware[2694]: 262 msgs recv'd from dump1090-fa (130 in last 5m); 262 msgs sent to FlightAware
Jan 05 03:47:35 orangepipc piaware[2694]: 0 msgs recv'd from dump978-fa (0 in last 5m); 0 msgs sent to FlightAware
.
dump1090-fa
pi@orangepipc:~$ sudo systemctl status dump1090-fa
â—Ź dump1090-fa.service - dump1090 ADS-B receiver (FlightAware customization)
Loaded: loaded (/lib/systemd/system/dump1090-fa.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2020-01-05 02:26:51 EST; 1h 23min ago
Docs: https://flightaware.com/adsb/piaware/
Main PID: 1348 (dump1090-fa)
Tasks: 3 (limit: 2068)
Memory: 7.3M
CGroup: /system.slice/dump1090-fa.service
└─1348 /usr/bin/dump1090-fa --device-index 00001090 --gain -10 --ppm 0 --max-range 360 --fix --net --net-heartbeat 60 --net-ro-size
Jan 05 02:26:51 orangepipc systemd[1]: Started dump1090 ADS-B receiver (FlightAware customization).
Jan 05 02:26:51 orangepipc dump1090-fa[1348]: Sun Jan 5 02:26:51 2020 EST dump1090-fa 3.8.0 starting up.
Jan 05 02:26:51 orangepipc dump1090-fa[1348]: rtlsdr: using device #1: Generic RTL2832U (Realtek, RTL2832U, SN 00001090)
Jan 05 02:26:51 orangepipc dump1090-fa[1348]: Detached kernel driver
Jan 05 02:26:52 orangepipc dump1090-fa[1348]: Found Rafael Micro R820T tuner
Jan 05 02:26:52 orangepipc dump1090-fa[1348]: rtlsdr: enabling tuner AGC
Jan 05 02:26:52 orangepipc dump1090-fa[1348]: Allocating 4 zero-copy buffers
Jan 05 02:26:52 orangepipc dump1090-fa[1348]: Detected Kernel usbfs mmap() bug, falling back to buffers in userspace