User Tools

Site Tools


surv_camera_2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
surv_camera_2 [2025/03/16 05:30] memeruizsurv_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 /etc/systemd/journald.conf and change the following:
 +
 +  Storage=persistent
 +  Compress=no
 +  SystemMaxUse=300M
 +  MaxFileSec=1month
 +
 +  * Restart journald:
 +
 +  sudo systemctl restart systemd-journald.service
 +
 +**Hardware Watchdog**
 +
 +  * Edit /etc/systemd/system.conf and change the following:
 +
 +  RuntimeWatchdogSec=15s
 +  RebootWatchdogSec=10min
 +
 +  * Reload systemd config file:
 +
 +  sudo systemctl daemon-reload
 +
 +  * Test watchdog with a fork bomb. Create a file called /tmp/test.sh with:
 +
 +  #!/bin/bash
 +  :(){ :|:& };:
 +
 +  * Run it:
 +
 +  sudo bash /tmp/test.sh
 +
 +  * 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://github.com/qrti/shrink
 +
 +**Calculate power consumption**
 +
 +https://forums.raspberrypi.com/viewtopic.php?t=367244
 +
 +https://github.com/jfikar/RPi5-power
  
 +https://github.com/librerpi/rpi-tools/blob/master/pi5_voltage.py
  
  
surv_camera_2.1742103012.txt.gz · Last modified: 2025/03/16 05:30 by memeruiz