There are single quotes ' in the configuration file around driver=rtlsdr which need to be removed.
It is mentioned in this thread at least once, i think
Anyway the official build should be easier indeed.
Be sure to remove the configuration file before installing though or i guess you can fix it manually.
modea
April 5, 2019, 12:35pm
145
Yep, thanks. made it past that as well and resolved that issue but just couldnât get a final working config â but ultimately it was 0100 and sleep reminded me âIt will be released tomorrowâ lol. The rpizw can also be a little flaky.
Strange. As itâs not yet released feel free to post the config and/or the relevant log (journalctl -u dump978-fa)
modea
April 5, 2019, 12:41pm
147
I actually wiped the card clean to take a whack at again today so logs are gone and I checked all my buffers - no scrollback logs. If I have time and the official release doesnât drop today maybe get some time with it.
Not only Pi Zero, my âRaspbian on Pi 2Bâ as well as âDebian in VM on PCâ both gave me a good opportunity to take a nap while the packages were being compiled by sudo dpkg-buildpackage -b
1 Like
Downloading official beta image now. Will fire it up before heading into the woods today for a hike.
Cheers!
LitterBug
2 Likes
Downloaded and wrote Piaware SD card image 3.7.0.1 on a spare microSD card, and fired it up
Serialized dongles: (CLICK HERE)
For 1090 Mhz to 00001090
For 978 Mhz to 00000978
(You can use any other serial numbers if you want)
piaware-config feeder-id xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
piaware-config uat-receiver-type sdr
piaware-config rtlsdr-device-index 00001090
piaware-config uat-sdr-device driver=rtlsdr,serial=00000978
sudo reboot
.
``
.
pi@piaware:~ $ 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 Fri 2019-04-05 13:52:20 UTC; 30min ago
Docs: https://flightaware.com/adsb/piaware/
Main PID: 339 (dump1090-fa)
CGroup: /system.slice/dump1090-fa.service
ââ339 /usr/bin/dump1090-fa --net-bo-port 30005 --fix --device-index 00001090 --gain -10 --ppm 0 --max-range 360 --net --net-heartbeat 60
Apr 05 13:52:20 piaware systemd[1]: Started dump1090 ADS-B receiver (FlightAware customization).
Apr 05 13:52:21 piaware dump1090-fa[339]: Fri Apr 5 13:52:21 2019 UTC dump1090-fa 3.7.0.1 starting up.
Apr 05 13:52:21 piaware dump1090-fa[339]: rtlsdr: using device #1: Generic RTL2832U OEM (Realtek, RTL2838UHIDIR, SN 00001090)
Apr 05 13:52:21 piaware dump1090-fa[339]: Detached kernel driver
Apr 05 13:52:22 piaware dump1090-fa[339]: Found Rafael Micro R820T tuner
Apr 05 13:52:22 piaware dump1090-fa[339]: rtlsdr: enabling tuner AGC
.
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 Fri 2019-04-05 13:52:20 UTC; 29min ago
Docs: https://flightaware.com/adsb/piaware/
Main PID: 342 (dump978-fa)
CGroup: /system.slice/dump978-fa.service
ââ342 /usr/bin/dump978-fa --sdr driver=rtlsdr --raw-port 30978 --json-port 30979
Apr 05 13:52:22 piaware dump978-fa[342]: Reattached kernel driver
Apr 05 13:52:22 piaware dump978-fa[342]: usb_claim_interface error -6
Apr 05 13:52:23 piaware dump978-fa[342]: Detached kernel driver
Apr 05 13:52:23 piaware dump978-fa[342]: Found Rafael Micro R820T tuner
Apr 05 13:52:23 piaware dump978-fa[342]: Exact sample rate is: 2083333.135571 Hz
Apr 05 13:52:23 piaware dump978-fa[342]: [R82XX] PLL not locked!
Apr 05 13:52:23 piaware dump978-fa[342]: SoapySDR: using maximum manual gain 49.6 dB
Apr 05 13:52:23 piaware dump978-fa[342]: SoapySDR: INFO: Using format CS8.
Apr 05 13:52:23 piaware dump978-fa[342]: [::]:30978: accepted a connection from [::1]:60598
Apr 05 13:52:25 piaware dump978-fa[342]: [::]:30978: accepted a connection from [::1]:60602
.
pi@piaware:~ $ 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 Fri 2019-04-05 13:52:20 UTC; 32min ago
Docs: https://flightaware.com/adsb/piaware/
Main PID: 348 (piaware)
CGroup: /system.slice/piaware.service
ââ348 /usr/bin/piaware -p /run/piaware/piaware.pid -plainlog -statusfile /run/piaware/status.json
ââ507 /usr/lib/piaware/helpers/faup1090 --net-bo-ipaddr localhost --net-bo-port 30005 --stdout --lat 43.5xx --lon -79.6xx
ââ516 /usr/lib/piaware/helpers/faup978 --connect localhost:30978
ââ917 /usr/lib/piaware/helpers/fa-mlat-client --input-connect localhost:30005 --input-type dump1090 --results beast,connect,localhost:301
Apr 05 14:17:56 piaware piaware[348]: 4360 msgs recv'd from dump1090-fa (1004 in last 5m); 4123 msgs sent to FlightAware
Apr 05 14:17:56 piaware piaware[348]: 0 msgs recv'd from dump978-fa (0 in last 5m); 0 msgs sent to FlightAware
Apr 05 14:22:56 piaware piaware[348]: 5427 msgs recv'd from dump1090-fa (1067 in last 5m); 5190 msgs sent to FlightAware
Apr 05 14:22:56 piaware piaware[348]: 0 msgs recv'd from dump978-fa (0 in last 5m); 0 msgs sent to FlightAware
Apr 05 14:23:47 piaware piaware[348]: mlat-client(917): Receiver status: connected
Apr 05 14:23:47 piaware piaware[348]: mlat-client(917): Server status: synchronized with 132 nearby receivers
Apr 05 14:23:47 piaware piaware[348]: mlat-client(917): Receiver: 159.0 msg/s received 54.7 msg/s processed (34%)
Apr 05 14:23:47 piaware piaware[348]: mlat-client(917): Server: 0.2 kB/s from server 0.0kB/s TCP to server 0.7kB/s UDP to server
Apr 05 14:23:47 piaware piaware[348]: mlat-client(917): Results: 71.5 positions/minute
Apr 05 14:23:47 piaware piaware[348]: mlat-client(917): Aircraft: 15 of 28 Mode S, 25 of 33 ADS-B used
Fired unit up with new image and it came up on 1090 fine on my 978 antenna. Reconfigured for UAT. As luck would have it, itâs overcast, rainy, and not otherwise a good GA day and there is nothing to see right now. LOL.
Cheers!
LitterBug
3 Likes
I solved it by following:
Serialized dongles: (CLICK HERE)
For 1090 Mhz to 00001090
For 978 Mhz to 00000978
(You can use different numbers if you desire. I used above as it is easy to recognize which dongle is for what. Thanks to @wiedehopf and @N456TS for suggestion to use 00001090 & 00000978)
Then gave these commands:
piaware-config uat-receiver-type sdr
piaware-config rtlsdr-device-index 00001090
piaware-config uat-sdr-device driver=rtlsdr,serial=00000978
sudo reboot
Installed 3.7.0
have timing error
piaware received a message from dump1090-fa!
Apr 5 15:47:27 adsb piaware[20514]: multilateration data requested
Apr 5 15:47:27 adsb piaware[20514]: error handling message âclock\t1554479247\ttype\tmlat_enable\tudp_transport\t70.42.6.191 8793 3075530221â from server: canât read â::adsbLocalPortâ: no
such variable, disconnecting and reconnectingâŚ
Apr 5 15:47:27 adsb piaware[20514]: traceback: canât read â::adsbLocalPortâ: no such variable
Apr 5 15:47:27 adsb piaware[20514]: while executing
Apr 5 15:47:27 adsb piaware[20514]: âis_local_receiver $::adsbLocalPortâ
Apr 5 15:47:27 adsb piaware[20514]: (procedure âstart_mlat_clientâ line 15)
Apr 5 15:47:27 adsb piaware[20514]: invoked from within
Apr 5 15:47:27 adsb piaware[20514]: âstart_mlat_clientâ
Apr 5 15:47:27 adsb piaware[20514]: (procedure âenable_mlatâ line 16)
Apr 5 15:47:27 adsb piaware[20514]: invoked from within
Apr 5 15:47:27 adsb piaware[20514]: âenable_mlat $row(udp_transport)â
Apr 5 15:47:27 adsb piaware[20514]: (âmlat_enableâ arm line 3)
Apr 5 15:47:27 adsb piaware[20514]: invoked from within
Apr 5 15:47:27 adsb piaware[20514]: âswitch -exact $row(type) {
Apr 5 15:47:27 adsb piaware[20514]: âmlat_enableâ {
Apr 5 15:47:27 adsb piaware[20514]: if {[info exists row(udp_transport)]} {
Apr 5 15:47:27 adsb piaware[20514]: enable_mlat $row(udp_transport)
Apr 5 15:47:27 adsb piaware[20514]: } else {
Apr 5 15:47:27 adsb piaware[20514]: enable_mlaâŚâ
Apr 5 15:47:27 adsb piaware[20514]: (procedure â::forward_to_mlat_clientâ line 5)
Apr 5 15:47:27 adsb piaware[20514]: invoked from within
Apr 5 15:47:27 adsb piaware[20514]: â{}$mlatCommand row"
Apr 5 15:47:27 adsb piaware[20514]: ("mlat_ â arm line 3)
Apr 5 15:47:27 adsb piaware[20514]: invoked from within
Apr 5 15:47:27 adsb piaware[20514]: "switch -glob $row(type) {
Apr 5 15:47:27 adsb piaware[20514]: âlogin_responseâ {
Apr 5 15:47:27 adsb piaware[20514]: handle_login_response_message row
Apr 5 15:47:27 adsb piaware[20514]: }
Apr 5 15:47:27 adsb piaware[20514]: ânoticeâ {
Apr 5 15:47:27 adsb piaware[20514]: handle_notice_message row
Apr 5 15:47:27 adsb piaware[20514]: }
Apr 5 15:47:27 adsb piaware[20514]: âalivâŚâ
Apr 5 15:47:27 adsb piaware[20514]: (object â::adeptâ method â::fa_adept::AdeptClient::handle_responseâ body line 4)
Weâve fixed this issue on 3.7.0.1. Please use the SD image that was posted this morning in this thread:
An SD card image of PiAware 3.7.0.1 is now available for pre-release testing! See the release notes at the top of this thread for more information.
Thereâs a few important things we should highlight about this release. This is a pre-release version of PiAware. That means it may have bugs, errors or other eccentricities. As such we encourage you NOT to overwrite existing PiAware installations. Use this software at your own risk.
So whatâs new with this version? It now supports tracking aircraftâŚ
2 Likes
Thank you for the assistance
Seems the lat/long fix is also needed for dump978/skyview978, iâve made a pull request.
There is also a compilation error for dump978 when using gcc8, made a pull request for a fix for that as well.
1 Like
I loaded the new image and it comes up but I cannot access the Pi now. It has an IP address that I can ping but it is refusing SSH connections. Am I missing something regarding how to access it?
After writing the .img file to the SD card, put an empty file named âsshâ in the âbootâ partition before mounting it on the pi. That will enable ssh. If you hook up a keboard and montitor, you could do it by doing a âsudo touch /boot/sshâ
Regards,
LitterBug
you put an empty text file named ssh into the boot directory?
1 Like
Yes. And if I remember correctly it should just be SSH. Remove the file extension .txt after saving it.
Pretty sure they included ssh.txt as a valid file to activate ssh to help out Windows users
1 Like