Skip to content

Instantly share code, notes, and snippets.

@elbosso
Created May 11, 2018 14:52
Show Gist options
  • Save elbosso/eb9e08fa2bbd235769f18ef68da1440a to your computer and use it in GitHub Desktop.
Save elbosso/eb9e08fa2bbd235769f18ef68da1440a to your computer and use it in GitHub Desktop.
#!/bin/bash
apt-get update && apt-get -y upgrade
apt-get install git git-core cmake libusb-1.0-0-dev build-essential usbutils pkg-config joe mono-complete wget
lsusb
git clone git://git.osmocom.org/rtl-sdr.git
cd rtl-sdr
mkdir build
cd build
cmake ../ -DINSTALL_UDEV_RULES=ON
make install
ldconfig
cd ~
cp ./rtl-sdr/rtl-sdr.rules /etc/udev/rules.d/
rtl_test
printf 'blacklist dvb_usb_rtl28xxu\nblacklist rtl2832\nblacklist rtl2830' > /etc/modprobe.d/nortl.conf
wget http://www.virtualradarserver.co.uk/Files/VirtualRadar.tar.gz
mkdir VirtualRadar
cd VirtualRadar
tar -xzf ../VirtualRadar.tar.gz
rm ../VirtualRadar.tar.gz
joe VirtualRadar.exe.config
joe ~/.local/share/VirtualRadar/InstallerConfiguration.xml
mono VirtualRadar.exe -nogui
cd ~
git clone git://github.com/MalcolmRobb/dump1090.git
cd dump1090
make -j5
./dump1090 --quiet --net&
cd VirtualRadar
mono VirtualRadar.exe -nogui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment