Custom feed from Pi

Discussion in 'Tutorials' started by MDA, Feb 28, 2018.

  1. MDA

    MDA Administrator Staff Member

    :)
     
    Last edited: May 23, 2018
  2. MDA

    MDA Administrator Staff Member

    Use ADSBx image v1.24c (burn to SD card and edit adsb-config.txt select any free port from 51xxx range
    Edit other options if necessary (WiFi settings etc.)
    upload_2018-3-22_19-28-43.png
    Insert card to your Pi, wait ca 3 minutes, reboot and enjoy.

    You can also add ADSBx feed to your existing setup.
    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
    Select any free custom feed port from 51xxx range during setup.
     
    Last edited: Mar 28, 2018
  3. gcopter1

    gcopter1 Member

    Is there a way to do this remotely via wi-fi?
    I've got a rpi3 running in my network sharing data to others. I've downloaded VNC viewer and PuTTY. I've entered the ip address found using an iOS app called "Fing".
    When using PuTTY and entering the ip address, I get a timed out or connection refused message. Same thing with VNC.
    Would I have to connect an HDMI cable directly to my rpi3 in order to gain access to it and configure it to feed adsbexchange?
     
  4. MDA

    MDA Administrator Staff Member

    What kind of image are you using? (FA, ADSBx or custom installation)
     
  5. gcopter1

    gcopter1 Member

    Flight Aware/Piaware.
     
  6. MDA

    MDA Administrator Staff Member

  7. Andy

    Andy New Member

    Is there any way to edit port and lat/long by ssh into Rpi or is it only done by editing adsb-exchange.txt by pulling the card and editing the text file?
     
  8. MDA

    MDA Administrator Staff Member

    ssh to your Pi, run
    Code:
    cd /boot
    nano adsb-exchange.txt
    Modify, save, reboot.
     
  9. Andy

    Andy New Member

    I’m not finding the adsb-cong.txt file under /boot directory. I installed adsbexchange by script onto piaware image, will the txt file still be there?
     
  10. MDA

    MDA Administrator Staff Member

    No, in your case it is different. Which script do you use? (from How to feed, github Joe Prochazka).
    You can re-run install
    Code:
    cd adsb-exchange
    sudo ./setup.sh
    Or modify scripts with nano.
     
  11. Andy

    Andy New Member

    I re-ran the scripts:

    sudo apt-get install git
    git clone https://github.com/adsbxchange/adsb-exchange.git
    cd adsb-exchange
    chmod +x setup.sh
    sudo ./setup.sh

    I went through setup and changed my port to 51019 but it doesn’t show on the custom global exchange vrs. I verified I’m still feeding FA and my local IP.

    Any ideas?

    Andy
     
  12. MDA

    MDA Administrator Staff Member

    I can see your feed upload_2018-5-23_17-5-18.png
     
  13. Andy

    Andy New Member

    Lol, that’s not my feed. I should have zoomed out to see the world, I was looking at my local state here in the USA. I assumed per the instructions to look through the list for a receiver starting with zCon. I mistakenly assumed that once a receiver is using that port number, the zCon designation would be removed. So basically select a receiver with the first zCon designation, make sure map is zoomed out to see the world and see if that port is populating aircraft on the map. If so, move to the next zCon and repeat until you find a zCon that isn’t showing any aircraft on the map.

    I think I’ve got it working on port 51121 now.
     
  14. MDA

    MDA Administrator Staff Member

    If this is your feed...
    upload_2018-5-23_19-7-58.png
    Then everything works.
     
  15. Andy

    Andy New Member

    Yes that’s my feed. Is there a URL for custom ports to enter into open adsb app to see just my receiver?
     
  16. MDA

    MDA Administrator Staff Member

    I'm afraid not.This is VRS based so you have to select receiver. But it uses cookies so your last choice is saved somewhere on your machine.
     
  17. NigelR

    NigelR Member

    I am struggling setting up a Custom Feed. I have identified what seems to be a vacant ZCons port (51303) but don;t know how to change my feed port to that number. I have tried the various things suggested here but can't find anywhere where it allows me to change the feed port. I am using Dump1090-FA and have already established the RPi feed to ADS-B Exchange.

    Many thanks
     
  18. MDA

    MDA Administrator Staff Member

    How did you install ADSBx mlat-clent?
    As described in "How to feed"?
     
  19. NigelR

    NigelR Member

    Yes, I followed the 'Script Method' as described in 'How to feed'
     
  20. MDA

    MDA Administrator Staff Member

    There are 2 ways:
    Re-run setup and enter requested port number during install (default port is 30005).
    Other way is to modify netcat script:
    Code:
    sudo nano /home/pi/adsb-exchange/adsbexchange-netcat_maint.sh
    Change port number from 30005 to 51303.
    Save (Ctrl+o), exit (Ctrl+x), reboot Pi.
     
    hellgate likes this.