[[searchwing-image-download-station]]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
searchwing-image-download-station [2020/02/21 10:15]
beckmanf added access points
searchwing-image-download-station [2021/03/20 14:44] (current)
bjoernh1
Line 5: Line 5:
 ==== Access points ==== ==== Access points ====
  
-AP1+=== AP1 ===Ìý
 +Ìý
 +This is the main router which provides DHCP service.
  
 Router IP: 192.168.8.1 Router IP: 192.168.8.1
  
-Admin password: ​ooH0Xahvat+Admin password: ​XXXXXXXXXXXXXXX
  
 WAN Port is Lan Port  WAN Port is Lan Port 
  
-2.4 GHz SSID: AP1+2.4 GHz SSID: SW-AP1
 Channel 1 Channel 1
-WIFI Password: ​Oag3gaeb8f+WIFI Password: ​XXXXXX
 TX Power: 10 dBm TX Power: 10 dBm
 300 MBit 300 MBit
  
-5 GHz SSID: AP1-5G+5 GHz SSID: SW-AP1-5G
 Channel 36 Channel 36
-WIFI Password: ​Oag3gaeb8f+WIFI Password: ​XXXXX
 TX Power: 20 dbm TX Power: 20 dbm
  
-AP2+=== AP2 ===Ìý
 +Ìý
 +This router is connected with the WAN port to a LAN port of AP1. 
  
 Router IP: 192.168.8.200 Router IP: 192.168.8.200
  
-Admin Password: ​ooH0Xahvat+Admin Password: ​XXXXX
  
 WAN Port is Lan Port  WAN Port is Lan Port 
  
-2.4 GHz SSID: AP2Ìý+2.4 GHz SSID: SW-AP2Ìý
-Channel ​9Ìý+Channel ​11Ìý
-WIFI Password: ​Oag3gaeb8f+WIFI Password: ​XXXXX
 TX Power: 10 dBm TX Power: 10 dBm
  
-5 GHz SSID: AP2-5GÌý+5 GHz SSID: SW-AP2-5GÌý
-WIFI Password: ​Oag3gaeb8f+WIFI Password: ​XXXXX
 Channel: 44 Channel: 44
 433MBit 433MBit
Line 44: Line 48:
  
 ====  setup Laptop ==== ====  setup Laptop ====
-Configure datastorage with rsync in ''/​etc/​rsyncd.conf''​ on ship laptop+Ìý
 +The laptop is a ASUS TUF FX505DV 8/512 R5-3550H RXT2060 with Ìý
 +Ìý
 +  * AMD Ryzen 3550H CPUÌý
 +  * 8 GB DDR4-SDRAMÌý
 +  * 512 GB SSDÌý
 +  * 15.6" Full HD 1920x1080 IPS screenÌý
 +  * AMD Radeon Vega 8 GPUÌý
 +  * NVIDIA GeForce RTX 2060 (6GB GDDR6) GPUÌý
 +  * LANÌý
 +  * Dual-band WLANÌý
 +  * BluetoothÌý
 +Ìý
 +running Ubuntu 18.04 LTS (Bionic Beaver)Ìý
 +Ìý
 +=== rsync ===Ìý
 +Ìý
 +Configure datastorage with rsync in ''/​etc/​rsyncd.conf''​ on ship laptop.Ìý
 +Ìý
 +Each flight should have a unique name and needs two folders to be configured. Ìý
 +e.g.
  
 <​code>​ <​code>​
-[camimages]Ìý+[ringo-05032020_0915h-cam-r]Ìý
-path=/​home/​USER/​camimages+path=/​home/​USER/​flightdata/​ringo-05032020_0915h-cam-rÌý
 +hosts allow = *Ìý
 +list = trueÌý
 +uid = rootÌý
 +gid = rootÌý
 +read only = falseÌý
 +Ìý
 +[ringo-05032020_0915h-cam-l]Ìý
 +path=/​home/​USER/​flightdata/​ringo-05032020_0915h-cam-l
 hosts allow = * hosts allow = *
 list = true list = true
Line 55: Line 87:
 read only = false read only = false
 </​code>​ </​code>​
 +
 +__**IMPORTANT** Please add cam-r or cam-l at the end, as this encoding is needed for the searchwing-gui to work in correct manner **IMPORTANT**__
 +
  
 start rsync daemon on ship laptop start rsync daemon on ship laptop
  
   sudo systemctl start rsync   sudo systemctl start rsync
 +  ​
 +  ​
  
 ====  transfer images ==== ====  transfer images ====
  
-run datatransfer task on each pi ( later triggered via script @ groundcontrol pc)+run datatransfer task on each pi ( later triggered via script @ groundcontrol pc): e.g.
  
-  rsync -avvz -u --progress ​-h /​data/​bilder/​ rsync://​GROUNDSTATIONIP/​camimages+  rsync -auv --progress /​data/​bilder/​ rsync://​GROUNDSTATIONIP/​ringo-05032020_0915h-cam-rÌý
 +Ìý
 +  Ìý
 +Don't use the -z option which compresses the data. The images are already compressed and the CPU load will result in 1 MB/s transfer rate compared to 3-4 MB/s without the -z option. (Beck, 23.2.20)Ìý
 +If you like to transfer and delete the images from the pi, use the --remove-source-files option.
  
 ====  troubleshooting ==== ====  troubleshooting ====
Line 75: Line 116:
  
   sudo systemctl status rsync   sudo systemctl status rsync
 +
 +==== WIFI =====
 +If Wifi isn't working, first check if the firmware file can be loaded! ​
 +
 +  dmesg | grep rtw_pci
 +In Ubuntu 18.04 the firmware for rtw8822 wifi adapter (ASUS TUF FX505DV Laptop) isn't included in linux-firmware ubuntu deb package! So after a Kernel update it can be necessary to fetch it again and copy it to the lib folder.
 +
 +  git clone git://​git.kernel.org/​pub/​scm/​linux/​kernel/​firmware/​linux-firmware.git
 +  cp ./​linux-firmware/​rtw88/​rtw8822c_wow_fw.bin /​lib/​firmware/​rtw88/​
 +
 +
 +=== eduroam ===
 +
 +Eduroam does not work with the default wpasupplicant 2.6 version. I have made a backport of wpasupplicant 2.9 from Ubuntu 19.10. ​
 +
 +{{ ::​wpasupplicant_2.9-1ubuntu2_amd64.zip | wpasupplicant package 2.9 }}
 +
 +You need to install that package. Please download from this wiki and unzip it. 
 +
 +<​code>​
 +sudo apt install libnl-route-3-200
 +sudo dpkg -i wpasupplicant_2.9-1ubuntu2_amd64.deb
 +</​code>​
 +
 +Check that the wpa supplicant service is running with
 +
 +<​code>​
 +sudo systemctl status wpa_supplicant.service
 +</​code>​
 +
 +In the Wifi Settings for eduroam choose in the "​security"​ settings
 +
 +  * Security: WPA & WPA2 Enterprise
 +  * Authentication:​ Tunneled TLS
 +  * Anonymous identity: eduroam@hs-augsburg.de
 +  * Check "No CA certificate is required"​
 +  * Inner Authentication:​ PAP
 +  * Username: YOURUSERNAME@hs-augsburg.de
 +  * Password: YOURPASSWORD
  
  • searchwing-image-download-station.1582276523.txt.gz
  • Last modified: 2020/02/21 10:15
  • by beckmanf