mlat client for pi?

Discussion in 'Feeding' started by antonov124, Jan 31, 2019.

Tags:
  1. antonov124

    antonov124 New Member

    Hi, i switch today from anonymous feed at port 41000 to custom one ;)
    but at the moment ive some questions about mlat..
    i do a git clone at my pi.
    now i see the mlat client at my home/pi directory

    at moment i use the FA 3.6.3 client it has "dump1090-fa" inside


    at your site

    Code:
     /usr/bin/mlat-client -       
    --user yourusername
    
    ive to copy the mlat-client from home/pi to /usr/bin?
    your username is my name from customports?

    antonov124


    edit: i cant copy the complete code here, the forums says: its fordbidden
     
  2. MDA

    MDA Administrator Staff Member

    Run:
    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
    During setup you'll be prompted to enter your coordinates and username.
    Username should be unique, antonov124 should be OK.
     
  3. antonov124

    antonov124 New Member

    Is this script only mlat or booth ?
    Because is use my VRS for feeding to your site
     
  4. MDA

    MDA Administrator Staff Member

    Both, installing mlat and socat feed.
     
  5. antonov124

    antonov124 New Member

    A then I switch of vrs feeding and only use this script ?
     
  6. MDA

    MDA Administrator Staff Member

    when script is running you can stop feeding from VRS. Script is feeding to different port (default 30005, you can request custom port).
     
  7. James

    James Guest

    Exactly what MDA said. If you install the scripts on the Pi, all fields are required. It will install mlat client for ADSBx, socat for sending data to ADSBx, and 2 scripts.

    You can also configure the Pi scripts to send to a custom port if you want. Use 51xxx ports that are open or contact me for a specific port.
     
  8. antonov124

    antonov124 New Member

    ok, i installed the script but it ends with:

    Traceback (most recent call last):
    File "<string>", line 1, in <module>
    IndexError: list index out of range
     
  9. MDA

    MDA Administrator Staff Member

    Known issue...
    Reboot Pi, run htop and check if mlat-client is running.
     
  10. antonov124

    antonov124 New Member

    ok htop shows client ,)

    question: can i see the the adsbx mlat in my VRS? which port ?
     
  11. MDA

    MDA Administrator Staff Member

    You can modify mlat script to see aircraft positions calculated with your station.
    Edit end of line this way:
    Code:
    --results basestation,listen,31003
    Then add receiver in VRS
    upload_2019-1-31_20-33-39.png
    Address should be IP of your Pi.
     
  12. antonov124

    antonov124 New Member

    thx done ;)
     
  13. antonov124

    antonov124 New Member

    but now VRS shows always connecting... ;( ( messages counts up.... )) strange
    htop is showing mlat client correctly with --results basestation,listen,31003 at the end
     
  14. MDA

    MDA Administrator Staff Member

    Have you modified --results or added 2nd parameter?
     
  15. antonov124

    antonov124 New Member

    Ich just added your Code to the end of the line ..
    Wrong ?
     
  16. MDA

    MDA Administrator Staff Member

    Replace
    Code:
    --results beast,connect,localhost:30104
    with
    Code:
    --results basestation,listen,31003
    and everything will work.
     
  17. antonov124

    antonov124 New Member

    thx that works ;)