Benutzer-Werkzeuge

Webseiten-Werkzeuge


spyserver

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.

Link zu der Vergleichsansicht

Beide Seiten, vorherige ÜberarbeitungVorherige Überarbeitung
Nächste Überarbeitung
Vorherige Überarbeitung
spyserver [2019/01/16 14:22] danispyserver [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/N1/N2, Localisation Options I2)\\ 
 +sudo reboot\\
  
-##### SETUP+##### INSTALL RTL-SDR Library\\ 
 +sudo apt-get install -y  git cmake pkg-config libusb-1.0-0-dev\\ 
 +<nowiki> 
 +git clone git://git.osmocom.org/rtl-sdr.git 
 +</nowiki>\\ 
 +cd rtl-sdr\\ 
 +mkdir build\\ 
 +cd build\\ 
 +cmake ../ -DINSTALL_UDEV_RULES=ON\\ 
 +make\\ 
 +sudo make install\\ 
 +sudo cp ../rtl-sdr.rules /etc/udev/rules.d/\\ 
 +sudo ldconfig\\ 
 +rm -rf *\\
  
-passwd+##### Blacklist the DVB-T Drivers\\ 
 +sudo nano /etc/modprobe.d/blacklist-rtl.conf\\ 
 +# 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 -t\\ 
 +rtl_tcp -a 192.168.1.36\\
  
-sudo apt-get upgrade +##### INSTALL AriSpy HF+ Library\\ 
- +sudo apt-get install -y  cmake libusb-1.0.0-dev\\ 
-sudo raspi-config (Network Options/N1/N2, Localisation Options I2) +<nowiki> 
- +wget https://github.com/airspy/airspyhf/archive/master.zip\\ 
-sudo reboot +</nowiki> 
- +unzip master.zip\\ 
-##### INSTALL RTL-SDR Library +cd airspyhf-master\\ 
- +mkdir build\\ 
-sudo apt-get install -y  git cmake pkg-config libusb-1.0-0-dev+cd build\\ 
 +cmake ../ -DINSTALL_UDEV_RULES=ON\\ 
 +make\\ 
 +sudo make install\\ 
 +sudo ldconfig\\ 
 +rm -rf *\\ 
 +# cd /home/pi\\ 
 +# rm master.zip\\
  
 +##### INSTALL SPYSERVER\\
 +mkdir ~/spyserver\\
 <nowiki> <nowiki>
-git clone git://git.osmocom.org/rtl-sdr.git+wget https://airspy.com/downloads/spyserver-arm32.tgz\\
 </nowiki> </nowiki>
 +tar -xvf spyserver-arm32.tgz -C ~/spyserver\\
 +cd ~/spyserver\\
 +sudo chmod +x spyserver\\
  
-cd rtl-sdr+##### Configure SpyServer\\ 
 +sudo nano spyserver.config\\ 
 +sudo reboot\\
  
-mkdir build+cd ~/spyserver\\ 
 +./spyserver spyserver.config\\
  
-cd build+##### SERVICE\\ 
 +sudo nano /etc/systemd/system/spyserver.service\\ 
 +###\\ 
 +[Unit]\\ 
 +Description=AirSpy HF+ SpyServer Service\\ 
 +Wants=network-online.target\\ 
 +After=multi-user.target\\
  
-cmake ..-DINSTALL_UDEV_RULES=ON+[Service]\\ 
 +Type=idle\\ 
 +ExecStart=/home/pi/spyserver/spyserver /home/pi/spyserver/spyserver.config\\ 
 +StandardOutput=inherit\\ 
 +StandardError=inherit\\ 
 +Restart=always\\
  
-make+[Install]\\ 
 +WantedBy=multi-user.target\\ 
 +###\\ 
 +sudo chmod 777 /etc/systemd/system/spyserver.service\\ 
 +sudo systemctl daemon-reload\\ 
 +sudo systemctl enable spyserver.service\\ 
 +#sudo systemctl disable spyserver.service\\
  
-sudo make install+##### SERVICE\\ 
 +sudo nano /etc/systemd/system/rtlsdr.service\\ 
 +###\\ 
 +[Unit]\\ 
 +Description=RTL-SDR Server\\ 
 +Wants=network-online.target\\ 
 +After=multi-user.target\\
  
