FlightAware Discussions

Orange Pi PC -- a $15 alternative to RPi 2? So far, so good

OrangePI PC - Workaround for “Temperature Graph is Missing”

(1) The Problem:

pi@orangepipc:~$ sudo ~/adsb-receiver/build/portal/graphs/make-collectd-graphs.sh 24h
[sudo] password for pi:
1949 (process ID) old priority 0, new priority 5
577x298
577x298
577x298
577x298
1107x284
577x298
577x298
577x298
577x298
577x298
ERROR: opening '/var/lib/collectd/rrd/localhost/table-localhost/gauge-cpu_temp.rrd': No such file or directory
ERROR: opening '/var/lib/collectd/rrd/localhost/table-localhost/gauge-cpu_temp.rrd': No such file or directory
ERROR: opening '/var/lib/collectd/rrd/localhost/interface-wlan0/if_octets.rrd': No such file or directory
577x298
1107x284
577x298
577x298
577x298
577x298
pi@orangepipc:~$

.

.

(2) The Workaround (Proposed by J Prochazka at Github)

1. Open file collectd.conf for editing

sudo nano /etc/collectd/collectd.conf

.

2. At end of above file, add following code

# Orange Pi specific values.
<Plugin table>
        <Table "/sys/devices/virtual/thermal/thermal_zone0/temp">
                Instance localhost
                Separator " "
                <Result>
                        Type gauge
                        InstancePrefix "cpu_temp"
                        ValuesFrom 0
                </Result>
        </Table>
</Plugin>

<Plugin "disk">
        Disk "mmcblk0"
        IgnoreSelected false
</Plugin>

Save file (Ctrl+o) and close it (Ctrl+x)

.

3. Reboot

sudo reboot

.

4. Wait 5 minutes, then update graphs

sudo ~/adsb-receiver/build/portal/graphs/make-collectd-graphs.sh 24h 

2994 (process ID) old priority 0, new priority 5
577x298
577x298
577x298
577x298
1107x284
577x298
577x298
577x298
577x298
577x298
577x298
577x298
ERROR: opening '/var/lib/collectd/rrd/localhost/interface-wlan0/if_octets.rrd': No such file or directory
577x298
1107x284
577x298
577x298
577x298
577x298
pi@orangepipc:~$

.

5. Clear browser cache (Ctrl+Shift+Delete) and Reloaded Browser (Ctrl+F5)

image

SUCCESS !!!

The problem is in the script.

I commented somewhere on here: “issue 425 code being added to the master code” where a “CHIP” option was added so if not a real RPi it skips some of the code - sloppy!!! but I don’t know how to update code - found my own fix which is also somewhere on here.

This is where it all goes wrong:

In bash/portal/graphs.sh at line 203:

if [[ “${HARDWARE_PLATFORM}” = “RPI” ]] ; then

In bash/portal/graphs.sh at line 225:
elif [[ “${HARDWARE_PLATFORM}” = “CHIP” ]] ; then

That logic works fine if you have a RPi or a CHIP, but for everything else it just gets omitted.

Better logic would be to have the CHIP option first and then let the “elif” fall through to the default value without any testing of which system is being used.

1 Like

CHIP is out of business. You cannot even find site to “flash” the software.

My CHIP’s OS got corrupted, and due to closure of it’s flashing site, I could not reimage it. Finally I threw the CHIP board in trash can.

OrangePi is Still in business, and I suggest JP to modify his code to accomodate OrangePi.

Ver 3.7.1 Package Install of piaware, dump1090-fa, dump978-fa and skyview978 on Orange Pi PC

.

(1) Serialize dongles: (CLICK HERE)

To recieve both ES1090 and UAT978, two dongles are required, one for 1090 and other for 978. In this case the dongles should be serialized so that correct dongle+antenna sets are used by dump1090-fa and dump978-fa.

For 1090 Mhz dongle: used serial # 00001090
For 978 Mhz dongle : used serial # 00000978

(2) Install packages piaware, dump1090-fa, dump978-fa and skyview978

@obj : The dump978’s .deb package misses to install one dependency ( soapysdr-module-rtlsdr). As a result dump978-fa starts and exits. I have therefore included sudo apt-get install soapysdr-module-rtlsdr before the step sudo apt-get install dump978
.

2.1 - Repository
wget http://flightaware.com/adsb/piaware/files/packages/pool/piaware/p/piaware-support/piaware-repository_3.7.1_all.deb

sudo dpkg -i piaware-repository_3.7.1_all.deb

sudo apt-get update

.

2.2 - Piaware
sudo apt-get install piaware

sudo piaware-config uat-receiver-type sdr

sudo piaware-config feeder-id xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

sudo piaware-config allow-auto-updates yes
sudo piaware-config allow-manual-updates yes

.

2.3 - dump1090-fa
sudo apt-get install dump1090-fa

sudo sed -i 's/--device-index 0/--device-index 00001090/' /etc/default/dump1090-fa
.

2.4 - dump978
sudo apt-get install soapysdr-module-rtlsdr

sudo apt-get install dump978-fa

sudo sed -i 's/driver=rtlsdr/driver=rtlsdr,serial=00000978/' /etc/default/dump978-fa

.
2.5 -skyview978
sudo apt-get install skyview978

