Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
flash_prepare_pi_zero_image [2021/04/18 15:54] wf68spef |
flash_prepare_pi_zero_image [2021/06/16 13:04] wf68spef |
||
---|---|---|---|
Line 3: | Line 3: | ||
* Download image: https://cloud.hs-augsburg.de/s/6cia2g5xpoCjjZX | * Download image: https://cloud.hs-augsburg.de/s/6cia2g5xpoCjjZX | ||
* Flash image to SD Card (e.g. using Etcher Tool) | * Flash image to SD Card (e.g. using Etcher Tool) | ||
- | * Set HostName to a unique name in ''/etc/hostname'' and in ''/etc/hosts'' : e.g. Freddy-cam-l | + | * Set Accesspoint and NetworkHostname depending on left / right camera : |
- | * Set Accesspoint depending on left / right camera : | + | * Open the ''/boot'' partition (which normally gets automounted in windows) |
- | * On the ''/boot'' partition (which normally gets automounted in windows), open the file ''wpa_supplicant.conf'': | + | * open the file ''wpa_supplicant.conf'': |
* Get info for AP names and passwords from [[image-download-station|the network description.]] | * Get info for AP names and passwords from [[image-download-station|the network description.]] | ||
* Write info in ''wpa_supplicant.conf'' : | * Write info in ''wpa_supplicant.conf'' : | ||
- | * cam-r : AP1 | + | * cam-r : ''ssid="AP1"'' |
- | * cam-l : AP2 | + | * cam-l : ''ssid="AP2"'' |
- | ''network={ | + | * WIFI Password : ''psk="AP-Password"'' |
- | ssid="AP1" | + | * Open the file ''unattended'': |
- | psk="AP-Password" | + | * Replace the name of the drone according the name scheme: e.g. ''DRONENAME-L/R'' -> ''freddy-l'' |
- | } | + | |
- | '' | + | |
* Insert image into plane and power up | * Insert image into plane and power up | ||
* First bootup the filesystem of image (~2Gb) is enlarged to the SD-Card size (64Gb) | * First bootup the filesystem of image (~2Gb) is enlarged to the SD-Card size (64Gb) | ||
- | * Implemented by creating a ''/data'' partition where the image will be saved | + | * Implemented by creating a ''/data'' partition where the image will be saved |
- | * Takes ~3-5Minutes | + | * Takes ~3-5Minutes |
- | * Afterwards filesystem resize the camera-capture & webserver service is started | + | * Afterwards filesystem resize the camera-capture & webserver service is started |
- | * You can access each camera via its hostname: ssh searchwing@Freddy-cam-l.local | + | * You can access each camera via its hostname: ssh searchwing@freddy-l.local |
- | * The recorded images can be checked via webserver in the webbrowser: e.g. http:\\Freddy-cam-l.local | + | * The recorded images can be checked via webserver in the webbrowser: e.g. http:\\freddy-l.local |
* Preflightcheck can be done with the searchwing-pi-manager on the laptop | * Preflightcheck can be done with the searchwing-pi-manager on the laptop |