rocnet:headless-cam-en
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rocnet:headless-cam-en [2019/08/16 20:43] – [Headless Setup] rjversluis | rocnet:headless-cam-en [2022/06/17 09:42] (current) – rjversluis | ||
---|---|---|---|
Line 3: | Line 3: | ||
[[: | [[: | ||
* **[[: | * **[[: | ||
+ | * [[: | ||
|< >| | |< >| | ||
Line 8: | Line 9: | ||
\\ | \\ | ||
\\ | \\ | ||
- | =====SD Card with Raspbian | + | =====SD Card with Pi OS Lite (32bit)===== |
- | See | + | Download the Raspberry Pi Imager: |
- | * https:// | + | * __**[[https:// |
- | on how to create a SD image.\\ | + | |
+ | {{: | ||
+ | |||
+ | Insert a SD-Card.\\ | ||
+ | Start the " | ||
+ | |||
+ | Select: | ||
+ | - CHOOSE OS | ||
+ | - Pi OS Other | ||
+ | - Pi OS Lite (32bit) | ||
+ | |||
+ | See also __**[[: | ||
\\ | \\ | ||
=====Config the Boot Partition===== | =====Config the Boot Partition===== | ||
- | Create locally | + | Insert the SD-Card again, after creating of the Image on the SD-Card has finished.\\ |
+ | The SD-Card should be visible in the File-Explorer as '' | ||
+ | \\ | ||
+ | To make the Zero able to connect to the WiFi, it must get some settings to get this done.\\ | ||
+ | The easiest way is to create | ||
< | < | ||
country=DE | country=DE | ||
Line 22: | Line 37: | ||
update_config=1 | update_config=1 | ||
network={ | network={ | ||
- | | + | |
| | ||
| | ||
+ | | ||
+ | } | ||
+ | network={ | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
} | } | ||
</ | </ | ||
- | Replace the "< | + | Replace the "< |
+ | * **Note:** //Multiple network definitions may be added. The highest priority will be connected first if available.// | ||
+ | Copy an empty file named '' | ||
- | Copy an empty file named " | + | to the boot partition of the SD-Card:\\ |
{{: | {{: | ||
Line 39: | Line 62: | ||
\\ | \\ | ||
- | =====Raspbian | + | =====Raspbian |
< | < | ||
ssh pi@raspberrypi | ssh pi@raspberrypi | ||
+ | </ | ||
+ | The standard password is '' | ||
+ | |||
+ | |||
+ | \\ | ||
+ | =====Raspbian Update===== | ||
+ | < | ||
sudo apt update | sudo apt update | ||
sudo apt upgrade | sudo apt upgrade | ||
Line 146: | Line 176: | ||
sudo reboot | sudo reboot | ||
</ | </ | ||
+ | |||
+ | \\ | ||
+ | =====Boot speed===== | ||
+ | Check the services which are not needed for the headless setup: | ||
+ | < | ||
+ | systemd-analyze blame | ||
+ | </ | ||
+ | Google " | ||
+ | |||
+ | |||
+ | |||
+ | \\ | ||
+ | =====Power consumption===== | ||
+ | ====HDMI==== | ||
+ | Running a headless Zero, there' | ||
+ | Add the following line in ''/ | ||
+ | < | ||
+ | (-p to re-enable).\\ | ||
+ | Approximately 25mA reduction.\\ | ||
+ | |||
+ | |||
+ | \\ | ||
+ | =====Special Boot Options===== | ||
+ | To be able to use pin 27 and 28 as normal I/O, add an extra line in the / | ||
+ | < | ||
+ | force_eeprom_read=0 | ||
+ | </ | ||
+ | |||
+ | * https:// | ||
+ | |||
\\ | \\ | ||
=====Notes===== | =====Notes===== | ||
+ | ====SFTP File Transfer==== | ||
+ | WinSCP and FileZilla can be used for transferring files to and from the Raspberry Pi.\\ | ||
+ | For more information see: | ||
+ | * https:// | ||
+ | |||
+ | |||
+ | ====SSH==== | ||
* The terminal/ | * The terminal/ | ||
* If " | * If " | ||
+ | |||
+ | ====Wait for Network at Boot==== | ||
+ | Under specific network conditions, the following system option (sudo raspi-conf) must be activated, if the WIOpi or CAM does not start at boot: | ||
+ | * **1** System Options | ||
+ | * **S6** Network at Boot ((Select wait for network connection on boot)) | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | \\ | ||
+ | ====Disable screen saver==== | ||
+ | In case of a connected display, none headless, without user interaction.\\ | ||
+ | |||
+ | Edit the lightdm configuration: | ||
+ | < | ||
+ | find this section, and add the extra options: | ||
+ | < | ||
+ | [Seat:*] | ||
+ | xserver-command=X -s 0 -dpms | ||
+ | </ |
rocnet/headless-cam-en.1565981023.txt.gz · Last modified: 2019/08/16 20:43 by rjversluis