Is there anyway you can run the adbsexchange feeder under Ubuntu on WSL 2 on a Windows 11 machine? I am running the FR24 without any problems on the same machine and now would like to share data to adsbexchange as well. I running from external receiver with beast-tcp on port 30005. BR Toby_Koh_Chang
What else you're running on the same machine is pretty irrelevant to the question you're asking. Not sure if those scripts will install: https://github.com/adsbxchange/adsb-exchange Try installing via the script, if the systemd services can't run but the install works otherwise, you'll have to reliably start those scripts to feed: /usr/local/share/adsbexchange/adsbexchange-feed.sh /usr/local/share/adsbexchange/adsbexchange-mlat.sh You can edit /etc/default/adsbexchange to change the data source and point it to the correct IP. INPUT= in the first line. If it's a radarcape (that include some receiver boxes provided by FA) you'll have to change INPUT_TYPE to INPUT_TYPE="radarcape_gps"
Thanks for your fast reply! Everything went fine with installation, I have the adsbexchange in the correct directory but when issue command "/usr/local/share/adsbexchange/adsbexchange-feed.sh" I get message : "/usr/local/share/adsbexchange/adsbexchange-feed: command not found" No systemd services available.... Any idea ? (I am on root level....)
Looks like you had the .sh from the end of the command missing? Check if it's in the directory: ls /usr/local/share/adsbexchange/
You are right, my mistake, thank you. The file is there but when run I get "line 5: /boot/adsbx-env: No such file or directory" I dont have that file/directory under /boot, I only have adsb-config.txt and it's empty Thanks in advance for your efforts !
remove /boot/adsb-config.txt then ... i'm not sure why you'd have it. it leads the script down a wrong path. Otherwise run the update.sh script on github ... i've made the detection a bit smarter.
Very cloose now, connecting to beast receiver on port 30005and connected to feed1.adsbexchange.com on port 30004 but when do: "writeJsonTo open(): /run/adsbexchange-feed/aircraft.jsonreadsb_tmp (and binCraft) : No such file or directory. Do you think installation is corrupt because I dont have /run/adsbexchamge-feed directory? or is this created by the feeder code?
It should work even with the errors but they are a bit annoying. The direcotry is normally created by the systemd service. I suppose you could just add mkdir -p /run/adsbexchange-feed/ to the start of the script. Or just update again i've added something to create it.
I just did an update, seems the error is gone.... Question: when there are no flights available from the receiver, is there any output from the feeder after the successful connections ??
No the command line will be silent. You can look at (install jq first): jq < /run/adsbexchange-feed/aircraft.json It will be updated regularly. That /run folder can also be used for data and displayed in tar1090. But i have no real interest in making that work for you without systemd. Quite honestly running a Ubuntu VM is gonna give you much more flexibility and with modern processors the performance hit isn't bad. You can have a webinterface / statistics / everything.
Now booth feeder and MLAT are green ! Thanks a lot for all help ! "But i have no real interest in making that work for you without systemd." I can understand that....
If you can make WSL run, you can make Virtualbox work. Give it a try, you'll like the local interface stuff You can configure it to replicate the remote data: https://github.com/wiedehopf/adsb-s...iver-with-another-ip-address-as-a-data-source And then you can add https://github.com/wiedehopf/graphs1090#graphs1090 and the adsbexchange feed scripts without needing to change anything else.