Page 1 of 1

[Solved]Question Not a bug : Ntpdate

Posted: 12 May 2015, 09:06
by Debadr
Hi all,

I just want to know how the ntp work on PKE. Is it Synchronizing with the ntp server on booting or every x minutes ? and how to confirm the using of my ntp instead of someone else or even the timezone configured ?

Here is a part of my configuration file :

Code: Select all

 
   connection=wired
   network_interface=eth0
   dhcp=yes
   ntp_server=19x.16x.13x.25x
   timezone=Europe/Paris
PS: When i put the ntpserver without the timezone, my machines take the BIOS clock/date.
The ntpdate ntpserver.org CLI works :

Code: Select all

ntpdate ntp.myntp.org
12 May 11:09:02 ntpdate[1536]: adjust time server 19x.16x.13x.25x offset 0.093213 sec
Thank you for help :)

Re: Question Not a bug : Ntpdate

Posted: 12 May 2015, 09:10
by fanthom
Is it Synchronizing with the ntp server on booting or every x minutes ?
only during boot and it saves the time to RTC so its enough if you boot the kiosk once (unless your hardware clock is broken).

if cli command works then everything is ok (ntp server is reachable and your firewall does not block ntp protocol).

Re: Question Not a bug : Ntpdate

Posted: 12 May 2015, 09:40
by Debadr
fanthom wrote: Is it Synchronizing with the ntp server on booting or every x minutes ?
only during boot and it saves the time to RTC so its enough if you boot the kiosk once (unless your hardware clock is broken).

if cli command works then everything is ok (ntp server is reachable and your firewall does not block ntp protocol).
My kiosks will shutdown and boot everyday so it's ok. I just needed a confirmation about the working of ntp.

Thank you for your help. :)