I'm tiring to install the ADS-B Exchange Setup Scripts on Radarcape so I can send MLAT I followed the steps listed at https://github.com/adsbxchange/adsb-exchange#obtaining-and-using-the-scripts and used curl -L -o /tmp/axfeed.sh https://github.com/adsbxchange/adsb-exchange/raw/master/install.sh sudo bash /tmp/axfeed.sh but I get this error bash: curl: command not found any help would be appreciated
Hi, i've just started feeding ADSBx from my Radarcape device (AirSquitter). It worked fine with the changes to the config file as a radarcape_gps device (Airsquitter). I am using it on a seperate Raspberry getting the data from the Airsquitter and uploading it. With this setup, the service is trying to connect locally to port 30104. This end up in this message every few seconds: Code: Jan 03 19:50:23 Raspi3 adsbexchange-mlat[16342]: Beast-format results connection with :127.0.0.1:1:30104: [Errno 111] Connection refused After commenting out the line in the config, the error is gone and it works as expected. Code: # RESULTS="--results beast,connect,localhost:30104" RESULTS2="--results basestation,listen,31003" RESULTS3="--results beast,listen,30157" RESULTS4="--results beast,connect,localhost:30154" Maybe it's helpful to add it as a note in the description
Thank you for the help not too familiar with Linux is it sudo apt update then curl -L -o /tmp/axfeed.sh https://github.com/adsbxchange/adsb-exchange/raw/master/install.sh sudo bash /tmp/axfeed.sh ?
all these lines are single commands. You need to excecute them one after the other waiting for getting it finished. sudo apt update sudo apt install -y curl these two commands make sure that the latest "curl" version is installed which is required for the next step getting the installer script downloaded to your local device once this is done, continue with these two commands: curl -L -o /tmp/axfeed.sh https://github.com/adsbxchange/adsb-exchange/raw/master/install.sh sudo bash /tmp/axfeed.sh during the setup you will be asked several questions (e.g. your location)
Thanks, Foxhunter and wiedehopf for the help did the sudo apt update and sudo apt install -y curl but when I tried the curl -L -o /tmp/axfeed.sh https://github.com/adsbxchange/adsb-exchange/raw/master/install.sh I get this Error curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it. To learn more about this situation and how to fix it, please visit the web page mentioned above.
You can add --insecure after curl and it will work. The radarcape base system is outdated that's why you're getting such errors.
Oh, sorry, i did not realize that you're trying to install it directly on your Radarcape device Follow wiedehopf, he made the right suggestion.
Thank you for the help I did commends but getting No beast data detected or No MLAT data detected I also did the cat /etc/default/adsbexchange the Ip address is correct for my Radarcape device INPUT="---.---.--.69:30005" change to: INPUT="---.---.--.69:10003" and INPUT_TYPE="dump1090" change to: INPUT_TYPE="radarcape_gps" Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Tue Jan 4 17:49:59 2022 from [email protected]:~$ curl --insecure -L -o /tmp/axfeed.sh https://github.com/adsbxchange/adsb-exchange/raw/master/install.sh % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 143 100 143 0 0 423 0 --:--:-- --:--:-- --:--:-- 423 100 1437 100 1437 0 0 2415 0 --:--:-- --:--:-- --:--:-- 2415 [email protected]:~$ sudo apt install -y curl Reading package lists... Done Building dependency tree Reading state information... Done curl is already the newest version (7.64.0-4+deb10u2). 0 upgraded, 0 newly installed, 0 to remove and 43 not upgraded. [email protected]:~$
The "change to" and the original line shouldn't be in the file .... its an instruction to you. You replace those original lines with the lines they should be changed to. Does that make sense?
I'm not sure why you're showing this, it is only th install of the prerequisite curl and then the download. The log doesn't include the actual install, which is done by loading the script and then running it. In your case the commands are: Code: curl --insecure -L -o /tmp/axfeed.sh https://adsbexchange.com/feed.sh sudo bash /tmp/axfeed.sh
Thanks wiedehopf I was able to install but when I go to https://www.adsbexchange.com/myip/ I still get this No beast data detected from No MLAT data detected from No Feeder connection.
Put the log of the installation on pastebin, link it here. Also put the configuration file on pastebin, link it here. Aren't you installing on the Radarcape? Would be 127.0.0.1:10003 then. There is also the possibility that you changed / deactivated those ports i suppose .. htere are some options for that. Use this command, put the output on pastebin: sudo journalctl -u adsbexchange-feed | tail -n30
Acessing this page requires that the device you are using for check is in the same network. I made the mistake recently where i have it successfully installed on a Raspberry, but my Laptop was connected using a VPN. Therefore the IP adress mask is completely different and the pages shows exactly that After i disabled the VPN temporary, the connection was reported successful. This has no impact to the feeding. You could also go there and check if your feeder is listed: Sync Stats - ADSBExchange (adsbx.org)
Thank you wiedehopf and foxhunter for all the help I did check and I'm not using VPN, I have tried the sudo journalctl -u adsbexchange-feed | tail -n30 but get this output -- Logs begin at Mon 2022-01-10 03:22:06 UTC, end at Mon 2022-01-10 03:25:52 UTC . -- -- No entries -- Yes like to install it on Radarcape Here is the Patebin for the output of cat /etc/default/adsbexchange https://pastebin.com/3v1iL4yB
Did you reboot your Radarcape? The device stores logs in RAM, so it might be deleted. What's the output of the command Code: sudo systemctl status adsbexchange-feed
Yeah it seems it's not properly installed. I'll need to see the output from the install script. Run these commands and place the output on pastebin please. Code: curl --insecure -L -o /tmp/axupdate.sh https://adsbexchange.com/feed-update.sh sudo bash /tmp/axupdate.sh
As wiedehopf stated, it doesn't seem to be installed properly on the selected device. To be sure: The commands above have to be excecuted on the device where you have the ADSB Exchange client installed via script method
Yes I'm running the commands on the Radarcape here are the 2 two Pastebin links Pastebin 1 https://pastebin.com/wEjRE2Rv Pastebin 2 https://pastebin.com/Z388q9YV Thanks for the help