These are some instruction I put together to get the VM up and running. I have been working on on Ubuntu 22.04 Desktop.
- Virtualbox
sudo apt install virtualbox-guest-utils virtualbox-guest-x11
- Reboot
- Now clipboard, resize etc should work
sudo apt install git
git clone https://github.com/nzkarit/chcamp-2022-ads-b-sdr.git
sudo apt install cmake libusb-dev libusb-1.0-0-dev open-vm-tools build-essential librtlsdr-dev pkg-config python3-numpy
sudo apt-get install librtlsdr-dev libusb-1.0-0-dev pkg-config debhelper
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
sudo cp ../rtl-sdr.rules /etc/udev/rules.d/
sudo vi /etc/modprobe.d/blacklist-rtl.conf
- Add
blacklist dvb_usb_rtl28xxu
- Reboot
- Plug in an rtlsdr
rtl_test
sudo apt install hackrf
sudo hackrf_info
sudo apt install dump1090-mutability
- Don't select auto start
sudo mkdir /run/dump1090-mutability
sudo dump1090-mutability --net --write-json /run/dump1090-mutability/ --write-json-every 1
- Browse to http://localhost/dump1090/
- If there are planes overhead with ADS-B you should see them plotted on the map
git clone https://github.com/nzkarit/ADSB-Out.git
sudo dump1090-mutability --net --write-json /run/dump1090-mutability/ --write-json-every 1 --freq 915000000
- Browse to http://localhost:8080/
cd ADSB-Out
./ADSB_Encoder.py
sudo hackrf_transfer -t Samples_256K.iq8s -f 915000000 -s 2000000 -x 10
- In browser observe a plane on the map