After I change the dietpi-config /advance/time sync mode / boot + daily.
After reboot I get these error messages on boot screen
attached the boot screen. It will go until 60 tries are made then does finally boot, and has correct time.
that looks fine, your time was synced and service is running. Pls can you do another reboot. Once back only, export the journal and attach the log file pls.
Here is another log file. Since I posted that last one, I have learned a little bit more on how to do what you asked.
this time I ran the command you listed:
journalctl > /tmp/log.txt
and then went to the dir /tmp
then I did:
nano /tmp/log.txt
this is what is looks like. Please help me get what you need.
I would like to get rid of those 60 attempts.
It slows boot time 20 seconds…
I am using this as a digital dashboard.
And 20 seconds every boot is not going to work.
The boot is not exactly waiting for ntp.
If however you feel that this is slowing you down you can go to dietpi-config - Advanced Options - Time sync mode and select Mode 0 to deal yourself how the time will be synchronized.
I have done that, that is how I get 28 seconds of bootup time. But when after boot up time is FEB 14 2019 1400 hrs.
What other options do I have to get time updated? So I just found a few threads down /DietPi/dietpi/func/run_ntpd 1
I just did that command and my clock is updated.
Now how to I get this command to autorun after bootup is completed?
SOLVED
Here is what I did
Using the file manager on taskbar near start menu.
open that. Goto / dir then make your way to
/var/lib/dietpi-autostart/custom.sh
open custom.sh with leafpad.
add to the bottom line
startx /DietPi/dietpi/func/run_ntpd 1
save and then reboot. in less then 5 min time will correct itself