.
2.6 - Reboot
sudo reboot

(3) CHECKS

3.1 - 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 2019-06-16 00:16:07 UTC; 24min ago
     Docs: https://flightaware.com/adsb/piaware/
 Main PID: 2223 (dump1090-fa)
    Tasks: 3 (limit: 4915)
   CGroup: /system.slice/dump1090-fa.service
           `-2223 /usr/bin/dump1090-fa --device-index 00001090 --gain -10 --ppm 0 --net-bo-port 30005 --max-range 360 --net --net-heartbea

Jun 16 00:16:07 orangepipc systemd[1]: Started dump1090 ADS-B receiver (FlightAware customization).
Jun 16 00:16:08 orangepipc dump1090-fa[2223]: Sun Jun 16 00:16:08 2019 UTC  dump1090-fa 3.7.1 starting up.
Jun 16 00:16:08 orangepipc dump1090-fa[2223]: rtlsdr: using device #0: Generic RTL2832U (Realtek, RTL2832U, SN 00001090)
Jun 16 00:16:08 orangepipc dump1090-fa[2223]: Detached kernel driver
Jun 16 00:16:08 orangepipc dump1090-fa[2223]: Found Rafael Micro R820T tuner
Jun 16 00:16:08 orangepipc dump1090-fa[2223]: rtlsdr: enabling tuner AGC

.
3.2 - dump978

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 2019-06-16 00:16:03 UTC; 25min ago
     Docs: https://flightaware.com/adsb/piaware/
 Main PID: 2162 (dump978-fa)
    Tasks: 4 (limit: 4915)
   CGroup: /system.slice/dump978-fa.service
           `-2162 /usr/bin/dump978-fa --sdr driver=rtlsdr,serial=00000978 --format CS8 --raw-port 30978 --json-port 30979

Jun 16 00:16:04 orangepipc dump978-fa[2162]: Reattached kernel driver
Jun 16 00:16:04 orangepipc dump978-fa[2162]: Detached kernel driver
Jun 16 00:16:04 orangepipc dump978-fa[2162]: Found Rafael Micro R820T tuner
Jun 16 00:16:04 orangepipc dump978-fa[2162]: Exact sample rate is: 2083333.135571 Hz
Jun 16 00:16:04 orangepipc dump978-fa[2162]: [R82XX] PLL not locked!
Jun 16 00:16:04 orangepipc dump978-fa[2162]: SoapySDR: using maximum manual gain 49.6 dB
Jun 16 00:16:04 orangepipc dump978-fa[2162]: SoapySDR: using stream setting buffsize=262144
Jun 16 00:16:28 orangepipc dump978-fa[2162]: [::]:30978: accepted a connection from [::1]:36154
Jun 16 00:40:47 orangepipc dump978-fa[2162]: SoapySDR: overflow
Jun 16 00:40:47 orangepipc dump978-fa[2162]: SoapySDR: 1 recent input overruns (sample data dropped)

.
3.3 - 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 2019-06-16 00:14:24 UTC; 27min ago
     Docs: https://flightaware.com/adsb/piaware/
 Main PID: 1333 (piaware)
    Tasks: 6 (limit: 4915)
   CGroup: /system.slice/piaware.service
           |-1333 /usr/bin/piaware -p /run/piaware/piaware.pid -plainlog -statusfile /run/piaware/status.json
           |-2239 /usr/lib/piaware/helpers/faup1090 --net-bo-ipaddr localhost --net-bo-port 30005 --stdout --lat 43.xxx --lon -79.xxx
           |-2245 /usr/lib/piaware/helpers/faup978 --connect localhost:30978
           `-2267 /usr/lib/piaware/helpers/fa-mlat-client --input-connect localhost:30005 --input-type dump1090 --results beast,connect,lo

Jun 16 00:31:49 orangepipc piaware[1333]: mlat-client(2267): Receiver status: connected
Jun 16 00:31:49 orangepipc piaware[1333]: mlat-client(2267): Server status:   synchronized with 92 nearby receivers
Jun 16 00:31:49 orangepipc piaware[1333]: mlat-client(2267): Receiver:   84.9 msg/s received       33.7 msg/s processed (40%)
Jun 16 00:31:49 orangepipc piaware[1333]: mlat-client(2267): Server:      0.1 kB/s from server    0.0kB/s TCP to server     0.3kB/s UDP to
Jun 16 00:31:49 orangepipc piaware[1333]: mlat-client(2267): Results:  46.9 positions/minute
Jun 16 00:31:49 orangepipc piaware[1333]: mlat-client(2267): Aircraft: 12 of 25 Mode S, 12 of 18 ADS-B used
Jun 16 00:34:59 orangepipc piaware[1333]: 3457 msgs recv'd from dump1090-fa (755 in last 5m); 3243 msgs sent to FlightAware
Jun 16 00:34:59 orangepipc piaware[1333]: 0 msgs recv'd from dump978-fa (0 in last 5m); 0 msgs sent to FlightAware
Jun 16 00:39:59 orangepipc piaware[1333]: 4274 msgs recv'd from dump1090-fa (817 in last 5m); 4060 msgs sent to FlightAware
Jun 16 00:39:59 orangepipc piaware[1333]: 0 msgs recv'd from dump978-fa (0 in last 5m); 0 msgs sent to FlightAware

.
3.4 - skyview978

pi@orangepipc:~$ sudo systemctl status skyview978 

* skyview978.service - skyview978 ADS-B UAT web display
   Loaded: loaded (/lib/systemd/system/skyview978.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2019-06-16 06:33:26 UTC; 2min 10s ago
     Docs: https://flightaware.com/adsb/piaware/
 Main PID: 1911 (skyview978)
    Tasks: 2 (limit: 4915)
   CGroup: /system.slice/skyview978.service
           `-1911 /usr/bin/skyview978 --connect localhost:30978 --reconnect-interval 30 --history-co

