[WORKING] Feeding FA and ADSBx with FA Piaware 3.6.3 (keyboard & screen)

Discussion in 'Feeding' started by James, Oct 10, 2018.

  1. martinyuri

    martinyuri New Member

    Hello, I followed the steps but I see that my feeder information does not appear, this message appears:
    Captura.JPG
     
  2. MDA

    MDA Administrator Staff Member

    Spaces after ":".
    Should be
    Code:
    socat -u TCP:localhost:30005 TCP:feed.adsbexchange.com:51138
     
  3. James

    James Guest

    well ... I'm not sure why you are running the socat command in terminal ...

    Just use the script installer and be done.
     
  4. Eric C

    Eric C New Member

    Hi again all!

    Just ran the update from the beginning of this thread and everything worked as written. The only issue I'm having right now is the https://www.adsbexchange.com/"myip". It just says Oops! That page can't be found. Everything else appears to be working just fine. Thoughts?
     
  5. MDA

    MDA Administrator Staff Member

  6. Eric C

    Eric C New Member

    Well silly me....I was actually putting my IP address at the end there....LOL

    lines out output: 13

    Data incoming from: 68.37.208.138
    Route: beast_front Port: 30005
    Backend: beast_back
    Connected: merge-9-3
    Age: 49m41s


    Data incoming from: 68.37.208.138
    Route: beast_front Port: 30005
    Backend: beast_back
    Connected: cons-1-51055
    Age: 3m4s

    So I guess that means I'm feeding now and hopefully contributing.....
     
  7. MDA

    MDA Administrator Staff Member

    socat feed works, mlat client not connected
     
  8. Eric C

    Eric C New Member

    can you dumb that down for me just a bit and how I can correct it? I'm looking at some of the feeder sites and now seeing an icon pop up for me so I must not have something working right?
     
  9. MDA

    MDA Administrator Staff Member

    There are 2 parts of feed: socat script (forwarding all traffic in beast format to port 30005) and mlat client which sends data to port 31090. Mlat client very often needs time to connect to server.
    To check status:
    Code:
    sudo service mlat-client status
     
  10. Eric C

    Eric C New Member

    [email protected]:~ $ sudo service mlat-client status
    ● mlat-client.service - LSB: Multilateration client
    Loaded: loaded (/etc/init.d/mlat-client; generated; vendor preset: enabled)
    Active: active (exited) since Fri 2019-06-28 11:56:44 UTC; 24min ago
    Docs: man:systemd-sysv-generator(8)

    Jun 28 11:56:44 piaware systemd[1]: Starting LSB: Multilateration client...
    Jun 28 11:56:44 piaware mlat-client[3465]: Not starting mlat-client daemon, disabled via /etc/default/mlat-client ... (warning).
    Jun 28 11:56:44 piaware systemd[1]: Started LSB: Multilateration client.
     
  11. MDA

    MDA Administrator Staff Member

    It looks that is running, if you are in region 3A (UK) then connection to mlat server can be unstable due to load. You can't fix it, leave it running it will try to reconnect.
     
  12. Eric C

    Eric C New Member

    OK...I'll just let it run and check back in a little while and see if I'm on the feeder pages at all. I'm not in the UK.....I'm in USA(Michigan). Thanks for your help!
     
  13. wiedehopf

    wiedehopf Administrator Staff Member

    Actually that's the service, it's not used by adsb-exchange and just lies dormant (disabled in the config file)

    To check if the processes are running you can use the following:

    pgrep -l adsbexchange

    Anyway if you see both of these:
    adsbexchange-netcat_maint.sh
    adsbexchange-mlat_maint.sh

    Then it's running locally.
    You can also check the parameters of the actual programs being run.

    pgrep -a mlat-client
    pgrep -a socat
     
  14. James

    James Guest

    Well that's FlightAware MLAT.

    ADSBx is runs it's own MLAT client.


    adsbexchange-mlat_maint.sh
     
  15. wiedehopf

    wiedehopf Administrator Staff Member

    No it's not flightaware MLAT, that is now called fa-mlat-client (/usr/lib/piaware/helpers/fa-mlat-client).

    It's just the default mlat-client service installed from the mlat-client installed by adsb-exchange.
    Doesn't hurt anything.
    But as i wrote doesn't tell you if the relevant script is running.
     
  16. Michael Stanway

    Michael Stanway New Member

    Hello All,

    I am currently feeding Flight Aware with my RPi. I have 2 units, one of which I use as a 'portable' setup and adjust the wifi settings to the local system. Obviously, I am not seeing many military squawks other than the larger aircraft out of BZZ which is not far away from me. I ran my portable setup for the week before the Cosford Airshow this year (I am the Flying Display Director or Air Boss there!) but saw little of interest in the area.

    Being close to BZZ means I am also close to RIAT but, disappointingly, saw few fast jet squawks today on your Virtual Radar page as they all departed with many climbing into the 'corridor' so they must have been squawking something sensible? However, I am not here to complain but to ask if, as I already have a working Flight Aware feeder, I can use the instructions at the start of this thread to feed extra data to you or would you suggest a 'clean' install by a different method? Many thanks.
     
  17. MDA

    MDA Administrator Staff Member

    If you are already feeding just add ADSBx feeder to existing setup
    Code:
    udo apt update
    sudo apt install git socat
    git clone https://github.com/adsbxchange/adsb-exchange.git
    cd adsb-exchange
    chmod +x setup.sh
    sudo ./setup.sh
     
  18. Michael Stanway

    Michael Stanway New Member

    Thanks. I'll try that later:)
     
  19. Michael Stanway

    Michael Stanway New Member

    OK, so I've loaded the software as per instructions and it tells me that I should be feeding. However, whilst Flight Aware appears still to be running, and feeding, the log screen on the RPi shows me that I am connecting and disconnecting from adsbexchange after 20secs. Log says:
    "Connected to multilateration server at feed. adsbexchange. com:31090, handshaking"
    Then after 20secs:
    "Lost connection to feeed. adsbexchange. com:31090"
    "Reconnecting in 30.0 seconds"
    ....and so on.

    Any ideas?
     
  20. MDA

    MDA Administrator Staff Member

    Which region?