How to Install and Configure Piaware 5.0 SD card image - Quickstart Guide

KC1IUC,
You are absolutely correct with the powered hub. I have a 7 port Startech.com hub and I tried it and it appears I get more message rates

1 Like

My reception on 1090 is horrible running both dongles on a Pi3b+. Like a fraction of the normal number of aircraft tracked. Unplug the 978 and it goes back to normal. Only thing that would seem to make sense is a lack of power to run both of them at full power. I have a powered hub on the way from Amazon so i should know if it is a power problem this weekend.

3 Likes

Yep, exactly same problem I had.
This is my rigged setup for Work where I cannot install anything on the roof, but its literally a half mile directly in line with the runway at a local airport so it picks up a lot. Antennas are touching the double pane glass, an inch away the signal drops to 50%. Anker box is used to keep it stable up against the glass…

Two Anker PowerLine MicroUSB cables, 6ft, going from the Pi and the Hub to a dual 2.4amp (4.8amp total) Anker USB adapter with intelligent voltage outpout. Works very well. WIthout this, same issue as you with horrible reception.

Are those the NooElec antennas?

Paperclips at quarter wavelength typically work better, those antennas are not tuned for their advertised frequencies but for other frequencies.

For 978 MHz you would need a wire with a length of 77 mm or 3.03 in

For 1090 MHz you would need a wire with a length of 69 mm or 2.71 in

Those are the lengths of wire that should stick out of the connector you put the wire into.
For example you could plug wire directly into the SMA connector of the dongle.

I just sent same NooElec antennas back. Exactly for the reason that paper clips had better performance!
NooElec makes good stuff, but antennas are crap. What is the model of this powered USB hub from Anker?
Also I ordered aluminium case for Pi. Plan to experiment with it as well as with ferrite cores. Ferrites from ebay are super cheap, recommend to everyone.

1 Like

Due to release of image v 3.7.1 today, I have

  • Updated version in title of this thread from 3.7.0.1 to 3.7.1
  • In the first post, striked-out the link for downloading beta version 3.7.0.1, and added link to download ver 3.7.1
2 Likes

Yes they are! Ooof. I’ll have to give it a try and see if it works better. I have some old WiFi SMA antennas I may tear apart and repurpose… They have enough length in them I may be able to do a half wavelength on. 137.52mm or 5.414in for 1090mhz.

1 Like

AK-A7518113 for the Hub “Anker 4-Port USB 3.0 Ultra-Slim Portable Data Hub with 12W Power Adapter for MacBook, Mac Pro/Mini, iMac, XPS, Surface Pro, Notebook PCs and More”

AK-A2023111 for the Two-Port Charger, “Anker Elite USB Charger, Dual Port 24W Wall Charger, PowerPort 2 with PowerIQ and Foldable Plug, for iPhone XS/XS Max/XR/X/8/7/6/Plus, iPad Pro/Air 2/mini 3/mini 4, Samsung S4/S5, and More”

A8133011 for the 6ft Micro-USB cable. “Anker Powerline Micro USB - Charging Cable, with Aramid Fiber and 5000+ Bend Lifespan for Samsung, Nexus, LG, Motorola, Android Smartphones and More (Gray, 6ft)”

1 Like

Ah, I looked on that hub but it was not clear if it is powered, and reviews weren’t great. I ordered a different one, not from Anker.

Will the config ‘control panel’ work for a ‘Upgrade and restart Piaware’
or… do I just re-write the sd card ? … with modify for UAT per the first post ?

Edit: the Upgrade and restart Piaware worked for 3.7.0 to 3.7.1 , location and range rings are as good.

How you get to 3.7.1 doesn’t matter.

You’ll have to configure it after the update if you want UAT.

I’ve followed these directions and it appears that my 978 mhz isn’t working. Please read the log below and provide some help to fix it. My 1090 feed is working fine and uploading to FlightAware. Both receivers are plugged in the same Pi.

