I installed debian 10 in an old netbook and then ran the script to turn it into a DietPi system. That's was a piece of cake.
The problem is now that I can't realize why the system shutdowns after 3 or 4 hours. I changed the log system to try to understand why, but there's a lot of "DietPi-Preboot" and "DietPi-Boot" when the system shutdown. Yesterday the last line in the log was on 21:17:13
This is a VERY little fragment of the syslog where you can see some DietPi-PreBoot and DietPi-Boot:
Code: Select all
Jan 27 21:17:05 example systemd[1]: Started DietPi-PreBoot.
Jan 27 21:17:05 example systemd[1]: Reached target Network (Pre).
Jan 27 21:17:05 example systemd[1]: Starting Raise network interfaces...
Jan 27 21:17:05 example systemd[1]: Started ifup for wlan0.
Jan 27 21:17:05 example systemd[1]: Started ifup for eth0.
Jan 27 21:17:06 example systemd[1]: Started Raise network interfaces.
Jan 27 21:17:06 example systemd[1]: Reached target Network.
Jan 27 21:17:06 example systemd[1]: Starting Permit User Sessions...
Jan 27 21:17:06 example systemd[1]: Starting containerd container runtime...
Jan 27 21:17:06 example systemd[1]: Starting DietPi-Boot...
Jan 27 21:17:06 example systemd[1]: Condition check resulted in fast remote file copy program daemon being skipped.
Jan 27 21:17:06 example systemd[1]: Starting /etc/rc.local Compatibility...

The last lines in the log before completely shutdown are these ones:
Code: Select all
Jan 27 21:17:13 example DietPi-Boot[450]: [ INFO ] DietPi-Boot | Waiting for valid network connection before continuing boot | Mode=1
Jan 27 21:17:13 example DietPi-Boot[450]: [ OK ] DietPi-Boot | Valid network connection found
Jan 27 21:17:13 example DietPi-Boot[450]: [ .... ] DietPi-Run_NTPD | systemctl restart systemd-timesyncd
Jan 27 21:17:13 example systemd[1]: Starting Network Time Synchronization...
Jan 27 21:17:13 example systemd[1]: Started Network Time Synchronization.
Jan 27 21:17:13 example DietPi-Boot[450]: [ OK ] DietPi-Run_NTPD | systemctl restart systemd-timesyncd
Jan 27 21:17:13 example systemd[1]: Reached target System Time Synchronized.
Jan 27 21:17:13 example DietPi-Boot[450]: [ INFO ] DietPi-Run_NTPD | Waiting for completion of systemd-timesyncd (1/60)
Any ideas?
Thanks!!!