Results 1 to 10 of 55

Thread: Raspberry Pi:How To Install Raspian OS + Dump1090 + FR24 Data Feeder

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    1,875

    Raspberry Pi:How To Install Raspian OS + Dump1090 + FR24 Data Feeder

    What you need is 3 components as follows:
    1- An operating system like Raspbian.
    2- A decoder software like Dump1090
    3- A Data Feeding software.

    UPDATED on August 27, 2016

    OPTION A:
    (1) Download Debian based operating system image on your computer, and write the downloaded image to your microSD card. Download and installation instructions are here: https://www.raspberrypi.org/downloads/

    (2) To install dump1090 and FR24 data feeder, SSH into your Raspberry Pi and execute this command:
    Code:
    sudo bash -c "$(wget -O - http://repo.feed.flightradar24.com/install_fr24_rpi.sh)"
    You will be asked to enter your email address, antenna position and other details.

    If later you want to view or change settings, type following address in your browser, and settings page will appear:
    http://<IP address of your RPI on your LAN>:8754/settings.html

    Please see this page for latest information: https://www.flightradar24.com/raspberry-pi

    OPTION B:
    Download and burn on your microSD card the Pi24 image from this page (see "Installation instructions" on this page):
    https://www.flightradar24.com/build-your-own


    OPTION C:
    (1) Download PiAware image from FlightAware on your computer, and write the downloaded image to your microSD card.
    Download and installation instructions are here: http://flightaware.com/adsb/piaware/build
    This image contains operating system Raspbian, dump1090 and Flightaware data feeder.

    (2) SSH into your Raspberry Pi and execute this command to install FR24 data feeder:
    Code:
    sudo bash -c "$(wget -O - http://repo.feed.flightradar24.com/install_fr24_rpi.sh)"
    You will be asked to enter your email address, antenna position and other details.

    If later you want to view or change settings, type following address in your browser, and settings page will appear:
    http://<IP address of your RPI on your LAN>:8754/settings.html

    Please see this page for latest information: https://www.flightradar24.com/raspberry-pi


    ================================================== =========================
    ================================================== =========================
    OPTION C (MANUAL METHOD. Better use Option A or B which are semi-automated and easier):
    You can install each component separately in three (3) steps shown below.

    STEP 1- Install Raspbian Wheezy on microSD Card
    Download Raspbian on your Desktop/Laptop from Raspberry Pi's Official Website http://www.raspberrypi.org/downloads/. Scroll down the page to find Raspbian.

    After download follow instructions on this page http://www.raspberrypi.org/documenta...ages/README.md.

    You will need a TV/monitor, mouse & keyboard for first install. Select GUI option (Graphical User Interface like windows) when configuration starts at the end of install.

    Alternatively, instead of downloading Raspbian from above noted page, you may download NOOBS from the same page, and choose option Raspbian during installation of NOOBS. Instruction for Installation of NOOBS are here http://www.raspberrypi.org/help/noobs-setup/



    STEP 2- Install rtl-sdr Drivers and Decoder Dump1090
    This requires using console of Raspbian Wheezy. You can visit these two sites for instructions:
    https://ferrancasanovas.wordpress.co...-installation/

    http://www.satsignal.eu/raspberry-pi/dump1090.html

    I will list the console commands here which I got from these sites:

    2a- Install updates, upgrades and tools
    Code:
    sudo apt-get update
    sudo apt-get upgrade
    sudo apt-get install git-core
    sudo apt-get install git 
    sudo apt-get install cmake
    sudo apt-get install libusb-1.0-0-dev
    sudo apt-get install build-essential
    2b- Install RTL-SDR Drivers
    Code:
    git  clone  git://git.osmocom.org/rtl-sdr.git
    cd  rtl-sdr
    mkdir  build
    cd  build
    cmake  ../ -DINSTALL_UDEV_RULES=ON
    make
    sudo  make  install
    sudo  ldconfig
    cd ~
    sudo  cp  ./rtl-sdr/rtl-sdr.rules  /etc/udev/rules.d/
    sudo  reboot
    2c- Install dump1090 (Please see post # 3 below before proceeding)
    Code:
    cd  ~ 
    git  clone  git://github.com/MalcolmRobb/dump1090.git
    cd  dump1090
    make
    ./dump1090 --interactive --net --net-http-port 8080
    You may get following error message;
    Code:
    Kernel driver is active, or device is claimed by second instance
    In the first case, please either detach or blacklist the kernel
    (dvb_usb_rtl28xxu), or enable automatic detaching at compile tim
    
    usb_claim_interface error -6
    Error opening the RTLSDR device: Device or resource busy
    To solve this problem you have to create a blacklist file as follows:
    Code:
    cd  /etc/modprobe.d
    sudo nano /etc/modprobe.d/rtl-sdr-blacklist.conf
    This will create & open the blacklist file rtl-sdr-blacklist.conf
    type following lines in this file & save the file.
    Code:
    blacklist dvb_usb_rtl28xxu
    blacklist e4000
    blacklist rtl2832
    To enable display of planes on Google Map in a Browser, give following command in console:
    Code:
    cd dump1090
    ./dump1090 --interactive --net --net-http-port 8080


    STEP 3- Installation of FR24 Data feeder :
    (Source: http://forum.flightradar24.com/threa...-BETA-testing-)

    Type following command in your console:
    Code:
    sudo wget http://feed.flightradar24.com/raspberry-pi/fr24feed_1.0.12-3_armhf.deb
    This will download .deb installation file in Downloads folder of your RPi.
    install the data feeding software using following console command:

    Code:
    sudo dpkg -i fr24feed_1.0.12-3_armhf.deb
    If this is the first time you’re going to share data with FR24, use the command below:
    Code:
    sudo fr24feed --signup
    If you have already obtained a a data sharing key from FR24, or are already sharing data with FR24 from another computer and want to now feed from RPi instead, use the same sharing key you already have, and start the configuration process by executing:
    Code:
    sudo fr24feed --reconfigure --fr24key=YOUR SHARING KEY
    Complete the configuration wizard. When asked for additioal arguments for dump1090, enter following:
    Code:
    --net --net-http-port 8080
    Now start sharing your data by typing:
    Code:
    sudo service fr24feed restart
    Now run the command:
    Code:
    service fr24feed status
    You will see following "Fail, Receiver down" (last line)
    Code:
    pi@piaware ~ $ service fr24feed status
    [ ok ] FR24 Feeder/Decoder Process: running.
    [ ok ] FR24 Stats Timestamp: 2015-01-21 17:46:02.
    [ ok ] FR24 Link: connected [UDP].
    [ ok ] FR24 Radar: T-CYYZ9.
    [ ok ] FR24 Tracked AC:.
    [FAIL] Receiver: down ... failed!
    Then follow steps shown in the screenshots below:

    FR24 setup on PiAware-1.PNG . FR24 setup on PiAware-2.PNG . FR24 setup on PiAware-3.PNG

    Now again run the command "service fr24feed status",
    Now the message:
    [FAIL] Receiver: down ... failed!
    will be replaced by:
    [ ok ] Receiver: connected (xxx MSGS/0 SYNC).


    During the next system restart FR24 decoder/feeder will start automatically.

    Download Guide (pdf) from here: http://feed.flightradar24.com/fr24feed-manual.pdf

    GOOD LUCK!!!!
    Last edited by abcd567; 2016-08-28 at 03:20.

Posting Permissions

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