Quantcast
Channel: Flightradar24 Forum
Viewing all articles
Browse latest Browse all 5745

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

$
0
0
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.

OPTION A:
You can install each component separately in three (3) steps shown below.

OPTION B:
An easier option is to install PiAware image from FlightAware. PiAware is a complete package containing all above three components in one image file, but its Data Feeder is for Flight Aware only. To feed FR24, you will have to install FR24 data feeder (step 3 below) after installing PiAware image.

I have prepared two 8 GB microSD cards, one with option A, and other with option B, and both work ok.


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

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 Wheezy 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:

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

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
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 and start sharing your data by typing:
Code:

sudo service fr24feed start
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!!!!

Viewing all articles
Browse latest Browse all 5745

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>