Ekran Resmi 2015-05-15 20.58.38

This was my Friday night project and the cost was zero except for two beer.

Required Parts

  • Raspberry Pi (B, B+ or Pi2)
  • RTL-SDR dongle (5$ on Ebay) (original antenna is OK)
  • Wifi Dongle (or Ethernet connection)


Run following commands on raspberry pi terminal.

sudo apt-get update
sudo apt-get upgrade
<following 2 lines are the single line, copy them together>
sudo printf 'blacklist dvb_usb_rtl28xxu\nblacklist rtl2832\nblacklist rtl2830' > /etc/modprobe.d/nortl.conf
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
<if you receive usb_claim_interface error -6 on rtl_test, try with this > cmake ../ -DINSTALL_UDEV_RULES=ON -DDETACH_KERNEL_DRIVER=ON
sudo make install
sudo ldconfig
cd ~
sudo cp ./rtl-sdr/rtl-sdr.rules /etc/udev/rules.d/
sudo reboot 
<It will reboot>
rtl_test -t 
cd ~ 
git clone git://github.com/MalcolmRobb/dump1090.git
cd dump1090
sudo apt-get install pkg-config
./dump1090 --interactive --net

You will see the similar output below

Ekran Resmi 2015-05-16 20.15.14


Dump1090 is including a web server.
So, type “http://<yourPI_IP>:8080” and press enter on your web browser.

you can visit my receiver from this link if it is online:

Ekran Resmi 2015-05-15 20.58.38

Thats all, Now find the best position for your antenna.

Run Automaticaly on Startup

It’s looking great, but you have to type

cd dump1090
./dump1090 --interactive --net

these commands after each reboot. So, we need a startup script for our automated ADS-B receiver server.

Type following lines

cd ~ 
sudo nano adsb_start.sh

copy the following text into the file.

# Provides: fr24
# Required-Start: $remote_fs $syslog $time 
# Required-Stop: $remote_fs $syslog $time 
# Should-Start: $network
# Should-Stop: $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start Adsbox and Flightradar24 feeder at boot time 

killall dump1090

cd /home/pi/dump1090/
./dump1090 --interactive --net

press CTRL+X then enter to save this file to the home directory.

Type following lines

sudo chmod +x adsb_start.sh
sudo crontab -e

copy the following text into the cron. These lines will run the script automatically on startup and refresh continuously.

@reboot sleep 20;/home/pi/adsb_start.sh
0 */8 * * * /home/pi/adsb_start.sh

press CTRL+X then enter to save the cron. then reboot with following command.

sudo reboot

If everything is OK, your server will be online automatically in a minute.