pi@raspberrypi:~ $ sudo journalctl -eu dump978-fa
May 10 23:54:09 raspberrypi dump978-fa[445]: [::]:30978: accepted a connection f
May 10 23:54:14 raspberrypi dump978-fa[445]: Sample source reports error: TIMEOU
May 10 23:54:14 raspberrypi dump978-fa[445]: Abnormal exit
May 10 23:54:14 raspberrypi systemd[1]: dump978-fa.service: Main process exited,
May 10 23:54:14 raspberrypi systemd[1]: dump978-fa.service: Unit entered failed
May 10 23:54:14 raspberrypi systemd[1]: dump978-fa.service: Failed with result ’
May 10 23:54:55 raspberrypi systemd[1]: dump978-fa.service: Service hold-off tim
May 10 23:54:55 raspberrypi systemd[1]: Stopped dump978 ADS-B UAT receiver.
May 10 23:54:55 raspberrypi systemd[1]: Started dump978 ADS-B UAT receiver.
May 10 23:54:55 raspberrypi dump978-fa[688]: raw-port: listening for connections
May 10 23:54:55 raspberrypi dump978-fa[688]: raw-port: listening for connections
May 10 23:54:55 raspberrypi dump978-fa[688]: json-port: listening for connection
May 10 23:54:55 raspberrypi dump978-fa[688]: json-port: listening for connection
May 10 23:54:56 raspberrypi dump978-fa[688]: linux; GNU C++ version 6.2.0 201610
May 10 23:54:56 raspberrypi dump978-fa[688]: usb_claim_interface error -6
May 10 23:54:56 raspberrypi dump978-fa[688]: Found Rafael Micro R820T tuner
May 10 23:54:56 raspberrypi dump978-fa[688]: usb_claim_interface error -6
May 10 23:54:56 raspberrypi dump978-fa[688]: SoapySDR: using maximum manual gain
May 10 23:54:56 raspberrypi dump978-fa[688]: SoapySDR: using stream setting buff
May 10 23:55:02 raspberrypi dump978-fa[688]: Sample source reports error: TIMEOU
May 10 23:55:02 raspberrypi systemd[1]: dump978-fa.service: Main process exited,
May 10 23:55:02 raspberrypi systemd[1]: dump978-fa.service: Unit entered failed
May 10 23:55:02 raspberrypi systemd[1]: dump978-fa.service: Failed with result ’
lines 13-35/35 (END)
May 10 23:54:09 raspberrypi dump978-fa[445]: [::]:30978: accepted a connection from [::1]:42454
May 10 23:54:14 raspberrypi dump978-fa[445]: Sample source reports error: TIMEOUT
May 10 23:54:14 raspberrypi dump978-fa[445]: Abnormal exit
May 10 23:54:14 raspberrypi systemd[1]: dump978-fa.service: Main process exited, code=exited, status=1/FAILURE
May 10 23:54:14 raspberrypi systemd[1]: dump978-fa.service: Unit entered failed state.
May 10 23:54:14 raspberrypi systemd[1]: dump978-fa.service: Failed with result ‘exit-code’.
May 10 23:54:55 raspberrypi systemd[1]: dump978-fa.service: Service hold-off time over, scheduling restart.
May 10 23:54:55 raspberrypi systemd[1]: Stopped dump978 ADS-B UAT receiver.
May 10 23:54:55 raspberrypi systemd[1]: Started dump978 ADS-B UAT receiver.
May 10 23:54:55 raspberrypi dump978-fa[688]: raw-port: listening for connections on 0.0.0.0:30978
May 10 23:54:55 raspberrypi dump978-fa[688]: raw-port: listening for connections on [::]:30978
May 10 23:54:55 raspberrypi dump978-fa[688]: json-port: listening for connections on 0.0.0.0:30979
May 10 23:54:55 raspberrypi dump978-fa[688]: json-port: listening for connections on [::]:30979
May 10 23:54:56 raspberrypi dump978-fa[688]: linux; GNU C++ version 6.2.0 20161010; Boost_106100; UHD_003.009.005-0-unknown
May 10 23:54:56 raspberrypi dump978-fa[688]: usb_claim_interface error -6
May 10 23:54:56 raspberrypi dump978-fa[688]: Found Rafael Micro R820T tuner
May 10 23:54:56 raspberrypi dump978-fa[688]: usb_claim_interface error -6
May 10 23:54:56 raspberrypi dump978-fa[688]: SoapySDR: using maximum manual gain 49.6 dB
May 10 23:54:56 raspberrypi dump978-fa[688]: SoapySDR: using stream setting buffsize=262144
May 10 23:55:02 raspberrypi dump978-fa[688]: Sample source reports error: TIMEOUT
May 10 23:55:02 raspberrypi systemd[1]: dump978-fa.service: Main process exited, code=exited, status=1/FAILURE
May 10 23:55:02 raspberrypi systemd[1]: dump978-fa.service: Unit entered failed state.
May 10 23:55:02 raspberrypi systemd[1]: dump978-fa.service: Failed with result ‘exit-code’.