-sudo cp ../rtl-sdr.rules /etc/udev/rules.d/+[Service]\\ 
 +Type=idle\\ 
 +ExecStart=/bin/sh -c "/usr/local/bin/rtl_tcp -a 192.168.1.36"\\ 
 +WorkingDirectory=/home/pi\\ 
 +StandardOutput=inherits\\ 
 +StandardPutput=inherits\\ 
 +Restart=always\\
  
-sudo ldconfig +[Install]\\ 
- +WantedBy=multi-user.target\\ 
-rm -rf * +###\\ 
- +sudo chmod 777 /etc/systemd/system/rtlsdr.service\\ 
-##### 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 spyserver stop\\ 
- +sudo service spyserver start\\ 
-rtl_tcp -a 192.168.1.36 +sudo service spyserver restart\\
- +
-##### INSTALL AriSpy HF+ Library +
- +
-sudo apt-get install -y  cmake libusb-1.0.0-dev +
- +
-wget https://github.com/airspy/airspyhf/archive/master.zip +
- +
-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 +
- +
-##### INSTALL SPYSERVER +
- +
-mkdir ~/spyserver +
- +
-wget https://airspy.com/downloads/spyserver-arm32.tgz +
- +
-tar -xvf spyserver-arm32.tgz -C ~/spyserver +
- +
-cd ~/spyserver +
- +
-sudo chmod +x spyserver +
- +
-##### Configure SpyServer +
- +
-sudo nano spyserver.config +
- +
-sudo reboot +
- +
-cd ~/spyserver +
- +
-./spyserver spyserver.config +
- +
-##### SERVICE +
- +
-sudo nano /etc/systemd/system/spyserver.service +
- +
-+
-[Unit] +
-Description=AirSpy HF+ SpyServer Service +
-Wants=network-online.target +
-After=multi-user.target +
- +
-[Service] +
-Type=idle +
-ExecStart=/home/pi/spyserver/spyserver /home/pi/spyserver/spyserver.config +
-StandardOutput=inherit +
-StandardError=inherit +
-Restart=always +
- +
-[Install] +
-WantedBy=multi-user.target +
-+
- +
-sudo chmod 777 /etc/systemd/system/spyserver.service +
- +
-sudo systemctl daemon-reload +
- +
-sudo systemctl enable spyserver.service +
- +
-##### SERVICE +
- +
-sudo nano /etc/systemd/system/rtlsdr.service +
- +
-+
-[Unit] +
-Description=RTL-SDR Server +
-Wants=network-online.target +
-After=multi-user.target +
- +
-[Service] +
-Type=idle +
-ExecStart=/bin/sh -c "/usr/local/bin/rtl_tcp -a 192.168.1.36" +
-WorkingDirectory=/home/pi +
-StandardOutput=inherits +
-StandardPutput=inherits +
-Restart=always +
- +
-[Install] +
-WantedBy=multi-user.target +
-+
- +
-sudo chmod 777 /etc/systemd/system/rtlsdr.service +
- +
-sudo systemctl daemon-reload +
- +
-sudo systemctl enable rtlsdr.service +
- +
-#sudo systemctl disable rtlsdr.service +
- +
-sudo reboot +
- +
-sudo service spyserver stop +
- +
-sudo service spyserver start+
  
-sudo service spyserver restart+vcgencmd measure_temp && date\\ 
 +htop\\
  
-htop+###### Timekeeping\\ 
 +sudo nano /etc/systemd/timesycd.conf\\ 
 +###\\ 
 +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/log/syslog | grep systemd-timesyncd 
 +  
 +##### Prevent dropping WiFi\\ 
 +sudo iw wlan0 get power_save\\ 
 +sudo iw wlan0 set power_save off\\ 
 +sudo nano /etc/rd.local\\ 
 +###\\ 
 +/sbin/iw/dev wlan0 set power_save off\\ 
 +###\\
  
 +##### Midnight commander\\
 +sudo apt-get install mc -Y\\
spyserver.1547644946.txt.gz · Zuletzt geändert: 2019/01/16 14:22 von dani

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki