For those who want to start from scratch

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

  1. MDA

    MDA Administrator Staff Member

    If you want to feed ADSB exchange and have no idea how...
    Think about 2 options: Raspbian with desktop or Raspbian w/o desktop.
    Option with: = + you can install TeamViewerHost if installed in remote location. - need more power.
    Option w/o: = + typical install like an image, - remote access needs extra configuration (not only Pi)
    Don't connect your USB stick before all necessary stuff is installed.
    Follow those steps:
    https://forum.flightradar24.com/threads/10232-How-to-Install-dump1090-mutability_1-15-dev-on-RPi
    You can finish at step 7.
    For stretch based image run additional step:
    Code:
    sudo wget -O  /etc/udev/rules.d/rtl-sdr.rules "https://raw.githubusercontent.com/osmocom/rtl-sdr/master/rtl-sdr.rules"
    sudo reboot
    Now plug in USB stick and reboot your machine.
    Install ADSBX MLAT-client:
    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 setup with dump1090-mutability 1.15-dev installed first is FR24, FA upgrade issues free.
    (this is my personal experience without any guarantee).
     
    Last edited: Apr 7, 2018
    Bradley Scott Shaw likes this.
  2. MDA

    MDA Administrator Staff Member

    Well, this is about how to feed ADSBX. All other feeders are managed by their authors (I wrote finish at step7).
    Latest FR24 feeder is affecting some system settings (already described on this forum with solution).
    I'm feeding FR24 too and didn't experience any problems (feeders installed +/- 1 year ago).
    In the weekend I can try to build new setup and check what is the problem.
     
  3. Mil_Hunter

    Mil_Hunter New Member

    Hi - dead keen to support the community by feeding. I have an SBS1eR with good antennae and 200 mile reach to the high stuff/270degree coverage when WX is good. Currently only push data to local PC Win7 and Basestation software. Want to contribute to ADSBX, especially MLAT since other contributors locally are a bit thin on the ground. Now the tricky bit - I have never written code in my life! Have done a bit of rummaging around the forums and so knowledge slowly being gained - thank you all - but think I still need some help to get me started. Regards,
     
  4. MDA

    MDA Administrator Staff Member

    Hi
    To feed try this solution:https://radarspotting.com/forum/index.php?topic=6439.0
    For MLAT:
    Try this https://www.dropbox.com/s/b6fvn3qg1nymewi/MLAT_client_WIN.zip?dl=0
    Unzip to your Windows PC and edit start_mlat_client.bat
    Code:
    REM Example
    mlat-client.exe --lat xx.xxxxx --lon yy.yyyyy --alt zzz --user yourusername --input-host xxx.xxx.xxx.xxx --input-type sbs --input-port 30006 --output-host feed.adsbexchange.com --output-port 31090 --no-udp 
    upload_2018-3-21_11-53-4.png
    Save bat and run it, in cmd window you'll see status.
     
    Last edited: Mar 21, 2018
  5. Mil_Hunter

    Mil_Hunter New Member

    Thanks MDA; I'll give that a try later on today
     
  6. steve gee

    steve gee Member

    Hey @MDA I noticed the command:
    Code:
    git clone https://github.com/adsbexchange/adsb-exchange.git
    refers to a URL that doesn't exist.
     
  7. MDA

    MDA Administrator Staff Member

    Sorry, typo...
    Code:
    git clone https://github.com/adsbxchange/adsb-exchange.git
     
  8. steve gee

    steve gee Member

    I decided to start over with a clean raspbian stretch image today following the instructions at the top. I ran into a problem where I got the following error in /var/log/dump1090-mutability.log:
    Code:
    Found 1 device(s):
    0: unable to read device details
    usb_open error -3
    Please fix the device permissions, e.g. by installing the udev rules file rtl-sdr.rules
    Error opening the RTLSDR device: Permission denied
    
    After some googling I fixed it by adding a udev rule as follows:
    Code:
    sudo wget -O /etc/udev/rules.d/rtl-sdr.rules "https://raw.githubusercontent.com/osmocom/rtl-sdr/master/rtl-sdr.rules"
    sudo reboot now
    
    This was the only thing that caused me problems.
     
    Last edited: Apr 7, 2018
    MDA likes this.
  9. MDA

    MDA Administrator Staff Member