Here’s another status log.
pi@raspberrypi:~ $ sudo journalctl -eu piaware
May 10 23:54:17 raspberrypi sudo[622]: piaware : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/netstat --program --tcp --wide --all --numeric
May 10 23:54:17 raspberrypi sudo[622]: pam_unix(sudo:session): session opened for user root by (uid=0)
May 10 23:54:17 raspberrypi sudo[622]: pam_unix(sudo:session): session closed for user root
May 10 23:54:17 raspberrypi piaware[453]: Starting multilateration client: /usr/lib/piaware/helpers/fa-mlat-client --input-connect localhost:30005 --input-type dump1090 --results beast,connect,localhost:30104 --results beast,listen,30105
May 10 23:54:30 raspberrypi piaware[453]: piaware received a message from dump1090-fa!
May 10 23:54:30 raspberrypi piaware[453]: mlat-client(632): fa-mlat-client 0.2.10 starting up
May 10 23:54:30 raspberrypi piaware[453]: mlat-client(632): Using UDP transport to 70.42.6.254 port 9044
May 10 23:54:30 raspberrypi piaware[453]: mlat-client(632): Listening for Beast-format results connection on port 30105
May 10 23:54:30 raspberrypi piaware[453]: mlat-client(632): Listening for Extended Basestation-format results connection on port 30106
May 10 23:54:31 raspberrypi piaware[453]: mlat-client(632): Input connected to localhost:30005
May 10 23:54:31 raspberrypi piaware[453]: mlat-client(632): Input format changed to BEAST, 12MHz clock
May 10 23:54:31 raspberrypi piaware[453]: mlat-client(632): Beast-format results connection with ::1:30104: connection established
May 10 23:54:47 raspberrypi piaware[453]: 3 msgs recv’d from dump1090-fa; 3 msgs sent to FlightAware
May 10 23:54:47 raspberrypi piaware[453]: 0 msgs recv’d from dump978; 0 msgs sent to FlightAware
May 10 23:55:17 raspberrypi sudo[710]: piaware : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/netstat --program --tcp --wide --all --numeric
May 10 23:55:17 raspberrypi sudo[710]: pam_unix(sudo:session): session opened for user root by (uid=0)
May 10 23:55:17 raspberrypi sudo[710]: pam_unix(sudo:session): session closed for user root
May 10 23:55:17 raspberrypi piaware[453]: no ADS-B data program seen listening on port 30978 for 66 seconds, next check in 60s
May 10 23:55:18 raspberrypi piaware[453]: piaware has successfully sent several msgs to FlightAware!
May 10 23:56:17 raspberrypi sudo[753]: piaware : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/netstat --program --tcp --wide --all --numeric
May 10 23:56:17 raspberrypi sudo[753]: pam_unix(sudo:session): session opened for user root by (uid=0)
May 10 23:56:17 raspberrypi sudo[753]: pam_unix(sudo:session): session closed for user root
May 10 23:56:18 raspberrypi piaware[453]: no ADS-B data program seen listening on port 30978 for 127 seconds, next check in 60s
May 10 23:57:18 raspberrypi sudo[776]: piaware : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/netstat --program --tcp --wide --all --numeric
May 10 23:57:18 raspberrypi sudo[776]: pam_unix(sudo:session): session opened for user root by (uid=0)
May 10 23:57:18 raspberrypi sudo[776]: pam_unix(sudo:session): session closed for user root
May 10 23:57:18 raspberrypi piaware[453]: no ADS-B data program seen listening on port 30978 for 187 seconds, next check in 60s
May 10 23:58:18 raspberrypi sudo[813]: piaware : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/netstat --program --tcp --wide --all --numeric
May 10 23:58:18 raspberrypi sudo[813]: pam_unix(sudo:session): session opened for user root by (uid=0)
May 10 23:58:18 raspberrypi sudo[813]: pam_unix(sudo:session): session closed for user root
May 10 23:58:18 raspberrypi piaware[453]: no ADS-B data program seen listening on port 30978 for 247 seconds, next check in 60s
May 10 23:59:18 raspberrypi sudo[849]: piaware : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/netstat --program --tcp --wide --all --numeric
May 10 23:59:18 raspberrypi sudo[849]: pam_unix(sudo:session): session opened for user root by (uid=0)
May 10 23:59:18 raspberrypi sudo[849]: pam_unix(sudo:session): session closed for user root
May 10 23:59:19 raspberrypi piaware[453]: ADS-B data program ‘dump978-fa’ is listening on port 30978, so far so good
May 10 23:59:19 raspberrypi piaware[453]: Starting faup978: /usr/lib/piaware/helpers/faup978 --connect localhost:30978
May 10 23:59:19 raspberrypi piaware[453]: Started faup978 (pid 858) to connect to dump978-fa
May 10 23:59:19 raspberrypi piaware[453]: faup978(858): Connecting to localhost:30978
May 10 23:59:19 raspberrypi piaware[453]: faup978(858): connection to [::1]:30978 failed: Connection refused
May 10 23:59:19 raspberrypi piaware[453]: faup978(858): connection to 127.0.0.1:30978 failed: Connection refused
May 10 23:59:19 raspberrypi piaware[453]: faup978(858): Connection failed: Connection refused
May 10 23:59:19 raspberrypi piaware[453]: lost connection to dump978-fa via faup978
May 10 23:59:19 raspberrypi piaware[453]: faup978 exited normally
May 10 23:59:19 raspberrypi piaware[453]: will reconnect to dump978-fa in 30 seconds
May 10 23:59:47 raspberrypi piaware[453]: 48 msgs recv’d from dump1090-fa (45 in last 5m); 48 msgs sent to FlightAware
May 10 23:59:47 raspberrypi piaware[453]: 0 msgs recv’d from dump978-fa (0 in last 5m); 0 msgs sent to FlightAware
May 10 23:59:49 raspberrypi sudo[866]: piaware : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/netstat --program --tcp --wide --all --numeric
May 10 23:59:49 raspberrypi sudo[866]: pam_unix(sudo:session): session opened for user root by (uid=0)
May 10 23:59:49 raspberrypi sudo[866]: pam_unix(sudo:session): session closed for user root
May 10 23:59:49 raspberrypi piaware[453]: ADS-B data program ‘dump978-fa’ is listening on port 30978, so far so good
May 10 23:59:49 raspberrypi piaware[453]: Starting faup978: /usr/lib/piaware/helpers/faup978 --connect localhost:30978
May 10 23:59:50 raspberrypi piaware[453]: Started faup978 (pid 874) to connect to dump978-fa
May 10 23:59:50 raspberrypi piaware[453]: faup978(874): Connecting to localhost:30978
May 10 23:59:50 raspberrypi piaware[453]: faup978(874): Connected to [::1]:30978
May 10 23:59:56 raspberrypi piaware[453]: faup978(874): Connection failed: End of file
May 10 23:59:56 raspberrypi piaware[453]: lost connection to dump978-fa via faup978
May 10 23:59:56 raspberrypi piaware[453]: faup978 exited normally
May 10 23:59:56 raspberrypi piaware[453]: will reconnect to dump978-fa in 30 seconds
May 11 00:00:26 raspberrypi sudo[907]: piaware : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/netstat --program --tcp --wide --all --numeric
May 11 00:00:26 raspberrypi sudo[907]: pam_unix(sudo:session): session opened for user root by (uid=0)
May 11 00:00:26 raspberrypi sudo[907]: pam_unix(sudo:session): session closed for user root
May 11 00:00:26 raspberrypi piaware[453]: no ADS-B data program seen listening on port 30978 for 30 seconds, next check in 60s

