spyserver
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
Nächste Überarbeitung | Vorherige Überarbeitung | ||
spyserver [2019/01/16 10:30] – angelegt dani | spyserver [2019/01/26 00:51] (aktuell) – dani | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | ##### PREQUEST | + | ##### PREREQUEST\\ |
- | + | Download unzip and put on sd card the ARM software (Raspbian Stretch Lite)\\ | |
- | Download unzip and put on sd card the ARM software (Raspbian Stretch Lite) | + | Win32DiskImager\\ |
- | + | Write File SSH into root\\ | |
- | Win32DiskImager | + | |
PuTTY | PuTTY | ||
- | login as: pi | + | login as: pi\\ |
+ | password: raspberry\\ | ||
- | password: raspberry | + | ##### SETUP\\ |
- | + | passwd\\ | |
- | ##### SETUP | + | sudo apt-get update\\ |
- | + | sudo apt-get upgrade\\ | |
- | passwd | + | sudo raspi-config (Network Options/ |
- | + | sudo reboot\\ | |
- | sudo apt-get update | + | |
- | + | ||
- | sudo apt-get upgrade | + | |
- | + | ||
- | sudo raspi-config (Network Options/ | + | |
- | + | ||
- | sudo reboot | + | |
- | + | ||
- | ##### INSTALL RTL-SDR Library | + | |
- | + | ||
- | sudo apt-get install -y git cmake pkg-config libusb-1.0-0-dev | + | |
+ | ##### INSTALL RTL-SDR Library\\ | ||
+ | sudo apt-get install -y git cmake pkg-config libusb-1.0-0-dev\\ | ||
+ | < | ||
git clone git:// | git clone git:// | ||
+ | </ | ||
+ | cd rtl-sdr\\ | ||
+ | mkdir build\\ | ||
+ | cd build\\ | ||
+ | cmake ../ -DINSTALL_UDEV_RULES=ON\\ | ||
+ | make\\ | ||
+ | sudo make install\\ | ||
+ | sudo cp ../ | ||
+ | sudo ldconfig\\ | ||
+ | rm -rf *\\ | ||
- | cd rtl-sdr | + | ##### Blacklist the DVB-T Drivers\\ |
+ | sudo nano / | ||
+ | # This creates a new file so enter the following lines:\\ | ||
+ | blacklist dvb_usb_rtl28xxu\\ | ||
+ | blacklist rtl2832\\ | ||
+ | blacklist rtl2830\\ | ||
+ | # Press control-X followed by Y to exit and save the modified file.\\ | ||
+ | sudo reboot\\ | ||
- | mkdir build | + | rtl_test -t\\ |
+ | rtl_tcp -a 192.168.1.36\\ | ||
- | cd build | + | ##### INSTALL AriSpy HF+ Library\\ |
+ | # sudo apt-get install -y cmake libusb-1.0.0-dev\\ | ||
+ | < | ||
+ | wget https:// | ||
+ | </ | ||
+ | unzip master.zip\\ | ||
+ | cd airspyhf-master\\ | ||
+ | mkdir build\\ | ||
+ | cd build\\ | ||
+ | cmake ../ -DINSTALL_UDEV_RULES=ON\\ | ||
+ | make\\ | ||
+ | sudo make install\\ | ||
+ | sudo ldconfig\\ | ||
+ | rm -rf *\\ | ||
+ | # cd / | ||
+ | # rm master.zip\\ | ||
- | cmake ../ -DINSTALL_UDEV_RULES=ON | + | ##### INSTALL SPYSERVER\\ |
+ | mkdir ~/ | ||
+ | < | ||
+ | wget https:// | ||
+ | </nowiki> | ||
+ | tar -xvf spyserver-arm32.tgz -C ~/ | ||
+ | cd ~/ | ||
+ | sudo chmod +x spyserver\\ | ||
- | make | + | ##### Configure SpyServer\\ |
+ | sudo nano spyserver.config\\ | ||
+ | sudo reboot\\ | ||
- | sudo make install | + | cd ~/ |
+ | ./spyserver spyserver.config\\ | ||
- | sudo cp ../ | + | ##### SERVICE\\ |
+ | sudo nano /etc/systemd/system/ | ||
+ | ###\\ | ||
+ | [Unit]\\ | ||
+ | Description=AirSpy HF+ SpyServer Service\\ | ||
+ | Wants=network-online.target\\ | ||
+ | After=multi-user.target\\ | ||
- | sudo ldconfig | + | [Service]\\ |
+ | Type=idle\\ | ||
+ | ExecStart=/ | ||
+ | StandardOutput=inherit\\ | ||
+ | StandardError=inherit\\ | ||
+ | Restart=always\\ | ||
- | rm -rf * | + | [Install]\\ |
+ | WantedBy=multi-user.target\\ | ||
+ | ###\\ | ||
+ | sudo chmod 777 / | ||
+ | sudo systemctl daemon-reload\\ | ||
+ | sudo systemctl enable spyserver.service\\ | ||
+ | #sudo systemctl disable spyserver.service\\ | ||
- | ##### Blacklist the DVB-T Drivers | + | ##### SERVICE\\ |
+ | sudo nano / | ||
+ | ###\\ | ||
+ | [Unit]\\ | ||
+ | Description=RTL-SDR Server\\ | ||
+ | Wants=network-online.target\\ | ||
+ | After=multi-user.target\\ | ||
- | sudo nano /etc/modprobe.d/blacklist-rtl.conf | + | [Service]\\ |
+ | Type=idle\\ | ||
+ | ExecStart=/bin/sh -c "/usr/ | ||
+ | WorkingDirectory=/ | ||
+ | StandardOutput=inherits\\ | ||
+ | StandardPutput=inherits\\ | ||
+ | Restart=always\\ | ||
- | # This creates a new file so enter the following lines: | + | [Install]\\ |
- | + | WantedBy=multi-user.target\\ | |
- | blacklist dvb_usb_rtl28xxu | + | ###\\ |
- | + | sudo chmod 777 / | |
- | blacklist rtl2832 | + | sudo systemctl daemon-reload\\ |
- | + | sudo systemctl enable rtlsdr.service\\ | |
- | blacklist rtl2830 | + | #sudo systemctl disable rtlsdr.service\\ |
- | + | ||
- | # Press control-X followed by Y to exit and save the modified file. | + | |
sudo reboot | sudo reboot | ||
- | rtl_test -t | + | sudo service |
- | + | sudo service | |
- | ##### INSTALL AriSpy HF+ Library | + | sudo service |
- | + | ||
- | # sudo apt-get install -y cmake libusb-1.0.0-dev | + | |
- | + | ||
- | wget https:// | + | |
- | + | ||
- | unzip master.zip | + | |
- | + | ||
- | cd airspyhf-master | + | |
- | + | ||
- | mkdir build | + | |
- | + | ||
- | cd build | + | |
- | + | ||
- | cmake ../ -DINSTALL_UDEV_RULES=ON | + | |
- | + | ||
- | make | + | |
- | + | ||
- | sudo make install | + | |
- | + | ||
- | sudo ldconfig | + | |
- | + | ||
- | # cd /home/pi | + | |
- | + | ||
- | # rm master.zip | + | |
- | + | ||
- | mkdir ~/spyserver | + | |
- | + | ||
- | wget https:// | + | |
- | + | ||
- | tar -xvf spyserver-arm32.tgz -C ~/ | + | |
- | + | ||
- | cd ~/ | + | |
- | + | ||
- | sudo chmod +x spyserver | + | |
- | + | ||
- | ##### Configure SpyServer | + | |
- | + | ||
- | sudo nano spyserver.config | + | |
- | + | ||
- | sudo reboot | + | |
- | cd ~/spyserver | + | vcgencmd measure_temp && date\\ |
+ | htop\\ | ||
- | ./spyserver spyserver.config | + | ###### Timekeeping\\ |
+ | sudo nano / | ||
+ | ###\\ | ||
+ | NTP=0.ch.pool.ntp.org 1.ch.pool.ntp.org 2.ch.pool.ntp.org 3.ch.pool.ntp.org\\ | ||
+ | ###\\ | ||
+ | sudo reboot\\ | ||
+ | timedatectl status\\ | ||
+ | cat /var/ | ||
+ | |||
+ | ##### Prevent dropping WiFi\\ | ||
+ | sudo iw wlan0 get power_save\\ | ||
+ | sudo iw wlan0 set power_save off\\ | ||
+ | sudo nano /etc/rd.local\\ | ||
+ | ###\\ | ||
+ | / | ||
+ | ###\\ | ||
+ | ##### Midnight commander\\ | ||
+ | sudo apt-get install mc -Y\\ |
spyserver.1547631041.txt.gz · Zuletzt geändert: 2019/01/16 10:30 von dani