Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
sudo vi /etc/hostname
sudo vi /etc/hosts
man hostname
sudo hostname myrpi3
hostname
uname -a
sudo init 0
passwd
mkdir .ssh
sudo apt-get update
sudo raspi-config
sudo ldconfig
lsusb
sudo apt-get install htop
sudo apt-get install build-essential
sudo apt-get install git
git clone https://github.com/mutability/dump1090.git
cd dump1090/
ls -l | more
make
cd
git clone https://github.com/mutability/librtlsdr.git
cd librtlsdr/
ls -l
more README
make
cd
sudo apt-get install libusb-1.0-0-dev
git clone git://git.osmocom.org/rtl-sdr.git
cd rtl-sdr/
mkdir build
cd build/
sudo apt-get install cmake
cmake ../ -DINSTALL_UDEV_RULES=ON
make
sudo make install
sudo ldconfig
lsblk
lsusb
cd ~
sudo cp ./rtl-sdr/rtl-sdr.rules /etc/udev/rules.d/
ls -l /etc/udev/rules.d/
sudo init 6
ls -l /usr/local/bin/
rtl_test
rtl_test -t
cd dump1090/
git status
git status -r
git status -v
make
./dump1090 --interactive
ls -l /etc/modprobe.d/raspi-blacklist.conf
etc/modprobe.d/raspi-blacklist.conf
lsmod
sudo vi /etc/modprobe.d/raspi-blacklist.conf
sudo init 6
cd dump1090/
./dump1090 --interactive
cd
mkdir flightaware
cd flightaware/
wget http://flightaware.com/adsb/piaware/files/packages/pool/piaware/p/piaware-support/piaware-repository_3.5.0_all.deb
sudo dpkg -i piaware-repository_3.5.0_all.deb
cd ..
sudo apt-get update
sudo apt-get install piaware
sudo piaware-config allow-manual-updates yes
sudo reboot
# remove manual Init script to start dump1090
sudo update-rc.d -f dump1090.sh remove
ls -l /etc/init.d/dump1090.sh
ls -l /etc/rc2.d
cd dump1090/
dpkg-buildpackage -b # Build as a debian package
mv ../dump1090-mutability_1.15~dev_armhf.* .
sudo dpkg -i ./dump1090-mutability_1.15~dev_armhf.deb
sudo netstat -anp | more # Check if 30001, 30002, ... ports are listening
nc localhost 30003 # Test for data output to 30003
cat /run/piaware/status.json
sudo apt-get install -f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment