Page 1 of 1

"your clock is ahead"

Posted: 10 Mar 2023, 09:35
by brutus
Hi,

I have not used a device for a few weeks. Now I have started the Kiosk system and the page to be called displays a message:
"Your clock is ahead..can't be established because your computer's date and time are incorrect".

I then used ssh to connect to the device. Sure enough, hwclock showed one hour ahead of the actual time.
With "hwclock -w" I adjusted the time to the system time and restarted the browser via the kiosk center. But still the same message comes up.

What can I do? Why does the time suddenly not fit anymore?
Nothing had changed in the settings.

BR,
Michael

"your clock is ahead"

Posted: 10 Mar 2023, 10:43
by fanthom
Michael,

In kiosk version 5.4.0 the clock is synced every 24 hours from the NTP server:
https://porteus-kiosk.org/parameters.html#ntp_server

Please make sure that firewall in your organization is not blocking it.

You can verify this over SSH (replace default server with your own if you use it):

Code: Select all

ntpdate pool.ntp.org
Thanks

"your clock is ahead"

Posted: 13 Mar 2023, 11:36
by brutus
Our dns works as ntp server. In the config file I got (example):

Code: Select all

ntp_server = 10.40.2.1

I can ping this server from the device.

Code: Select all

ntpdate 10.40.2.1
13 Mar 12:37:23 ntpdate[7264]: adjust time server 10.40.2.1 offset +0.008228 sec
Looks fine to me.

"your clock is ahead"

Posted: 13 Mar 2023, 11:55
by fanthom
Michael,

Looks OK.
Please recreate the problem then contact me through [email protected] so I could debug more over SSH.

Thanks

"your clock is ahead"

Posted: 14 Mar 2023, 11:21
by brutus
Expired certificate was the problem. Thank you for the support!