I already had a Pi3 which was doing nothing, I also had a silver subscription to FR24 (don't judge me on that fact) Decided to feed them data, worked OK. I thought I could do better, as I like ADSBEx so tried to follow instructions, and to be honest it's a jumbled up mess of out of date links and frustration. I think I have it right now though (how do I know?) .
Well. Tell us more about how your Pi3 is set up Are you using any raspbian OS (Jessie, Stretch or buster) and feeding fr24? or you are using their SD image? And don't worry, I was like you at first, it was a confusing mess for me as well, but after you get it, you will see it's actually easy. And Im terrible with Linux commands hahaha. But feeding adsbx was well worth for me, I never knew the amount of military aircraft passing by above my head and I live far away from any military zone. PS, if you think you are already set up feeding to adsbx, go to this site: www.adsbexchange.com/myip and check if they are getting your data.
It seems I can't reply here in full but the text of my reply is (I think) added. View attachment 1144 Thanks for your reply once again.
I'm sure it's wine-induced frustration. The link takes me back round in circles. Thanks for the reply though.
Are you in the same local network as pi? If pi is remote SSH and run Code: curl -s https://www.adsbexchange.com/myip/ | json_pp --json_opt=canonical,pretty
login as: pi [email protected]'s password: Linux piaware 4.14.62-v7+ #1134 SMP Tue Aug 14 17:10:10 BST 2018 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Fri Aug 9 18:10:47 2019 from 192.168.1.109 SSH is enabled and the default password for the 'pi' user has not been changed. This is a security risk - please type 'passwd' to set a new password. [email protected]:~ $ curl -s https://www.adsbexchange.com/myip/ | json_pp --json_opt=canonical,pretty unexpected end of string while parsing JSON string, at character offset 2 (before "ERR':'No data detect...") at /usr/bin/json_pp line 45.
My guess: you selected DVB-T when installing FR24. If you are not sure if you have done this, please check what receiver-type is set in this output: cat /etc/fr24feed.ini You can also check if /dump1090-fa is displaying the local map properly. If it is, then the above shouldn't be the problem. But in case you did select dvb-t, this creates all sorts of problems. Fixing it is covered by my instructions on how to install dump1090-fa here: https://github.com/wiedehopf/adsb-wiki/wiki/Installing-dump1090-fa You can also use this script to fix up the fr24feed settins: https://github.com/wiedehopf/adsb-wiki/wiki/Automatic-installation-for-dump1090-fa Also you can check these commands to see if the adsbexchange scripts are running: pgrep adsb -a pgrep socat -a
[email protected]:~ $ cd adsb-exchange -bash: cd: adsb-exchange: No such file or directory [email protected]:~ $ [email protected]:~ $ sudo ./setup.sh sudo: ./setup.sh: command not found [email protected]:~ $ cd [email protected]:~ $ cd / [email protected]:/ $ cd adsb-exchange -bash: cd: adsb-exchange: No such file or directory [email protected]:/ $ [email protected]:/ $ sudo ./setup.sh sudo: ./setup.sh: command not found [email protected]:/ $ ls bin build etc lib media opt root sbin sys usr boot dev home lost+found mnt proc run srv tmp var [email protected]:/ $ cd ~ [email protected]:~ $ ls [email protected]:~ $ pd -bash: pd: command not found [email protected]:~ $ pwd /home/pi [email protected]:~ $ cd / [email protected]:/ $ tree -bash: tree: command not found Don't fret, it's me. I'll let you know when I figure it out! I'm a bit rusty with Unix.
you didn't install ADSBx stuff. Start over, line by line Code: sudo apt update sudo apt install git socat git clone https://github.com/adsbxchange/adsb-exchange.git cd adsb-exchange chmod +x setup.sh sudo ./setup.sh
[email protected]:/ $ cat /etc/fr24feed.in cat: /etc/fr24feed.in: No such file or directory [email protected]:/ $ Really, I'll update when I figure it out. Many thanks to all for the help though. PiAware is telling me multilateration: warning local clock source is unstable. I'll figure that out also. Have a good evening. Mike
[email protected]:/ $ sudo apt install git socat Reading package lists... Done Building dependency tree Reading state information... Done git is already the newest version (1:2.11.0-3+deb9u4). socat is already the newest version (1.7.3.1-2+deb9u1). 0 upgraded, 0 newly installed, 0 to remove and 88 not upgraded. [email protected]:/ $ git clone https://github.com/adsbxchange/adsb-exchange.git fatal: could not create work tree dir 'adsb-exchange': Permission denied [email protected]:/ $ cd adsb-exchange -bash: cd: adsb-exchange: No such file or directory [email protected]:/ $ chmod +x setup.sh chmod: cannot access 'setup.sh': No such file or directory [email protected]:/ $ sudo ./setup.sh As said above, It's late (for me), thanks though!
You started the process in the wrong directory Before the git clone, just use this command: cd Then do all that again. It would help if you could copy and paste commands, you seem to be getting a few typos in there which produce problems. Normally after copying with Ctrl-C, you should be able to paste in putty with right click or middle click.
Been using Kitty for years, after Putty. so. [email protected]:~ $ sudo apt update Hit:1 http://repo.feed.flightradar24.com flightradar24 InRelease Hit:2 http://flightaware.com/mirror/raspbian/raspbian stretch InRelease Hit:3 http://flightaware.com/adsb/piaware/files/packages stretch InRelease Hit:4 http://flightaware.com/mirror/raspberrypi/debian stretch InRelease Reading package lists... Done Building dependency tree Reading state information... Done 88 packages can be upgraded. Run 'apt list --upgradable' to see them. [email protected]:~ $ sudo apt install git socat Reading package lists... Done Building dependency tree Reading state information... Done git is already the newest version (1:2.11.0-3+deb9u4). socat is already the newest version (1.7.3.1-2+deb9u1). 0 upgraded, 0 newly installed, 0 to remove and 88 not upgraded. [email protected]:~ $ git clone https://github.com/adsbxchange/adsb-exchange.git Cloning into 'adsb-exchange'... remote: Enumerating objects: 44, done. remote: Counting objects: 100% (44/44), done. remote: Compressing objects: 100% (44/44), done. remote: Total 298 (delta 25), reused 1 (delta 0), pack-reused 254 Receiving objects: 100% (298/298), 61.39 KiB | 0 bytes/s, done. Resolving deltas: 100% (167/167), done. [email protected]:~ $ cd adsb-exchange [email protected]:~/adsb-exchange $ chmod +x setup.sh [email protected]:~/adsb-exchange $ sudo ./setup.sh Looking better now, I assume some editing has gone on above. Appreciate it.!
For MLAT to work you need to configure you location on the FA stats page. Does your local map work at http://192.168.1.22/dump1090-fa (you need to replace the IP)