spyserver
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
Beide Seiten, vorherige ÜberarbeitungVorherige ÜberarbeitungNächste Überarbeitung | Vorherige Überarbeitung | ||
spyserver [2019/01/16 10:41] – 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\\ | ||
+ | sudo apt-get update\\ | ||
+ | sudo apt-get upgrade\\ | ||
+ | sudo raspi-config (Network Options/ | ||
+ | sudo reboot\\ | ||
- | ##### SETUP | + | ##### INSTALL RTL-SDR Library\\ |
+ | sudo apt-get install -y git cmake pkg-config libusb-1.0-0-dev\\ | ||
+ | < | ||
+ | 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 *\\ | ||
- | passwd | + | ##### 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\\ | ||
- | sudo apt-get update | + | rtl_test |
+ | rtl_tcp -a 192.168.1.36\\ | ||
- | sudo apt-get upgrade | + | ##### INSTALL |
- | + | # sudo apt-get install -y cmake libusb-1.0.0-dev\\ | |
- | sudo raspi-config (Network Options/ | + | < |
- | + | wget https:// | |
- | sudo reboot | + | </ |
- | + | unzip master.zip\\ | |
- | ##### INSTALL | + | cd airspyhf-master\\ |
- | + | mkdir build\\ | |
- | sudo apt-get install -y | + | cd build\\ |
+ | cmake ../ -DINSTALL_UDEV_RULES=ON\\ | ||
+ | make\\ | ||
+ | sudo make install\\ | ||
+ | sudo ldconfig\\ | ||
+ | rm -rf *\\ | ||
+ | # cd / | ||
+ | # rm master.zip\\ | ||
+ | ##### INSTALL SPYSERVER\\ | ||
+ | mkdir ~/ | ||
< | < | ||
- | git clone git://git.osmocom.org/rtl-sdr.git | + | wget https://airspy.com/ |
</ | </ | ||
+ | tar -xvf spyserver-arm32.tgz -C ~/ | ||
+ | cd ~/ | ||
+ | sudo chmod +x spyserver\\ | ||
- | cd rtl-sdr | + | ##### Configure SpyServer\\ |
+ | sudo nano spyserver.config\\ | ||
+ | sudo reboot\\ | ||
- | mkdir build | + | cd ~/ |
+ | ./spyserver spyserver.config\\ | ||
- | cd build | + | ##### SERVICE\\ |
+ | sudo nano / | ||
+ | ###\\ | ||
+ | [Unit]\\ | ||
+ | Description=AirSpy HF+ SpyServer Service\\ | ||
+ | Wants=network-online.target\\ | ||
+ | After=multi-user.target\\ | ||
- | cmake ../ -DINSTALL_UDEV_RULES=ON | + | [Service]\\ |
+ | Type=idle\\ | ||
+ | ExecStart=/home/ | ||
+ | StandardOutput=inherit\\ | ||
+ | StandardError=inherit\\ | ||
+ | Restart=always\\ | ||
- | make | + | [Install]\\ |
+ | WantedBy=multi-user.target\\ | ||
+ | ###\\ | ||
+ | sudo chmod 777 / | ||
+ | sudo systemctl daemon-reload\\ | ||
+ | sudo systemctl enable spyserver.service\\ | ||
+ | #sudo systemctl disable spyserver.service\\ | ||
- | sudo make install | + | ##### SERVICE\\ |
+ | sudo nano / | ||
+ | ###\\ | ||
+ | [Unit]\\ | ||
+ | Description=RTL-SDR Server\\ | ||
+ | Wants=network-online.target\\ | ||
+ | After=multi-user.target\\ | ||
- | sudo cp ../rtl-sdr.rules | + | [Service]\\ |
+ | Type=idle\\ | ||
+ | ExecStart=/bin/ | ||
+ | WorkingDirectory=/ | ||
+ | StandardOutput=inherits\\ | ||
+ | StandardPutput=inherits\\ | ||
+ | Restart=always\\ | ||
- | sudo ldconfig | + | [Install]\\ |
- | + | WantedBy=multi-user.target\\ | |
- | rm -rf * | + | ###\\ |
- | + | sudo chmod 777 /etc/systemd/system/ | |
- | ##### Blacklist the DVB-T Drivers | + | sudo systemctl daemon-reload\\ |
- | + | sudo systemctl enable rtlsdr.service\\ | |
- | sudo nano /etc/modprobe.d/blacklist-rtl.conf | + | #sudo systemctl disable rtlsdr.service\\ |
- | + | ||
- | # 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 | sudo reboot | ||
- | rtl_test -t | + | sudo service |
- | + | sudo service | |
- | rtl_tcp -a 192.168.1.36 | + | sudo service |
- | + | ||
- | ##### 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 /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.1547631699.txt.gz · Zuletzt geändert: 2019/01/16 10:41 von dani