Skip to content

Instantly share code, notes, and snippets.

@kanchudeep
Last active June 5, 2022 02:47
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save kanchudeep/2068aa149b1f787f8f77d7b785de304a to your computer and use it in GitHub Desktop.
Save kanchudeep/2068aa149b1f787f8f77d7b785de304a to your computer and use it in GitHub Desktop.

Setting up Dump1090, PiAware, FlightRadar24Feed, PlaneFinder Client, AdsbExchange Feeder, AirNav RadarBox Feeder & OpenSky Network Feeder

  1. Fix dump1090-mutability service not working by default, due to missing udev rules:

    sudo wget -O /etc/udev/rules.d/rtl-sdr.rules "https://raw.githubusercontent.com/osmocom/rtl-sdr/master/rtl-sdr.rules"

    sudo reboot

  2. Setup 'dump1090-fa', 'piaware' (FlightAware):

    a. Install:

    `wget https://uk.flightaware.com/adsb/piaware/files/packages/pool/piaware/p/piaware-support/piaware-repository_7.2_all.deb`
    
    `sudo dpkg --install piaware-repository_7.2_all.deb`
    
    `sudo apt update`
    
    `sudo apt install dump1090-fa lighttpd piaware`
    

    b. Check it is running:

    `piaware-status`
    

    c. Claim your PiAware client on FlightAware.com:

    `https://flightaware.com/adsb/piaware/claim`
    

    d. Reset feeder id:

    	`sudo systemctl stop piaware`
    
    	`sudo piaware-config feeder-id ""`
    
    	`sudo rm /var/cache/piaware/feeder_id`
    
    	`sudo systemctl restart piaware`
    
  3. Setup 'fr24feed' (FligthRadar24Feed)

    a. Install:

    `echo 'deb http://repo.feed.flightradar24.com flightradar24 raspberrypi-stable' | sudo tee /etc/apt/sources.list.d/fr24.list`
    
    `sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key 97A9DF822081EC2A`
    
    `sudo apt update`
    
    `sudo apt install fr24feed`
    

    b. Configure fr24feed:

    i. Signup & configure:
    
    	`sudo fr24feed --signup`
    
    ii.	After 'Step 3.C' for 'Would you like to use autoconfig' specify 'yes'.
    
    	...or...
    
    	In 'Step 4.1 - Receiver selection', set '4'.
    
    	In 'Step 4.2 - Connection type', set '1'.
    
    	In 'Step 4.3A - Receiver IP', set '127.0.0.1'.
    
    	In 'Step 4.3B - Receiver port', set '30005'.
    

    c. To reconfigure:

    `sudo fr24feed --reconfigure`
    
  4. Setup 'pfclient' (PlaneFinder client):

    a. Install:

    `wget http://client.planefinder.net/pfclient_5.0.161_armhf.deb`
    
    `sudo dpkg -i pfclient_5.0.161_armhf.deb`
    

    b. Configure: visit ':30053':

    i.	Enter e-mail ID, latitude, longitude and click 'Create Share Code'.
    
    ii.	Select 'Beast' for 'Receiver data format' and 'Network' for 'How are
    
    you connecting to your receiver'.
    
    iii.	Enter '127.0.0.1' for 'IP address' and '30005' for 'Port number'.
    
  5. Setup 'ADS-B Exchange' feeder:

    a. Install:

    `wget -O /tmp/axfeed.sh https://adsbexchange.com/feed.sh`
    
    `sudo bash /tmp/axfeed.sh`
    

    b. Confirm the feeder status:

    https://adsbexchange.com/myip/
    
  6. Setup 'AirNav RadarBox':

    a. Install:

    `sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 1D043681`
    
    `echo 'deb https://apt.rb24.com/ bullseye main' | sudo tee /etc/apt/sources.list.d/rb24.list`
    
    `sudo apt update`
    
    `sudo apt install rbfeeder`
    

    b. Claim:

    https://www.radarbox.com/sharing-data/claim
    

    c. Reset:

    Blank the fwg lines in '/etc/rbfeeder.ini':
    
    	key=0123456789abcdef0123456789abcdef
    
    	sn=EXTRPI123456
    
  7. Setup 'OpenSky Network Feeder':

    a. Create account on OpenSky Network.

    b. Install & configure client:

    `wget https://opensky-network.org/files/firmware/opensky-feeder_latest_armhf.deb`
    
    `sudo dpkg -i opensky-feeder_latest_armhf.deb`
    
@adsb-related-code
Copy link

  1. ADSBexchange setup

sudo 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment