Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
searchwing-image-download-station [2020/02/28 22:53] beckmanf [setup Laptop] added eduroam setup |
searchwing-image-download-station [2021/03/20 14:44] (current) bjoernh1 |
||
|---|---|---|---|
| Line 94: | Line 94: | ||
| sudo systemctl start rsync | sudo systemctl start rsync | ||
| + | | ||
| + | | ||
| + | |||
| + | ==== transfer images ==== | ||
| + | |||
| + | run datatransfer task on each pi ( later triggered via script @ groundcontrol pc): e.g. | ||
| + | |||
| + | 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 ==== | ||
| + | |||
| + | rsync error: error starting client-server protocol (code 5) at main.c(1675) [sender=3.1.3] | ||
| + | |||
| + | Check if folder on receiverside exists. | ||
| + | |||
| + | To get an idea whats the cause of the error - checkout rsync service status on receiverside (laptop): | ||
| + | |||
| + | 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/ | ||
| Line 106: | Line 137: | ||
| <code> | <code> | ||
| sudo apt install libnl-route-3-200 | sudo apt install libnl-route-3-200 | ||
| - | dpkg -i wpasupplicant_2.9-1ubuntu2_amd64.deb | + | sudo dpkg -i wpasupplicant_2.9-1ubuntu2_amd64.deb |
| </code> | </code> | ||
| Line 124: | Line 155: | ||
| * Username: YOURUSERNAME@hs-augsburg.de | * Username: YOURUSERNAME@hs-augsburg.de | ||
| * Password: YOURPASSWORD | * Password: YOURPASSWORD | ||
| - | |||
| - | |||
| - | |||
| - | ==== transfer images ==== | ||
| - | |||
| - | run datatransfer task on each pi ( later triggered via script @ groundcontrol pc): e.g. | ||
| - | |||
| - | rsync -avv -u --progress -h /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) | ||
| - | |||
| - | ==== troubleshooting ==== | ||
| - | |||
| - | rsync error: error starting client-server protocol (code 5) at main.c(1675) [sender=3.1.3] | ||
| - | |||
| - | Check if folder on receiverside exists. | ||
| - | |||
| - | To get an idea whats the cause of the error - checkout rsync service status on receiverside (laptop): | ||
| - | |||
| - | sudo systemctl status rsync | ||