download raspbian-jessie.img
Download Raspbian for Raspberry Pi
download win32 diskimager
Win32 Disk Imager
download putty
PuTTY Download Page
and write the img file to your sd card, once the pi is up and running, log in via the ssh option in putty (eg 192.168.x.xx ip address of pi)
first time you use putty to log in, you will have to click yes.
login as
username: pi
password: raspberry
now we need to install the rtl sdr drivers, cut and paste each line at a time, and wait until you see the pi@raspberry pi.
sudo apt-get -y install git cmake build-essential libusb-1.0-0-dev
git clone git://git.osmocom.org/rtl-sdr.git
cd rtl-sdr/
mkdir build
cd build
cmake ../ -DCMAKE_INSTALL_PREFIX=/usr -DINSTALL_UDEV_RULES=ON
make
sudo make install
sudo ldconfig
cd ../..
now we need to identifiy the device we wish to use
lsusb
and make a note of the device number.
now we need to add some lines to the blacklist.
sudo nano /etc/modprobe.d/no-rtl.conf
blacklist rtl2832
blacklist r820t
blacklist rtl2830
blacklist dvb_usb_rtl28xxu
Save the file Ctrl-O hit enter to confirm the file name and then exit Ctrl-X
Now reboot by entering
sudo reboot
now load filezilla goto file>site manager> protocol box sftp and connect.
in the right hand box of filezilla, right click the mouse button, and go to create directory and enter it, I named it modesdeco2.
download this file
modesdeco2_rpi3_20160520.tgz and rename it to modesdeco2
copy the file across to the modesdeco2 folder.
now load putty and log back in and select the right folder
cd modesdeco2
unzip the file using this command
tar -xvf modesdeco2.tgz
you need a basestation.sqb
Dropbox - BaseStation.rar
and silhouettes
Dropbox - silhouettes.rar
you can get both from virtual radar server
Using Filzila
Copy BaseStation.sqb into /home/pi/modesdeco2 on the pi.
Make a sub folder under /home/pi/modesdeco2 I used /home/pi/modesdeco2/silhouettes
now close filezilla.
go back to putty to see if its working
/home/pi/modesdeco2/modesdeco2 --rbs --gain 49.6 --web 8082 --beast 31001 --sbs10001 30003 --db /home/pi/modesdeco2/BaseStation.sqb --silhouettes /home/pi/modesdeco2/silhouettes &
http://raspberrypi:8082
Ctrl+C to stop modesdecode2
Auto run
Now you have it working you will want to make it auto start with the PI, to do this we need to login with Putty and issue the following command.
sudo nano /etc/rc.local
add the line: /home/pi/modesdeco2/modesdeco2 --freq-correction 1 --rbs --gain 49.6 --web 8082 --beast 31001 --sbs10001 30003 --db /home/pi/modesdeco2/BaseStation.sqb --silhouettes /home/pi/modesdeco2/silhouettes --location 52.741:0.450 &
and change the location to match your location, and the freq correction.
Save the file Ctrl-O hit enter to confirm the file name and then exit Ctrl-X