Closed satmandu closed 5 years ago
Are you talking about this error?
got 'couldn't open socket: connection refused'
It's because there is no dump978 existing/running in this snap. At this moment, I'm still thinking about including dump978 is good or not. According to this article and what I've read, it seems dump978 (UAT 978MHz) only working in US. For other countries, UAT is not used.
Thanks for the clarification.
But I think there is another problem, since while I am seeing traffic in the web map, I am not seeing any traffic being uploaded to flightaware or fr24.
Maybe the output above says that too?
Oh, sorry, I didn't notice that your fr24feed-status also said:
Receiver: down
Let's collect more information and see if there's any clue.
# to restart services
$ snap restart adsb-box.piaware
$ snap restart adsb-box.fr24feed
# wait a few minutes
$ snap logs adsb-box.piaware -n all $ snap logs adsb-box.fr24feed -n all
Logs: PiAware: https://paste.ubuntu.com/p/c4Vr4wspRb/ FR24: https://paste.ubuntu.com/p/3Z3qnPP8gZ/
Thanks for the logs.
receiver="beast-tcp"
(ModeS Beast (TCP)) and host="localhost:30005"
. You can check /var/snap/adsb-box/current/fr24feed/fr24feed.ini
or http://your_feeder_ip:8754/settings.html
(this is provided by fr24feed).
[reader][e]Could not connect to avr-tcp://127.0.0.1:30002
FYI when trying to run sudo adsb-box.fr24feedcli --reconfigure
I get stuck at this step:
Step 6B - Please enter desired logfile path (/var/log/fr24feed):
$:/var/log/fr24feed
Path /var/log/fr24feed is not accessible, please enter correct log path!
(Nothing entered here seems to work - and it doesn't seem to be ok with $SNAP variables.)
Otherwise I'm all set!
The map is created from DUMP1090 and Flightradar24 is connecting to DUMP1090 to forward the data, so the FR24 config have to be correct to connect them.
This solved it for me:
First run this to update locate
sudo updatedb
Check if you have a fr24feed.ini file
locate fr24feed.ini
The default location is /etc/fr24feed.ini
If it don't exist you have to create it.
This is my content for fr24feed.ini to make it work with DUMP1090
receiver="avr-tcp"
host="localhost:30002"
bs="no"
raw="no"
logmode="2"
windowmode="0"
mlat="yes"
mlat-without-gps="yes"
This is on a ubuntu arm64 box.