Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
[SOLVED] NTP time synchronizes, still shows local time..
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] NTP time synchronizes, still shows local time.. (Read 4598 times)
tryllz
Full Member
Posts: 101
Karma: 0
[SOLVED] NTP time synchronizes, still shows local time..
«
on:
March 31, 2021, 08:09:45 am »
Hi,
I have set NTP time of Canada (0.ca.pool.ntp.org, 1.ca.pool.ntp.org, 2.ca.pool.ntp.org, as obtained from
https://www.pool.ntp.org/zone/ca
). The sync server IP is 192.210.199.110 (stratum 2). When I check the IP address it is from US. However, the time of the firewall is still local and not of the Canada.
Is my understanding of NTP correct, that the firewall is suppose to have its NTP time set for Canada (meaning the time of the firewall should be the Canadian Time)
The actual issue is that my current time is GMT +1 but the firewall still shows as GMT 0 and which got me thinking if NTP is actually working, and that it is how I understand it is.
Firewall NTP Time and Sync Server
NTP Pool Addresses
NTP Sync Server IP Address
«
Last Edit: March 31, 2021, 07:20:31 pm by tryllz
»
Logged
bartjsmit
Hero Member
Posts: 2016
Karma: 194
Re: NTP time synchronizes, still shows local time..
«
Reply #1 on:
March 31, 2021, 08:18:43 am »
NTP synchs the (hardware) clock of your device with a time anchor on the network. All that works on UTC (GMT in old parlance).
The visual time display on the interface is governed by the time zone settings and takes care of the offset from UTC and any daylight saving changes.
System, Settings, General, Time zone to configure it in OPNsense
Software and time are strange bedfellows:
https://infiniteundo.com/post/25326999628/falsehoods-programmers-believe-about-time
Bart...
Logged
Patrick M. Hausen
Hero Member
Posts: 6807
Karma: 572
Re: NTP time synchronizes, still shows local time..
«
Reply #2 on:
March 31, 2021, 08:21:48 am »
@bartjsmit beat me to it - I was about to write the same. Since I already made a screenshot, here it is.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
tryllz
Full Member
Posts: 101
Karma: 0
Re: NTP time synchronizes, still shows local time..
«
Reply #3 on:
March 31, 2021, 07:19:54 pm »
Thanks @bartjsmit, and @pmhausen,
I had a completely different understanding of NTP and its implementation. Thank you for clarifying it.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
[SOLVED] NTP time synchronizes, still shows local time..