You are in the Piaware sd card image thread yet are using the the package addon.

For those packages the configuration is not via piaware but in these two files:
/etc/default/dump1090-fa
/etc/default/dump978-fa

That’s where you need to put the serial numbers.

Here is a thread with a bit more detail:
Dump978 Add-On Installation Procedures? - #56 by courso

Obviously you don’t need to compile the packages becase you can now just install them with apt.

I updated my feeder using the web interface and I notice my Skyview shows “3.7.1~bpo8+1”.

What’s all that stuff after the version number?

Sd-card image based on Jessie.

Needs rewrite of the image to upgrade to Stretch.

The version is backported to an older Linux os version

Great answer, thanks. I will rebuild that feeder at some point with Stretch.

I know 978 UAT is rare, but after 3 days I have not seen a single aircraft (central east coast Florida), is it that rare that going days without seeing one is normal? I’m starting to think I may have a problem.

pi@piaware:~ $ 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-05-27 19:17:09 UTC; 3min 0s ago
Docs: PiAware - ADS-B and MLAT Receiver - FlightAware
Main PID: 486 (dump978-fa)
CGroup: /system.slice/dump978-fa.service
└─486 /usr/bin/dump978-fa --sdr driver=rtlsdr,serial=00000978 --raw-port 30978 --json-port 30979

May 27 19:17:14 piaware dump978-fa[486]: usb_claim_interface error -6
May 27 19:17:14 piaware dump978-fa[486]: Found Rafael Micro R820T tuner
May 27 19:17:14 piaware dump978-fa[486]: Found Rafael Micro R820T tuner
May 27 19:17:14 piaware dump978-fa[486]: Exact sample rate is: 2083333.135571 Hz
May 27 19:17:15 piaware dump978-fa[486]: [R82XX] PLL not locked!
May 27 19:17:15 piaware dump978-fa[486]: SoapySDR: using maximum manual gain 49.6 dB
May 27 19:17:15 piaware dump978-fa[486]: SoapySDR: using stream setting buffsize=262144
May 27 19:17:15 piaware dump978-fa[486]: [::]:30978: accepted a connection from [::1]:54532
May 27 19:17:15 piaware dump978-fa[486]: [::]:30978: accepted a connection from [::1]:54550
May 27 19:17:26 piaware dump978-fa[486]: 0.0.0.0:30978: accepted a connection from 172.16.29.130:55862

That does not look right. Maybe dump1090-fa is taking up the particular dongle.