Results 1 to 8 of 8

Thread: Install ADS-B on Kali Linux - dump1090-fa & piaware

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    2020-Aug
    Posts
    15

    Install ADS-B on Kali Linux - dump1090-fa & piaware

    Automated Installation of dump1090-fa & piaware on Kali Linux 2020.2 amd64
    The following bash scripts do following:
    (1) clones source-code from Flightaware's Github site.
    (2) Builds .deb package from the source-code.
    (3) Installs the .deb package built by script.
    (4) Enables the installation in systemd
    (sudo systemctl enable dump1090-fa, and sudo systemctl enable piaware)


    dump1090-fa
    Copy-paste following command in SSH console and press Enter key. The script will install dump1090-fa.
    Code:
    sudo bash -c "$(wget -O - https://raw.githubusercontent.com/abcd567a/piaware-ubuntu20-amd64/master/install-dump1090-fa.sh)"

    piaware
    Copy-paste following command in SSH console and press Enter key. The script will install piaware.
    Code:
    sudo bash -c "$(wget -O - https://raw.githubusercontent.com/abcd567a/piaware-ubuntu20-amd64/master/install-piaware.sh)"


    Information & Guide:

    https://github.com/abcd567a/piaware-...ster/README.md



    .
    .

  2. #2
    Join Date
    2020-Aug
    Posts
    15
    1- Post install configuration of Piaware

    1.1 - Configure Station ID

    Alternative-1: Get a brand new station number & feeder id
    Log-in to your Flightaware account, go to this page and follow instructions to claim a new station
    https://flightaware.com/adsb/piaware/claim 2

    Alternative-2: Configure an Existing Station

    STEP-1: Find existing station?s feeder-id (Unique Identifier)
    Log-in to your Flightaware account, go to ?My ADSB? / stats page
    flightaware.com/adsb/stats/user/
    and look for 32-digit Unique Identifier: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
    Copy Unique Identifier from your ?My ADSB? page.

    STEP-2: Configure station id:

    Code:
    sudo piaware-config feeder-id xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx 
    # Replace xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx by your
    # actual feeder-id (Unique Identifier) 
    sudo systemctl restart piaware
    1.2 - Configure other parameters:
    Code:
    sudo piaware-config allow-manual-updates yes 
    sudo piaware-config allow-auto-updates yes 
    sudo systemctl restart piaware 
    
    ## Check status
    sudo systemctl status piaware

    2 - Install Flightradar24 Feeder
    2.1 - Download and install fr24feed?s deb package for amd64 architecture:
    Code:
     
    wget https://repo-feed.flightradar24.com/linux_x86_64_binaries/fr24feed_1.0.25-3_amd64.deb  
    sudo dpkg -i fr24feed_1.0.25-3_amd64.deb
    2.2 - CONFIGURE
    CASE (a): If you have a sharing key:
    Code:
    sudo nano /etc/fr24feed.ini
    Above command will open a file with following entries
    Code:
     bs=yes
    raw=yes
    mlat="yes"
    mlat-without-gps="yes"
    Add following lines to the file fr24feed.ini (replace xxxxxxxxxxx by your actual sharing key).
    Code:
     receiver="beast-tcp"
    host="127.0.0.1:30005"
    fr24key="xxxxxxxxxxxxxx"
    Save file (Ctrl+o) and close (Ctrl+x)

    Restart fr24feed
    Code:
    sudo systemctl restart fr24feed
    CASE (b): If you do NOT have a sharing key:
    signup using following command and provide your details such as email, latitude, longitude etc
    Code:
    sudo fr24feed --signup 
    sudo systemctl restart fr24feed

    3 - Planefinder feeder

    This method uses i386 deb package, as planefinder?s amd64 package is not available
    3.1 - Prepare x86_64 OS to accept i386 deb package and i386 linux binary
    Code:
    sudo dpkg --add-architecture i386   
    ## Check
    dpkg --print-foreign-architectures    
    
    ## Update apt and download necessary i386 packages
    sudo apt update   
    sudo apt install gcc-8-base:i386 libc6:i386 libgcc1:i386 libidn2-0:i386 libunistring2:i386
    3.2 - Download and install deb package "pfclient_5.0.152_i386.deb"
    Code:
    wget http://client.planefinder.net/pfclient_5.0.152_i386.deb
    
    sudo dpkg -i pfclient_5.0.152_i386.deb    
    
    sudo systemctl status pfclient

    3.3 - In your browser go to page localhost:30053 (or to IP:30053 from another computer)
    If you dont have a sharing key: Add your email and other details
    If you have sharing key, add it & latitude, longitude.
    Last edited by abcd567; 2021-02-21 at 00:52.

  3. #3
    Join Date
    2020-Aug
    Posts
    15
    4 - Install ModeSMixer2 on Kali Linux 2020 amd64


    4.1 - Copy-paste following command and press Enter key.

    Code:
    sudo bash -c "$(wget -O - https://raw.githubusercontent.com/abcd567a/mm2/master/install-mm2-ubuntu20.sh)"
    4.2 - When the script finishes installation, it will display instructions to configure. Follow those instructions

    4.3 - For help and to list all config parameters:
    Code:
    modesmixer2 --help
    4.4 - For detailed Install, Configuration, and Uninstall instructions:
    https://github.com/abcd567a/mm2/blob/master/README.md


    .

    .

  4. #4
    Join Date
    2020-Aug
    Posts
    15
    5 - Install ADS-B Performance Graphs on Kali Linux 2020


    5.1 - Copy padte following command in Terminal/PuTTY and press Enter key:
    Code:
    sudo bash -c "$(wget -q -O - https://raw.githubusercontent.com/wiedehopf/graphs1090/master/install.sh)"

    5.2 - To see graphs in browser, use following address in browser's address bar:

    localhost/graphs1090
    Local-Ip-of-Computer/graphs1090


    5.3 - To update graph data any time, issue following command:
    Code:
    sudo /usr/share/graphs1090/graphs1090.sh 24h














    .

  5. #5
    Join Date
    2020-Aug
    Posts
    15
    Install dump1090-mutability ver 1.15 (EB_VER) on Kali Linux 2020

    IMPORTANT:
    Do NOT install BOTH the dump1090-fa and dump1090-mutability.
    Install only one of these.
    Installing both will cause failure of one or both.



    The package for dump1090-mutability is not available in Kali Linux repositories. However it is available in Debian repositories, and can be installed after adding debian repository to Kali's folder /etc/apt/sources.list.d/

    Code:
    apt policy dump1090-mutability
    
    dump1090-mutability:
      Installed: (none)
      Candidate: (none)
      Version table:


    1 - Add Debian repository

    1.1 - Create a new file debian.list
    Code:
    sudo nano /etc/apt/sources.list.d/debian.list
    1.2 - In this file, copy-paste following two lines:
    Code:
    deb http://deb.debian.org/debian buster main  
    deb-src http://deb.debian.org/debian buster main
    1.3 - Save file (Ctrl+O) and close (Ctrl+x)

    1.4 - Update apt
    Code:
    sudo apt update

    1.5 - Check
    Code:
    apt policy dump1090-mutability
    
    dump1090-mutability:
      Installed: (none)
      Candidate: 1.15~20180310.4a16df3+dfsg-6
      Version table:
         1.15~20180310.4a16df3+dfsg-6 500
            500 http://deb.debian.org/debian buster/main amd64 Packages

    2 - Install dump1090-mutability
    Code:
    sudo apt install dump1090-mutability  
    
    sudo usermod -a -G plugdev dump1090

    3 - Enable lighttpd & dump1090-mutability, and reboot computer
    Code:
    sudo systemctl enable lighttpd  
    
    sudo systemctl enable dump1090-mutability
    
    sudo reboot

    4 - Add Latitude & Longitude. This is required to fill the "Distance" column in map, and show station marker and range rings on the map

    Give following command.
    Accept all default settings by keep on pressing Enter key.
    When asked for your longitude and latitude, type their values and press Enter key.
    Code:
    sudo dpkg-reconfigure dump1090-mutability


    5 - Remove debian sources (which you have added to apt sources in item 1 above)

    Delete the file debian.list (which you have created), and update apt
    Code:
    sudo rm /etc/apt/sources.list.d/debian.list   
    
    sudo apt update

    .
    Last edited by abcd567; 2020-09-16 at 15:28.

  6. #6
    Join Date
    2020-Aug
    Posts
    15
    PLACEHOLDER
    Please scroll up to see the latest post:
    Install dump1090-mutability



    .
    Last edited by abcd567; 2020-09-16 at 20:49.

  7. #7
    Join Date
    2020-Aug
    Posts
    15

    Question

    Update: 05 Oct 2020 - Verson 4.0 of piaware & dump1090-fa released

    ​(A) FRESH INSTALL
    Scripts in first post of this thread have been updated to install ver 4.0 of piaware/dump1090-fa

    (B) Upgrade from version 3.8.1 to 4.0
    If you have previously installed ver 3.8.1 using the bash scripts in the first post of this thread, then:

    1. You already have all the build tool and dependencies (except three new one) already installed.

    2. You already have source-code on your Pi in following folders:

    - dump1090
    - piaware_builder

    To build and install new packages for version 4.0, do this:

    1.1- DUMP1090-FA
    Code:
    sudo apt install libhackrf-dev liblimesuite-dev libbladerf-dev 
    cd dump1090 
    git fetch --all 
    git reset --hard origin/master
    
    sudo dpkg-buildpackage -b --no-sign 
    
    cd ../
    sudo dpkg -i dump1090-fa_4.0_*.deb 
    
    sudo systemctl enable dump1090-fa  
    sudo systemctl restart dump1090-fa
    1.2 - PIAWARE
    Code:
    cd piaware_builder 
    git fetch --all 
    git reset --hard origin/master 
    
    sudo ./sensible-build.sh buster 
    
    cd package-buster  
    sudo dpkg-buildpackage -b --no-sign 
      
    cd ../ 
    sudo dpkg -i piaware_4.0_*.deb
    
    sudo systemctl enable piaware  
    sudo systemctl restart piaware

    .
    Last edited by abcd567; 2020-10-09 at 17:03.

  8. #8
    Join Date
    2020-Aug
    Posts
    15
    Raspberry Pi Model 2, 3, 4
    Installing Piaware and dump1090-fa on Kali Linux 2020.4


    [

    https://www.offensive-security.com/k...ux-arm-images/

    Image used: kali-linux-2020.4-rpi4-nexmon.img


    STEP-1: Prepration

    1.1 - Edit file /etc/apt/sources.list
    Code:
    sudo nano /etc/apt/sources.list
    Remove # from the start of following line
    Code:
    #deb-src http://http.kali.org/kali kali-rolling main contrib non-free
    Update apt
    Code:
    sudo apt-get update


    1.2 - Install the tools required to build packages

    Code:
    sudo apt-get install debhelper pkg-config    
    
    wget http://ftp.us.debian.org/debian/pool/main/d/debhelper/dh-systemd_13.2.1_all.deb    
    
    sudo dpkg -i dh-systemd_13.2.1_all.deb



    STEP-2: Install dump1090-fa
    Copy-paste following command in SSH console and press Enter key. The script will install dump1090-fa.
    Code:
    sudo bash -c "$(wget -O - https://raw.githubusercontent.com/abcd567a/piaware-ubuntu20-amd64/master/install-dump1090-fa.sh)"



    STEP-3: Install Piawaredata feeder
    Copy-paste following command in SSH console and press Enter key. The script will install piaware.
    Code:
    sudo bash -c "$(wget -O - https://raw.githubusercontent.com/abcd567a/piaware-ubuntu20-amd64/master/install-piaware.sh)"


    STEP-4: Install Flightradar24 data feeder
    Copy-paste following command in SSH console and press Enter key. The script will install FR24 feeder
    Code:
    sudo bash -c "$(wget -O - https://repo-feed.flightradar24.com/install_fr24_rpi.sh)"
    When installation completes, you will be asked to enter email and fr24key (if you already have one)
    After that it will start configuration. DO NOT select "1 - DVB-T". Select "4 - ModeSBeast (TCP)"
    CAUTION: If you select receiver DVBT, then FR24 feeder will try to install dump1090-mutability, and this will mess up your installation.



    STEP-5: Install Planefinder data feeder
    Code:
    wget http://client.planefinder.net/pfclient_4.1.1_armhf.deb  
    
    sudo dpkg -i pfclient_4.1.1_armhf.deb
    After installation is complete, open your browser and go to this address to enter your particulars and planefinder share code (if you have one)
    IP-of-PI:30053


    STEP-6: Install Radarbox24 data feeder

    6.1 - Download installation script and edit it

    Code:
    wget http://apt.rb24.com/inst_rbfeeder.sh   
    
    sudo nano inst_rbfeeder.sh
    In the editor, scroll down to following line
    Code:
    VERS=`lsb_release -c | awk -F ':' '{print $2}' | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//'`
    Place a # at start of this line
    Add new line VERS=buster

    The code will become like this:
    Code:
    #VERS=`lsb_release -c | awk -F ':' '{print $2}' | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//'`
    VERS=buster
    6.2 - Run the installation script
    Code:
    sudo bash inst_rbfeeder.sh

    6.3 - After installation is completed, enable and restart rbfeeder
    Code:
    sudo systemctl enable rbfeeder 
    
    sudo systemctl restart rbfeeder
    Attached Images Attached Images
    Last edited by abcd567; 2021-01-12 at 08:36.

Similar Threads

  1. clean install kali linux from ubuntu linux laptop
    By Toyolo in forum Installing Archive
    Replies: 0
    Last Post: 2020-04-21, 23:32
  2. Replies: 11
    Last Post: 2017-09-24, 23:06
  3. Kali Linux 2.0 unable to install linux-headers-3.18.0-kali3-686-pae
    By sla2016 in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2015-12-31, 11:58

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •