Automated Installation of Dump1090-Mutability, Data Feeders, and Performance Graphs

Discussion in 'ADS-B Software' started by ab cd, Oct 30, 2016.

  1. ab cd

    ab cd Senior Member

    To find the latest PFClient version number while in SSH console of RPI:

    #Download planefinder's pfclient download page, and save it as file pfc
    ~$ sudo wget -O pfc "https://planefinder.net/sharing/client"

    #Read from saved file pfc, the line containing word armhf.deb
    ~$ grep 'armhf.deb' pfc

    #Above command will give following output which contains current version of pfclient for RPi
    <a href="http://client.planefinder.net/pfclient_3.7.1_armhf.deb" class="download-link generic">


    #After noting the version number, remove Plane Finder page saved as file pfc
    ~$ sudo rm pfc
     
    Last edited: May 14, 2017
  2. ab cd

    ab cd Senior Member

    #If in above method, instead of command,
    ~$ grep 'armhf.deb' pfc

    #following command is used,
    ~$ grep 'armhf.deb' pfc | grep -o -P '(?<=pfclient_).*(?=_armhf.deb)'

    #it will give only version number like below
    3.7.1
     
  3. ab cd

    ab cd Senior Member

    Currently, the installation of dump1090-fa, Planefinder data feeder "pfclient" and "mlatclient" for adsbexchange fails.

    This is because JP's scripts are not updated for sometime. As a result the version numbers in the script are outdated.

    To update version numbers, edit file variables.sh and change version numbers of following software as shown in red, which are latest version numbers:
    1) PIAWARE
    2) PFCLIENT
    3) MLATCLIENT


    Code:
    ~$ sudo nano adsb-receiver/bash/variables.sh
    #!/bin/bash
    ###########################
    #
    # # # # # # # # # # # # # # # # # # # #
    ## SOFTWARE VERSIONS
    # The ADS-B Receiver Project
    PROJECTVERSION="2.5.0"

    # FlightAware PiAware
    PIAWAREVERSION="3.5.0"

    # PlaneFinder ADS-B Client
    PFCLIENTVERSIONARM="3.7.20"
    PFCLIENTVERSIONI386="3.7.20"

    # Flightradar24 Linux Debian package
    FR24CLIENTVERSIONI386="1.0.18-5"

    # mlat-client
    MLATCLIENTVERSION="0.2.9"
    MLATCLIENTTAG="v0.2.9"

    # PhantomJS
    PHANTOMJSVERSION="2.1.1"



    After changing version numbers and Saving the file variables.sh, run the install script.

    Code:
    cd ~/adsb-receiver
    ./install.sh
    

     
    Last edited: Jul 7, 2017

Share This Page