surv_camera_2
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
surv_camera_2 [2025/03/16 05:30] – memeruiz | surv_camera_2 [2025/03/16 19:07] (current) – memeruiz | ||
---|---|---|---|
Line 66: | Line 66: | ||
(or use the ip number that "ip add" shows for wifi) | (or use the ip number that "ip add" shows for wifi) | ||
+ | |||
+ | **journal to permanent storage** | ||
+ | |||
+ | * Edit / | ||
+ | |||
+ | Storage=persistent | ||
+ | Compress=no | ||
+ | SystemMaxUse=300M | ||
+ | MaxFileSec=1month | ||
+ | |||
+ | * Restart journald: | ||
+ | |||
+ | sudo systemctl restart systemd-journald.service | ||
+ | |||
+ | **Hardware Watchdog** | ||
+ | |||
+ | * Edit / | ||
+ | |||
+ | RuntimeWatchdogSec=15s | ||
+ | RebootWatchdogSec=10min | ||
+ | |||
+ | * Reload systemd config file: | ||
+ | |||
+ | sudo systemctl daemon-reload | ||
+ | |||
+ | * Test watchdog with a fork bomb. Create a file called / | ||
+ | |||
+ | #!/bin/bash | ||
+ | :(){ :|:& };: | ||
+ | |||
+ | * Run it: | ||
+ | |||
+ | sudo bash / | ||
+ | |||
+ | * After some seconds it should produce a reboot | ||
+ | |||
+ | |||
**Connect your first camera to first camera port** | **Connect your first camera to first camera port** | ||
Line 395: | Line 432: | ||
mmcli -m 0 --messaging-delete-sms=0 | mmcli -m 0 --messaging-delete-sms=0 | ||
+ | | ||
+ | **Shrink raspberry pi SD images** | ||
+ | |||
+ | https:// | ||
+ | |||
+ | **Calculate power consumption** | ||
+ | |||
+ | https:// | ||
+ | |||
+ | https:// | ||
+ | https:// | ||
surv_camera_2.1742103012.txt.gz · Last modified: 2025/03/16 05:30 by memeruiz