Jun 16 06:33:26 orangepipc systemd[1]: Started skyview978 ADS-B UAT web display.
Jun 16 06:33:26 orangepipc skyview978[1911]: Connecting to localhost:30978
Jun 16 06:33:26 orangepipc skyview978[1911]: Connected to [::1]:30978

This is the correct thing to do if you have rtlsdr hardware, but it’s not a missing dependency; dump978 itself only needs some soapysdr driver installed, it doesn’t have to be rtlsdr. The sdcard image has a dependency on the soapysdr rtlsdr package elsewhere (in piaware-release)

1 Like

Package information for dump978-fa

Recommends: skyview978, soapysdr-module-rtlsdr

This normally acts almost like a dependency, so the module should automatically get installed.

Installation of ver 3.7.1 of piaware, dump1090-fa and dump978-fa on OrangePiPC/Armbian BUSTER

Failed

wget http://flightaware.com/adsb/piaware/files/packages/pool/piaware/p/piaware-support/piaware-repository_3.7.1_all.deb
sudo dpkg -i piaware-repository_3.7.1_all.deb
sudo apt-get update

sudo apt-get install piaware
.......
.......
The following packages have unmet dependencies:
 piaware : Depends: libboost-filesystem1.62.0 but it is not installable
           Depends: libboost-program-options1.62.0 but it is not installable
           Depends: libboost-regex1.62.0 but it is not installable
           Depends: libboost-system1.62.0 but it is not installable

Workaround

sudo wget -O ~/libboost-system1.62.0_1.62.0+dfsg-4_armhf.deb http://ftp.us.debian.org/debian/pool/main/b/boost1.62/libboost-system1.62.0_1.62.0+dfsg-4_armhf.deb
sudo wget -O ~/libboost-filesystem1.62.0_1.62.0+dfsg-4_armhf.deb http://ftp.us.debian.org/debian/pool/main/b/boost1.62/libboost-filesystem1.62.0_1.62.0+dfsg-4_armhf.deb
sudo wget -O ~/libboost-program-options1.62.0_1.62.0+dfsg-10+b1_armhf.deb http://ftp.us.debian.org/debian/pool/main/b/boost1.62/libboost-program-options1.62.0_1.62.0+dfsg-10+b1_armhf.deb
sudo wget -O ~/libicu57_57.1-6+deb9u3_armhf.deb http://ftp.us.debian.org/debian/pool/main/i/icu/libicu57_57.1-6+deb9u3_armhf.deb 
sudo wget -O ~/libboost-regex1.62.0_1.62.0+dfsg-4_armhf.deb http://ftp.us.debian.org/debian/pool/main/b/boost1.62/libboost-regex1.62.0_1.62.0+dfsg-4_armhf.deb


sudo dpkg -i libboost-system1.62.0_1.62.0+dfsg-4_armhf.deb
sudo dpkg -i libboost-filesystem1.62.0_1.62.0+dfsg-4_armhf.deb
sudo dpkg -i libboost-program-options1.62.0_1.62.0+dfsg-10+b1_armhf.deb
sudo dpkg -i libicu57_57.1-6+deb9u3_armhf.deb
sudo dpkg -i libboost-regex1.62.0_1.62.0+dfsg-4_armhf.deb

sudo apt-get install piaware
sudo apt-get install dump1090-fa

.

sudo apt-get install dump978-fa
..........
The following packages have unmet dependencies:
 dump978-fa : Depends: libsoapysdr0.5-2 but it is not installable
E: Unable to correct problems, you have held broken packages.
sudo wget -O ~/libsoapysdr0.5-2_0.5.4-1_armhf.deb http://ftp.us.debian.org/debian/pool/main/s/soapysdr/libsoapysdr0.5-2_0.5.4-1_armhf.deb 
sudo dpkg -i libsoapysdr0.5-2_0.5.4-1_armhf.deb
sudo apt-get install dump978-fa

.

CONFIGURE

sudo piaware-config allow-auto-updates yes
sudo piaware-config allow-manual-updates yes
sudo piaware-config feeder-id xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

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:

Piaware OK
dump1090-fa OK
dump978-fa FAILED

