Announcement

Collapse
No announcement yet.

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

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • AnonyMouse
    replied
    Should these lines

    use-http=yes
    http-timeout=10
    be formatted as

    use-http="yes"
    http-timeout="10"

    Leave a comment:


  • carlosmiranmm
    replied
    hello I have one (raspberry pi 3 + RTL2832U R820T2) I had this configuration with you and it worked wells.
    Code:
    receiver="avr-tcp"
    fr24key="key"
    host="127.0.0.1:30002"
    bs="no"
    raw="no"
    logmode="1"
    logpath="/var/log/fr24feed"
    mlat="yes"
    mlat-without-gps="yes"
    Currently it is connected but does not send data, and I have other feeder ok.

    Thanks in advance.

    Leave a comment:


  • johnmiller
    replied
    I performed an update to my Raspberry Pi. During the FlightRadar24 update, something must have gone wrong, and the feeder won't work now.

    So, I started from scratch, following the instructions at the beginning of this thread: sudo bash -c "$(wget -O - ..."

    It went through the entire installation. I followed the instructions on what to enter, again as discussed at the beginning of this thread. But, I got this:

    Job for fr24feed.service failed. See 'systemctl status fr24feed.service' and 'journalctl -xn' for details.

    To try to help diagnose this, here are the results of the following commands:

    pi@raspberrypi:~ $ service fr24feed status
    ● fr24feed.service - Flightradar24 Decoder & Feeder
    Loaded: loaded (/etc/systemd/system/fr24feed.service; enabled)
    Active: activating (start-pre) since Fri 2018-03-16 19:39:45 CDT; 17s ago
    Process: 1165 ExecStartPre=/usr/lib/fr24/create_missing_directories.sh (code=exited, status=0/SUCCESS)
    Process: 1159 ExecStartPre=/usr/lib/fr24/unregister_kernel_modules.sh (code=exited, status=0/SUCCESS)
    Control: 1172 (install_dump109)
    CGroup: /system.slice/fr24feed.service
    └─control
    ├─1172 /bin/bash /usr/lib/fr24/install_dump1090.sh
    ├─1173 /bin/bash /usr/lib/fr24/install_dump1090.sh
    ├─1175 tee -a /var/log/fr24feed_install_dump1090.log
    ├─1179 apt-get update -y
    ├─1182 /usr/lib/apt/methods/http
    ├─1183 /usr/lib/apt/methods/http
    ├─1184 /usr/lib/apt/methods/http
    ├─1186 /usr/lib/apt/methods/gpgv
    └─1192 /usr/lib/apt/methods/copy

    pi@raspberrypi:~ $ sudo service fr24feed start
    Job for fr24feed.service failed. See 'systemctl status fr24feed.service' and 'journalctl -xn' for details.

    pi@raspberrypi:~ $ systemctl status fr24feed.service
    ● fr24feed.service - Flightradar24 Decoder & Feeder
    Loaded: loaded (/etc/systemd/system/fr24feed.service; enabled)
    Active: activating (start-pre) since Fri 2018-03-16 19:41:16 CDT; 36s ago
    Process: 1253 ExecStartPre=/usr/lib/fr24/create_missing_directories.sh (code=exited, status=0/SUCCESS)
    Process: 1247 ExecStartPre=/usr/lib/fr24/unregister_kernel_modules.sh (code=exited, status=0/SUCCESS)
    Control: 1261 (install_dump109)
    CGroup: /system.slice/fr24feed.service
    └─control
    ├─1261 /bin/bash /usr/lib/fr24/install_dump1090.sh
    ├─1262 /bin/bash /usr/lib/fr24/install_dump1090.sh
    ├─1263 tee -a /var/log/fr24feed_install_dump1090.log
    ├─1268 apt-get update -y
    ├─1271 /usr/lib/apt/methods/http
    ├─1272 /usr/lib/apt/methods/http
    ├─1273 /usr/lib/apt/methods/http
    ├─1275 /usr/lib/apt/methods/gpgv
    └─1281 /usr/lib/apt/methods/copy

    pi@raspberrypi:~ $ journalctl -xn
    No journal files were found.

    I don't know what to do to fix things, and need help.

    Thank you for whatever assistance you can offer!

    Leave a comment:


  • abcd567
    replied
    POST #1 UPDATED ON FEBRUARY 20, 2018

    Leave a comment:


  • qsman
    replied
    Originally posted by abcd567 View Post
    @qsman
    Options A, B, and C are still valid.

    With option A and B during configiration, you have to choose:
    RECEIVER: DVB-T

    With option C during configuration, you have to choose any one of the following two settings.
    (1) Receiver : AVR(TCP), HOST/IP:30002
    (2) Receiver: Beast (TCP), HOST/IP:30005

    NOTE:
    The Option D (manual install of dump1090) and method to install dump1090-mutability are out-dated. Please do not use these. I will either update or totally remove these in next few days.
    Abcd567,

    Thank you so much for your reply. If I do need to troubleshoot I will know that I at least started off on the right foot.

    Sent from my Nexus 6P using Tapatalk

    Leave a comment:


  • abcd567
    replied
    @qsman
    Options A, B, and C are still valid.

    With option A and B during configiration, you have to choose:
    RECEIVER: DVB-T

    With option C during configuration, you have to choose any one of the following two settings.
    (1) Receiver : AVR(TCP), HOST/IP:30002
    (2) Receiver: Beast (TCP), HOST/IP:30005

    NOTE:
    The Option D (manual install of dump1090) and method to install dump1090-mutability are out-dated. Please do not use these. I will either update or totally remove these in next few days.
    Last edited by abcd567; 2018-02-20, 06:54.

    Leave a comment:


  • qsman
    replied
    I have read through this thread and am somewhat confused. Are the original instructions still valid (I am interested in Option A) or are there modifications needed? It seems that there are a number of people that have reported some problems but it is unclear to me if that is with the first 2 options or the manual install. I apologize in advance but I am a newcomer to this hobby!

    Leave a comment:


  • mrcarlos
    replied
    Originally posted by Oblivian View Post
    If others work on same device, and Fr24feed is set as Avrtcp mode. Replace localhost with 127.0.0.1

    Sent from my XT1092 using Tapatalk
    thanks for the help, i really have tried that without good results, anyway i have solved the problem, i have installed the dump1090-mutability afther that i got a message tell me the dump1090 wont start automaticaly with a option to turn that feature on, afther that works like a charm, i still dont know if was a problem with dump1090 why by the others site feeders works??? anyway... its up and running.
    thanks

    Leave a comment:


  • Oblivian
    replied
    Originally posted by mrcarlos View Post
    Hey to all,
    i have tried all the steps above but fr24 seems not working for me on booth rpis (rpi2 and rpi3) i get receiver connected, radar name but no flights... hardware its prety ok because booth are going good with flightware and planefinder, only fr24 not works, i also have tried usb stick default, avr mode, modeS beast but notihing works, uninstall and install againg also have no effect.
    some help are higly appreciated.
    thanks in advanced
    If others work on same device, and Fr24feed is set as Avrtcp mode. Replace localhost with 127.0.0.1

    Sent from my XT1092 using Tapatalk

    Leave a comment:


  • mrcarlos
    replied
    Hey to all,
    i have tried all the steps above but fr24 seems not working for me on booth rpis (rpi2 and rpi3) i get receiver connected, radar name but no flights... hardware its prety ok because booth are going good with flightware and planefinder, only fr24 not works, i also have tried usb stick default, avr mode, modeS beast but notihing works, uninstall and install againg also have no effect.
    some help are higly appreciated.
    thanks in advanced

    Leave a comment:


  • Oblivian
    replied
    nope, even in gui. you need to install the extra apps as commandline. Its not like windows

    Sent from my GT-I9300 using Tapatalk

    Leave a comment:


  • port107
    replied
    Starting over

    Spent several hours today and I'm back where I started. I have a box running FA and RB24. FR24 isn't working. I tried flashing FR24 and building from there, but I can't figure out how to get into the Raspian GUI and that's the only way I know how to setup wifi, bluetooth, etc.

    Is there a guide for installing Raspian (gui, not just command line) and adding FR24?

    I am guessing it's here, but the posts I'm finding are 2-3+ yrs old and I am not sure they're valid.






    Originally posted by abcd567 View Post
    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):
    The world’s most popular flight tracker. Track planes in real-time on our flight tracker map and get up-to-date flight status & airport information.



    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 [B]blacklist[/B] 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
    [ [COLOR="#008800"][b]ok[/b][/color] ] FR24 Feeder/Decoder Process: running.
    [ [COLOR="#008800"][b]ok[/b][/color] ] FR24 Stats Timestamp: 2015-01-21 17:46:02.
    [ [COLOR="#008800"][b]ok[/b][/color] ] FR24 Link: connected [UDP].
    [ [COLOR="#008800"][b]ok[/b][/color] ] FR24 Radar: T-CYYZ9.
    [ [COLOR="#008800"][b]ok[/b][/color] ] FR24 Tracked AC:.
    [[COLOR="#FF0000"][B]FAIL[/B][/COLOR]] Receiver: down ... [COLOR="#FF0000"][B]failed[/B][/COLOR]!
    Then follow steps shown in the screenshots below:

    [ATTACH=CONFIG]5753[/ATTACH] . [ATTACH=CONFIG]5754[/ATTACH] . [ATTACH=CONFIG]5755[/ATTACH]

    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!!!!

    Leave a comment:


  • abcd567
    replied
    Feeding 5V on long PoE cable may cause excessive voltage drop and low voltage at RPi.

    For long PoE cables, a 48V DC supply at router/switch, and a down convertor to 5V at RPi works satisfactorily.

    Below is one such complete kit. This item is given as an example for guidance only. If you search Amazon and eBay, you will find many other makes and prices.

    The kit contains:
    PoE Injector 48V DC
    PoE Splitter with integral down convertor to 12/9/5 V DC (dc output voltage selectable by a switch)
    Power Adapter AC to 48V DC
    Power Cord
    Ethernet Cable

    Last edited by abcd567; 2017-04-03, 22:32.

    Leave a comment:


  • AndreaBorgia
    replied
    Originally posted by abcd567 View Post
    DUMP1090-MUTABILITY (for advance users)

    4. If you want to use the external webserver integration:
    Code:
    sudo apt-get install lighttpd && sudo lighty-enable-mod dump1090
    I installed dump-mutability and both fr24 and piaware, so far so good.
    Both feeds are confirmed working and I can see the web gui served by lighttpd, after fixing a missing dir.

    However, when I reboot, I need to manually recreate /var/log/lighttpd/ and chown it to www-data, otherwise the server won't start.
    This is documented, among other places, in Debian bug 679854 and 705338 but the response was basically "you're on your own".

    Given that the image supplied by FR24 defaults to tmpfs for /var/log what would be the best workaround?
    Change it to a normal directory? Go back to the internal webserver?

    Leave a comment:


  • abcd567
    replied
    Originally posted by Ressy
    Curious... does the install script ask for existing feeder code to bypass all this new signup email lat/lon/foo stuff? or we have to re-signup?...
    Upgrading mm server soon so considering moving adsb onto pi (and closer to antenna exit point)
    Yes, it does ask all details every time you signup. Although FR24 feeder on my Pi was already signed and functional, as experiment I signed up again. Here is what happened when I tried to skip entering latitude during signup

    pi@raspberrypi:~$ sudo fr24feed --signup

    [main][i]FR24 Feeder/Decoder
    [main][i]Version: 1.0.18-7/generic
    [main][i]Built on Jul 11 2016 09:24:44 (HEAD-91e2757.git/Linux/armv7l)
    [main][i]Copyright 2012-2016 Flightradar24 AB
    [main][i]http://flightradar24.com
    [main][i]DNS mode: LIBC

    Welcome to the FR24 Decoder/Feeder sign up wizard!

    Before you continue please make sure that:

    1 - Your ADS-B receiver is connected to this computer or is accessible over net work
    2 - You know your antenna's latitude/longitude up to 4 decimal points and the a ltitude in feet
    3 - You have a working email address that will be used to contact you
    4 - fr24feed service is stopped. If not, please run: sudo service fr24feed stop

    To terminate - press Ctrl+C at any point


    Step 1.1 - Enter your email address (username@domain.tld)
    $:xxxx@yyyyy.com

    Step 1.2 - If you used to feed FR24 with ADS-B data before enter your sharing ke y.
    If you don't remember your sharing key, pelase use the retrival form:


    Otherwise leave this field empty and continue.
    $:xxxxxxxxxxxxxxxx

    Verifying sharing key...OK



    Step 1.3 - Would you like to participate in MLAT calculations? (yes/no)$:yes

    IMPORTANT: For MLAT calculations the antenna's location should be entered very p recise!

    Step 3.A - Enter antenna's latitude (DD.DDDD)
    $:
    Value is incorrect, please enter correct value!


    Step 3.A - Enter antenna's latitude (DD.DDDD)
    $:

    Leave a comment:

Working...
X