(06-13-2023, 08:08 PM)Sehnsucht Wrote:(06-13-2023, 12:08 PM)Tim Curtis Wrote: Check the time sync service from command line. If it is not able to connect to Internet time servers there should be some errors.
Command
Code:systemctl status systemd-timesyncd
Here's what I get plus proof the internet is fine:
Code:pi@electro:~ $ systemctl status systemd-timesyncd
● systemd-timesyncd.service - Network Time Synchronization
Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2023-06-06 18:22:54 BST; 30s ago
Docs: man:systemd-timesyncd.service(8)
Main PID: 1039 (systemd-timesyn)
Status: "Idle."
Tasks: 2 (limit: 2137)
CPU: 120ms
CGroup: /system.slice/systemd-timesyncd.service
└─1039 /lib/systemd/systemd-timesyncd
Jun 06 18:22:54 electro systemd[1]: Starting Network Time Synchronization...
Jun 06 18:22:54 electro systemd[1]: Started Network Time Synchronization.
Jun 06 18:23:04 electro systemd-timesyncd[1039]: Timed out waiting for reply from 192.168.4.1:123 (192.168.4.1).
pi@electro:~ $ date
Tue 06 Jun 2023 06:23:35 PM BST
pi@electro:~ $ wget www.bbc.co.uk
--2023-06-06 18:26:29-- http://www.bbc.co.uk/
Resolving www.bbc.co.uk (www.bbc.co.uk)... 212.58.235.1, 212.58.237.129, 212.58.236.1, ...
Connecting to www.bbc.co.uk (www.bbc.co.uk)|212.58.235.1|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://www.bbc.co.uk/ [following]
--2023-06-06 18:26:29-- https://www.bbc.co.uk/
Connecting to www.bbc.co.uk (www.bbc.co.uk)|212.58.235.1|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 604140 (590K) [text/html]
Saving to: ‘index.html’
index.html 100%[=======================================================================================================================>] 589.98K --.-KB/s in 0.09s
2023-06-06 18:26:30 (6.73 MB/s) - ‘index.html’ saved [604140/604140]
Jun 06 18:23:04 electro systemd-timesyncd[1039]: Timed out waiting for reply from 192.168.4.1:123 (192.168.4.1).
Looks like your time-server is in your local network, like I use to do on my KODI box (I tell it the time server is my router...)
Nevertheless, it times out => no time-sync.