.

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 Sat 2019-09-14 23:34:12 UTC; 1min 23s ago
     Docs: https://flightaware.com/adsb/piaware/
 Main PID: 1034 (piaware)
    Tasks: 4 (limit: 2072)
   Memory: 16.6M
   CGroup: /system.slice/piaware.service
           |-1034 /usr/bin/piaware -p /run/piaware/piaware.pid -plainlog -statusfile /run/piaware/status.json
           |-1220 /usr/lib/piaware/helpers/fa-mlat-client --input-connect localhost:30005 --input-type dump1090 --results beast,connect
           `-1223 /usr/lib/piaware/helpers/faup1090 --net-bo-ipaddr localhost --net-bo-port 30005 --stdout --lat 43.xxx --lon -79.xxx

Sep 14 23:34:16 orangepipc piaware[1034]: piaware received a message from dump1090-fa!
Sep 14 23:34:17 orangepipc piaware[1034]: mlat-client(1220): Beast-format results connection with ::1:30104: connection established
Sep 14 23:34:17 orangepipc piaware[1034]: piaware has successfully sent several msgs to FlightAware!
Sep 14 23:34:18 orangepipc piaware[1034]: mlat-client(1220): Accepted Beast-format results connection from ::ffff:192.168.0.10:53956
Sep 14 23:34:47 orangepipc piaware[1034]: 139 msgs recv'd from dump1090-fa; 139 msgs sent to FlightAware
Sep 14 23:34:47 orangepipc piaware[1034]: 0 msgs recv'd from dump978; 0 msgs sent to FlightAware
Sep 14 23:35:16 orangepipc sudo[1244]:  piaware : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/netstat --program --tcp --wide --all -
Sep 14 23:35:16 orangepipc sudo[1244]: pam_unix(sudo:session): session opened for user root by (uid=0)
Sep 14 23:35:16 orangepipc sudo[1244]: pam_unix(sudo:session): session closed for user root
Sep 14 23:35:16 orangepipc piaware[1034]: no ADS-B data program seen listening on port 30978 for 63 seconds, next check in 60s

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 Sat 2019-09-14 23:34:06 UTC; 2min 27s ago
     Docs: https://flightaware.com/adsb/piaware/
 Main PID: 768 (dump1090-fa)
    Tasks: 3 (limit: 2072)
   Memory: 6.8M
   CGroup: /system.slice/dump1090-fa.service
           `-768 /usr/bin/dump1090-fa --device-index 00001090 --gain -10 --ppm 0 --net-bo-port 30005 --max-range 360 --net --net-heartb

Sep 14 23:34:06 orangepipc systemd[1]: Started dump1090 ADS-B receiver (FlightAware customization).
Sep 14 23:34:07 orangepipc dump1090-fa[768]: Sat Sep 14 23:34:07 2019 UTC  dump1090-fa 3.7.1 starting up.
Sep 14 23:34:07 orangepipc dump1090-fa[768]: rtlsdr: using device #1: Generic RTL2832U (Realtek, RTL2832U, SN 00001090)
Sep 14 23:34:07 orangepipc dump1090-fa[768]: Detached kernel driver
Sep 14 23:34:07 orangepipc dump1090-fa[768]: Found Rafael Micro R820T tuner
Sep 14 23:34:07 orangepipc dump1090-fa[768]: rtlsdr: enabling tuner AGC
Sep 14 23:34:08 orangepipc dump1090-fa[768]: Allocating 4 zero-copy buffers
Sep 14 23:34:08 orangepipc dump1090-fa[768]: Detected Kernel usbfs mmap() bug, falling back to buffers in userspace

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: activating (auto-restart) (Result: exit-code) since Sat 2019-09-14 23:37:08 UTC; 16s ago
     Docs: https://flightaware.com/adsb/piaware/
  Process: 1257 ExecStart=/usr/share/dump978-fa/start-dump978-fa (code=exited, status=2)
 Main PID: 1257 (code=exited, status=2)

You’re installing a binary package on an entirely different distribution, what did you expect?

I mean, it’s great that you’re experimenting, but you’re trying stuff that’s entirely expected to fail. Build it from source if you need to run on a different distribution that has different versions of the dependencies.

1 Like

A note: On my Orange Pi One I have installed Armbian Stretch and the binary packages worked fine.
I reverted back to my Pi3 since then…

Same here. On my Orange Pi PC with Armbian Stretch, package install from FA repository works OK. It is Buster which is causing failure by this method.

1 Like

I expected 50% chance of success, 50% chance of failure. The results are not unexpected. :slightly_smiling_face:

.

That is what I am going to do now. Since package install from FA repository is easier, I tried it first.

