Re-run installer or edit: Code: sudo nano adsb-exchange/adsbexchange-mlat_maint.sh Replace unerlined by proper values, port number should be in range 10002-10005 (play with settings): Code: /usr/bin/mlat-client --input-type dump1090 --input-connect localhost:30005 After saving changes restart mlat-client Code: sudo service mlat-client restart Underline doesn't work in code section, dump1090 and 30005 in example code
Hmmm.... I am sorry, but I really don't know what I am doing now. And I am starting to feel that I should stop before I render my radarscape in a non-working condition There is no directory which is named adsb-exchange as far as I can tell. Where should this directory be located ? When I executed the installer I never got a question about data format or something ?
OK, let's start over . You downloaded mlat-client using: Code: sudo apt-get install git git clone https://github.com/adsbxchange/adsb-exchange.git cd adsb-exchange chmod +x setup.sh sudo ./setup.sh This code creates adsb-exchange folder. After setup file adsbexchange-mlat_maint.sh is created in this folder. Can't you find it?
Nope, but I really don't know where to look for it (and the locate command is not working). Its not in the root
I found it. Its located in the "root" directory, which is not accessible as long as I am not logged in as root. Maybe this has something to do with the case ?
The file is like this: #!/bin/sh while true do sleep 30 /usr/bin/mlat-client --input-type dump1090 --input-connect localhost:30005 $ done What should I edit it to read ?
Is it all in this script? Normally uninstall looks like: Code: sudo rm -rf adsb-exchange Log in as root and try it (without sudo).
Connected with no syncs. I found some more info about configuration. Description: Receiver type: This setting sets the type of receiver that Mode S messages will be read from. . dump1090: dump1090 (MalcolmRobb or mutability fork), or anything else that can generate Beast-format messages with a 12MHz clock. beast: The Mode-S Beast. radarcape_gps: Radarcape with GPS timestamps (preferred). radarcape_12mhz: Radarcape with legacy 12MHz timestamps. sbs: Kinetic Avionics SBS-1/SBS-3 systems. Type: select Choices: dump1090, beast, radarcape_gps, radarcape_12mhz, sbs Default: dump1090 Template: mlat-client/input-hostport Description: Input host: port for Mode S traffic: The multilateration client needs to read Mode S messages from a receiver such as dump1090. Here you can configure the host and port that the receiver is running on. . For dump1090, you need Beast-format output. This is usually available on port 30005. For Radarcapes, use port 10002. For SBS, use port 30006. Type: string Default: localhost:30005 Template: mlat-client/input-type
Hmm, and in plain english, where should I go, and what should I do ? :-D My adsbexchange-mlat_maint.sh looks like this: #!/bin/sh while true do sleep 30 /usr/bin/mlat-client --input-type dump1090 --input-connect localhost:30005 $ done
Script content should look like: Code: #!/bin/sh while true do sleep 30 /usr/bin/mlat-client --input-type radarcape_gps --input-connect localhost:10002 --lat xx.xxxx --lon yy.yyyy --alt zzz --user Surgravvegen_02 --server feed.adsbexchange.com:31090 --no-udp --results basestation,listen,31003 done Enter your coordinates, save and reboot.
This is only step 1. Now we have to find a way to modify adsbexchange-netcat_maint.sh script for Radarcape. But this will need help from James (he has to give you a special port for specific data format).
Ok, the radarcape is now offline due to some hardware change (antenna cable routing etc). So the feed is done with Surgravvegen_01 (RPi) for the next hours (maybe until monday)
What format does radarcape output? Any reason not to feed direct from the Pi using the dump1090 output?
Look here: https://wiki.jetvision.de/wiki/Rada...03_Service_.28TCP.2C_UDP.2C_and_USB-serial.29 Port 30003 is serving something like SBS.