Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
flash_prepare_pi_zero_image [2021/03/21 13:52] wf68spef |
flash_prepare_pi_zero_image [2021/04/18 15:54] wf68spef |
||
---|---|---|---|
Line 1: | Line 1: | ||
Each camera in the plane is driven by a pi zero. There is a prepared image for this usecase, but some planespecific parameters need to be set for each image. | Each camera in the plane is driven by a pi zero. There is a prepared image for this usecase, but some planespecific parameters need to be set for each image. | ||
- | * Download image from Gitlab: 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 HostName to a unique name in ''/etc/hostname'' and in ''/etc/hosts'' : e.g. Freddy-cam-l | ||
- | * Set Accesspoint depending on left / right camera in ''/etc/wpa_supplicant/wpa_supplicant.conf'' : | + | * Set Accesspoint depending on left / right camera : |
- | + | * On the ''/boot'' partition (which normally gets automounted in windows), open the file ''wpa_supplicant.conf'': | |
- | cam-r : AP1 | + | * Get info for AP names and passwords from [[image-download-station|the network description.]] |
- | cam-l : AP2 | + | * Write info in ''wpa_supplicant.conf'' : |
- | + | * cam-r : AP1 | |
- | <code> | + | * cam-l : AP2 |
- | network={ | + | ''network={ |
- | ssid="AP1" | + | ssid="AP1" |
- | psk="AP-Password" | + | psk="AP-Password" |
- | } | + | } |
- | </code> | + | '' |
* 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) |