I had the same problem.
First I had a RasPi2B+ running CUPS and PiHole.
Then I Installed the ADSB-Feeders - this worked, but became lame.
So I bought a Banana Pi M1 (http://www.banana-pi.org/m1.html) and installed ArmBian Buster.
The Installations worked fine till I tried to Install the ADSB-Feeders.
This didn’t work.
Finallly I have re-activated the RasPi for the Feeders, it was simpler than to search the small differences between RaspBian and ArmBian.

2 Likes

OrangePiPC / Armbian Buster

Another tricky way to install ver 3.7.1 packages from Flightaware Repository

UPDATED: Sept 16, 2019 12:55 pm EDT

.

Change apt source from Buster to Stretch and then install piaware, skyview978, and dump978-fa
After installing piaware & dump978-fa, revert apt source to Buster and then install dump1090-fa

RESULTS:

Item Installation
Status
Operating
Status
Remarks
Piaware OK OK -
dump1090-fa OK OK warning “Detected Kernel usbfs mmap() bug,
falling back to buffers in userspace”
dump978-fa OK OK warning “Detected Kernel usbfs mmap() bug,
falling back to buffers in userspac”
skyview978 OK OK -

.

STEP-BY-STEP METHOD

STEP-1: Install piaware skyview978, & dump978-fa

Requires apt-source to be changed from Buster to Stretch

## Change default apt source from Buster to Stretch

pi@orangepipc:~$ sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
pi@orangepipc:~$ sudo sed -i 's/buster/stretch/g' /etc/apt/sources.list
pi@orangepipc:~$ sudo apt-get update
## 1.1 - Install piaware 
pi@orangepipc:~$ wget http://flightaware.com/adsb/piaware/files/packages/pool/piaware/p/piaware-support/piaware-repository_3.7.1_all.deb
pi@orangepipc:~$ sudo dpkg -i piaware-repository_3.7.1_all.deb
pi@orangepipc:~$ sudo apt-get update
pi@orangepipc:~$ sudo apt-get install piaware
..... ......
Created symlink /etc/systemd/system/piaware.service.wants/generate-pirehose-cert.service -> /lib/systemd/system/generate-pirehose-cert.service.
Processing triggers for rsyslog (8.1901.0-1) ...
Processing triggers for systemd (241-5) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for libc-bin (2.28-10) ...

## 1.2 - Install skyview978 & dump978-fa

pi@orangepipc:~$ sudo apt-get install skyview978 soapysdr-module-rtlsdr soapysdr0.5-2-module-all
.... ....
0 upgraded, 49 newly installed, 0 to remove and 21 not upgraded.
Need to get 6174 kB/8226 kB of archives.
After this operation, 30.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
....  ....

pi@orangepipc:~$ sudo apt-get install dump978-fa
.... ....
The following NEW packages will be installed:
  dump978-fa
.... ....
Setting up dump978-fa (3.7.1) ...
The user `dump978' is already a member of `plugdev'.
Created symlink /etc/systemd/system/default.target.wants/dump978-fa.service -> /lib/systemd/system/dump978-fa.service.

.

STEP-2: dump1090-fa

Install fails with apt-source Stretch.
Revert apt source to Buster

## Revert apt source from Stretch back to Buster
pi@orangepipc:~$ sudo cp /etc/apt/sources.list_backup /etc/apt/sources.list
pi@orangepipc:~$ sudo apt-get update


## Install dump1090-fa
pi@orangepipc:~$ sudo apt-get install dump1090-fa
.... ....
.... ....
Setting up dump1090-fa (3.7.1) ...
Adding user `dump1090' to group `plugdev' ...
Adding user dump1090 to group plugdev
Done.
Enabling lighttpd integration..
Enabling dump1090-fa: ok
Run "service lighttpd force-reload" to enable changes
Enabling lighttpd integration (stat cache)..
Enabling dump1090-fa-statcache: ok
Run "service lighttpd force-reload" to enable changes
Restarting lighttpd..
Created symlink /etc/systemd/system/default.target.wants/dump1090-fa.service -> /lib/systemd/system/dump1090-fa.service.
Processing triggers for systemd (241-5) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for libc-bin (2.28-10) ...


.

STEP-3: Configure

sudo piaware-config allow-auto-updates yes
sudo piaware-config allow-manual-updates yes
sudo piaware-config feeder-id xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

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

pi@orangepipc:~$ sudo reboot

.

.
.

Status: 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 Mon 2019-09-16 16:24:55 UTC; 25min ago
     Docs: https://flightaware.com/adsb/piaware/
 Main PID: 4054 (piaware)
    Tasks: 6 (limit: 2072)
   Memory: 11.9M
   CGroup: /system.slice/piaware.service
           |-4054 /usr/bin/piaware -p /run/piaware/piaware.pid -plainlog -statusfile /run/piaware/status.json
           |-4067 /usr/lib/piaware/helpers/fa-mlat-client --input-connect localhost:30005 --input-type dump1090 --results beast,connect,localhost:30104
           |-4070 /usr/lib/piaware/helpers/faup1090 --net-bo-ipaddr localhost --net-bo-port 30005 --stdout --lat 43.xxx --lon -79.xxx
           `-4903 /usr/lib/piaware/helpers/faup978 --connect localhost:30978

Sep 16 16:39:58 orangepipc piaware[4054]: mlat-client(4067): Receiver status: connected
Sep 16 16:39:58 orangepipc piaware[4054]: mlat-client(4067): Server status:   synchronized with 114 nearby receivers
Sep 16 16:39:58 orangepipc piaware[4054]: mlat-client(4067): Receiver:  179.6 msg/s received       73.4 msg/s processed (41%)
Sep 16 16:39:58 orangepipc piaware[4054]: mlat-client(4067): Server:      0.1 kB/s from server    0.0kB/s TCP to server     0.5kB/s UDP to server
Sep 16 16:39:58 orangepipc piaware[4054]: mlat-client(4067): Results:  63.7 positions/minute
Sep 16 16:39:58 orangepipc piaware[4054]: mlat-client(4067): Aircraft: 26 of 49 Mode S, 24 of 41 ADS-B used
Sep 16 16:40:30 orangepipc piaware[4054]: 5274 msgs recv'd from dump1090-fa (1576 in last 5m); 5274 msgs sent to FlightAware
Sep 16 16:40:30 orangepipc piaware[4054]: 0 msgs recv'd from dump978-fa (0 in last 5m); 0 msgs sent to FlightAware
Sep 16 16:45:30 orangepipc piaware[4054]: 6491 msgs recv'd from dump1090-fa (1217 in last 5m); 6491 msgs sent to FlightAware
Sep 16 16:45:30 orangepipc piaware[4054]: 0 msgs recv'd from dump978-fa (0 in last 5m); 0 msgs sent to FlightAware

.

Status: 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 Mon 2019-09-16 16:15:35 UTC; 36min ago
     Docs: https://flightaware.com/adsb/piaware/
 Main PID: 768 (dump1090-fa)
    Tasks: 3 (limit: 2072)
   Memory: 12.3M
   CGroup: /system.slice/dump1090-fa.service
           `-768 /usr/bin/dump1090-fa --device-index 00001090 --gain -10 --ppm 0 --net-bo-port 30005 --max-range 360 --net --net-heartbeat 60 --net-ro-

Sep 16 16:15:35 orangepipc systemd[1]: Started dump1090 ADS-B receiver (FlightAware customization).
Sep 16 16:15:35 orangepipc dump1090-fa[768]: Mon Sep 16 16:15:35 2019 UTC  dump1090-fa 3.7.1 starting up.
Sep 16 16:15:36 orangepipc dump1090-fa[768]: rtlsdr: using device #1: Generic RTL2832U (Realtek, RTL2832U, SN 00001090)
Sep 16 16:15:36 orangepipc dump1090-fa[768]: Detached kernel driver
Sep 16 16:15:36 orangepipc dump1090-fa[768]: Found Rafael Micro R820T tuner
Sep 16 16:15:36 orangepipc dump1090-fa[768]: rtlsdr: enabling tuner AGC
Sep 16 16:15:36 orangepipc dump1090-fa[768]: Allocating 4 zero-copy buffers
Sep 16 16:15:36 orangepipc dump1090-fa[768]: Detected Kernel usbfs mmap() bug, falling back to buffers in userspace

.

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 Mon 2019-09-16 16:30:19 UTC; 22min ago
     Docs: https://flightaware.com/adsb/piaware/
 Main PID: 4876 (dump978-fa)
    Tasks: 4 (limit: 2072)
   Memory: 4.3M
   CGroup: /system.slice/dump978-fa.service
           `-4876 /usr/bin/dump978-fa --sdr driver=rtlsdr,serial=00000978 --format CS8 --raw-port 30978 --json-port 30979

Sep 16 16:30:20 orangepipc dump978-fa[4876]: Detached kernel driver
Sep 16 16:30:20 orangepipc dump978-fa[4876]: Found Rafael Micro R820T tuner
Sep 16 16:30:20 orangepipc dump978-fa[4876]: Exact sample rate is: 2083333.135571 Hz
Sep 16 16:30:20 orangepipc dump978-fa[4876]: [R82XX] PLL not locked!
Sep 16 16:30:20 orangepipc dump978-fa[4876]: SoapySDR: using maximum manual gain 49.6 dB
Sep 16 16:30:20 orangepipc dump978-fa[4876]: SoapySDR: using stream setting buffsize=262144
Sep 16 16:30:20 orangepipc dump978-fa[4876]: Allocating 15 zero-copy buffers
Sep 16 16:30:20 orangepipc dump978-fa[4876]: Detected Kernel usbfs mmap() bug, falling back to buffers in userspace
Sep 16 16:30:48 orangepipc dump978-fa[4876]: [::]:30978: accepted a connection from [::1]:36078
Sep 16 16:30:49 orangepipc dump978-fa[4876]: [::]:30978: accepted a connection from [::1]:36080

.
.

Station 76000:

1090Mhz: OrangePiPC + ProStick Plus + FA Filter + FA Antenna (indoor in a window)
978 MHz: OrangePiPC + Generic DVB-T with it’s mag-mount whip antenna in window

At a glance you didn’t install any soapysdr driver modules.

I think it was installed. Please see this.

I have slipped out test microSD card and now regular microSD card (Armbian Stretch) is in the Orange Pi. Will tomorrow morning check if it was actually installed

apt-cache policy libsoapysdr0.5-2

That’s the soapysdr base library, not a driver. You need at least one driver, e.g. the rtlsdr module. There is a Recommends: dependency in the dump978 package:

Recommends: skyaware978, soapysdr-module-rtlsdr

Thanks for guidance. I am away from OrangePi, so will install missing module tomorrow after slipping-in the test microSD card.

sudo apt-get install soapysdr-module-rtlsdr

Realized that I have missed the recommended packages for dump978.
Purged skyview978 & dump978-fa, then did following, and now all is working OK.
Updated my post accordingly.

@orangepipc:~$ sudo apt-get install dump978-fa
.... ....
The following additional packages will be installed:
  libsoapysdr0.5-2
Recommended packages:
  skyview978 soapysdr-module-rtlsdr soapysdr0.5-2-module-all | soapysdr0.5-2-module
The following NEW packages will be installed:
  dump978-fa libsoapysdr0.5-2

Do you want to continue? [Y/n] n
Abort.

pi@orangepipc:~$ sudo apt-get install skyview978 soapysdr-module-rtlsdr soapysdr0.5-2-module-all
.... ....
The following additional packages will be installed:
  libairspy0 libasyncns0 libboost-atomic1.62.0 libboost-chrono1.62.0 libboost-date-time1.62.0
  libboost-serialization1.62.0 libboost-test1.62.0 libboost-thread1.62.0 libboost-timer1.62.0 libflac8 libhackrf0
  libhamlib2 libice6 libjack-jackd2-0 liblimesuite16.12-1 libogg0 libopus0 libpulse0 librtaudio5a libsm6 libsndfile1
  libsoapysdr0.5-2 libuhd003 libusb-0.1-4 libvorbis0a libvorbisenc2 libx11-6 libx11-data libx11-xcb1 libxau6 libxcb1
  libxdmcp6 libxext6 libxi6 libxtst6 multiarch-support soapysdr0.5-2-module-airspy soapysdr0.5-2-module-audio
  soapysdr0.5-2-module-bladerf soapysdr0.5-2-module-hackrf soapysdr0.5-2-module-lms7 soapysdr0.5-2-module-redpitaya
  soapysdr0.5-2-module-remote soapysdr0.5-2-module-rtlsdr soapysdr0.5-2-module-uhd x11-common
Suggested packages:
  jackd2 opus-tools pulseaudio gnuradio
Recommended packages:
  limesuite-udev
The following NEW packages will be installed:
  libairspy0 libasyncns0 libboost-atomic1.62.0 libboost-chrono1.62.0 libboost-date-time1.62.0
  libboost-serialization1.62.0 libboost-test1.62.0 libboost-thread1.62.0 libboost-timer1.62.0 libflac8 libhackrf0
  libhamlib2 libice6 libjack-jackd2-0 liblimesuite16.12-1 libogg0 libopus0 libpulse0 librtaudio5a libsm6 libsndfile1
  libsoapysdr0.5-2 libuhd003 libusb-0.1-4 libvorbis0a libvorbisenc2 libx11-6 libx11-data libx11-xcb1 libxau6 libxcb1
  libxdmcp6 libxext6 libxi6 libxtst6 multiarch-support skyview978 soapysdr-module-rtlsdr soapysdr0.5-2-module-airspy
  soapysdr0.5-2-module-all soapysdr0.5-2-module-audio soapysdr0.5-2-module-bladerf soapysdr0.5-2-module-hackrf
  soapysdr0.5-2-module-lms7 soapysdr0.5-2-module-redpitaya soapysdr0.5-2-module-remote soapysdr0.5-2-module-rtlsdr
  soapysdr0.5-2-module-uhd x11-common
0 upgraded, 49 newly installed, 0 to remove and 21 not upgraded.
Need to get 6174 kB/8226 kB of archives.
After this operation, 30.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
.... ....
.... ....
Processing triggers for systemd (241-5) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for libc-bin (2.28-10) ...

.
.

pi@orangepipc:~$ sudo apt-get install dump978-fa 
.... .... 
The following NEW packages will be installed:
  dump978-fa
.... ....
Unpacking dump978-fa (3.7.1) ...
Setting up dump978-fa (3.7.1) ...
The user `dump978' is already a member of `plugdev'.
Created symlink /etc/systemd/system/default.target.wants/dump978-fa.service -> /lib/systemd/system/dump978-fa.service.

Ver 3.7.2

Installation of piaware, dump1090-fa & dump978-fa pre-built packages on OrangePiPC / Armbian Buster

pi@orangepipc:~$ uname -a
Linux orangepipc 4.19.59-sunxi #5.91 SMP Mon Jul 15 14:09:32 CEST 2019 armv7l GNU/Linux

pi@orangepipc:~$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"

.
.

1 - Prepare repository

wget http://flightaware.com/adsb/piaware/files/packages/pool/piaware/p/piaware-support/piaware-repository_3.7.2_all.deb 
sudo dpkg -i piaware-repository_3.7.2_all.deb 
sudo apt-get update 

.

2 - Install dump1090-fa

sudo apt-get install dump1090-fa 
sudo reboot 

.

3 - Change apt source from default Buster to Stretch

Installation of piaware & dump978-fa fails with default apt-source Buster
Requires apt-source to be changed to Stretch

sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup 
sudo sed -i 's/buster/stretch/g' /etc/apt/sources.list 
sudo apt-get update 

.

4 - Install piaware

sudo apt-get install piaware 

.

5 - Install dump978-fa & skyaware978 (Optional, for USA only)

## 5.1 - Install required dependencies
sudo apt-get install skyaware978 soapysdr-module-rtlsdr soapysdr0.5-2-module-all 

## 5.2 - Install dump978-fa
sudo apt-get install dump978-fa 

.

6 - Restore apt source to Buster

sudo cp /etc/apt/sources.list_backup /etc/apt/sources.list
sudo apt-get update

.

7 - Configure

sudo piaware-config allow-auto-updates yes  
sudo piaware-config allow-manual-updates yes  
sudo piaware-config feeder-id xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx  

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 

.

8 - Check Status 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 Sat 2019-09-21 21:45:31 EDT; 42s ago
     Docs: https://flightaware.com/adsb/piaware/
 Main PID: 1322 (piaware)
    Tasks: 6 (limit: 2072)
   Memory: 11.4M
   CGroup: /system.slice/piaware.service
           |-1322 /usr/bin/piaware -p /run/piaware/piaware.pid -plainlog -statusfile /run/piaware/status.json
           |-1334 /usr/lib/piaware/helpers/fa-mlat-client --input-connect localhost:30005 --input-type dump1090 --results beast,connect,lo
           |-1337 /usr/lib/piaware/helpers/faup1090 --net-bo-ipaddr localhost --net-bo-port 30005 --stdout --lat 43.xxx --lon -79.xxx
           `-1340 /usr/lib/piaware/helpers/faup978 --connect localhost:30978

Sep 21 21:45:35 orangepipc piaware[1322]: mlat-client(1334): Input connected to localhost:30005
Sep 21 21:45:35 orangepipc piaware[1322]: mlat-client(1334): Input format changed to BEAST, 12MHz clock
Sep 21 21:45:35 orangepipc piaware[1322]: faup978(1340): Connecting to localhost:30978
Sep 21 21:45:35 orangepipc piaware[1322]: faup978(1340): Connected to [::1]:30978
Sep 21 21:45:35 orangepipc piaware[1322]: piaware received a message from dump1090-fa!
Sep 21 21:45:35 orangepipc piaware[1322]: mlat-client(1334): Beast-format results connection with ::1:30104: connection established
Sep 21 21:45:36 orangepipc piaware[1322]: mlat-client(1334): Accepted Beast-format results connection from ::ffff:192.168.0.10:62474
Sep 21 21:45:36 orangepipc piaware[1322]: piaware has successfully sent several msgs to FlightAware!
Sep 21 21:46:06 orangepipc piaware[1322]: 113 msgs recv'd from dump1090-fa; 113 msgs sent to FlightAware
Sep 21 21:46:06 orangepipc piaware[1322]: 0 msgs recv'd from dump978-fa; 0 msgs sent to FlightAware

.

9 - Check Status 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 Sat 2019-09-21 21:42:47 EDT; 5min ago
     Docs: https://flightaware.com/adsb/piaware/
 Main PID: 1286 (dump1090-fa)
    Tasks: 3 (limit: 2072)
   Memory: 6.0M
   CGroup: /system.slice/dump1090-fa.service
           `-1286 /usr/bin/dump1090-fa --device-index 00001090 --gain -10 --ppm 0 --net-bo-port 30005 --max-range 360 --net --net-heartbea

Sep 21 21:42:47 orangepipc systemd[1]: Started dump1090 ADS-B receiver (FlightAware customization).
Sep 21 21:42:47 orangepipc dump1090-fa[1286]: Sat Sep 21 21:42:47 2019 EDT  dump1090-fa 3.7.2 starting up.
Sep 21 21:42:47 orangepipc dump1090-fa[1286]: rtlsdr: using device #0: Generic RTL2832U (Realtek, RTL2832U, SN 00001090)
Sep 21 21:42:47 orangepipc dump1090-fa[1286]: Detached kernel driver
Sep 21 21:42:47 orangepipc dump1090-fa[1286]: Found Rafael Micro R820T tuner
Sep 21 21:42:47 orangepipc dump1090-fa[1286]: rtlsdr: enabling tuner AGC
Sep 21 21:42:48 orangepipc dump1090-fa[1286]: Allocating 4 zero-copy buffers
Sep 21 21:42:48 orangepipc dump1090-fa[1286]: Detected Kernel usbfs mmap() bug, falling back to buffers in userspace

.

10 - Check 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 Sat 2019-09-21 21:41:32 EDT; 7min ago
     Docs: https://flightaware.com/adsb/piaware/
 Main PID: 762 (dump978-fa)
    Tasks: 4 (limit: 2072)
   Memory: 17.1M
   CGroup: /system.slice/dump978-fa.service
           `-762 /usr/bin/dump978-fa --sdr driver=rtlsdr,serial=00000978 --format CS8 --raw-port 30978 --json-port 30979

Sep 21 21:41:35 orangepipc dump978-fa[762]: SoapySDR: using maximum manual gain 49.6 dB
Sep 21 21:41:35 orangepipc dump978-fa[762]: SoapySDR: using stream setting buffsize=262144
Sep 21 21:41:35 orangepipc dump978-fa[762]: Allocating 15 zero-copy buffers
Sep 21 21:41:35 orangepipc dump978-fa[762]: [::]:30978: accepted a connection from [::1]:46240
Sep 21 21:41:35 orangepipc dump978-fa[762]: Detected Kernel usbfs mmap() bug, falling back to buffers in userspace
Sep 21 21:41:42 orangepipc dump978-fa[762]: [::]:30978: accepted a connection from [::1]:46244
Sep 21 21:42:47 orangepipc dump978-fa[762]: [::1]:46240: connection closed
Sep 21 21:42:47 orangepipc dump978-fa[762]: [::]:30978: accepted a connection from [::1]:46246
Sep 21 21:45:30 orangepipc dump978-fa[762]: [::1]:46244: connection closed
Sep 21 21:45:35 orangepipc dump978-fa[762]: [::]:30978: accepted a connection from [::1]:46258