[SOLVED] Current time is 2 hours ahead of the motherboard time

Started by Ginod, November 28, 2023, 12:24:10 PM

Previous topic - Next topic
I have the following problem that I cannot solve:
- OPNsense was installed in a PC whose motherboard failed.
- I moved the SSD to another PC with a very similar setup.
After this move, the firewall works normally except that the current time is 2 hours ahead of the motherboard time (the time in the BIOS is correctly matched to the local time zone).
This time difference is preserved even if I move the installation to another hardware configuration.
If I put the SSD back on the original motherboard (which I did the install on) the time is again matched to the BIOS time but I can't use this board anymore...
The version is OPNsense 23.7.8-amd64.
So what could be the cause of this time difference?

Thank you!

System: Settings: General - check your time zone

Log into the console, select option 8 for shell and type: date 1140 (pick a time close to the current time).

Then go to Services: Network Time: General and configure NTP servers

Bart...

It worked, thanks a lot!
But why does this lag happen when moving to a different motherboard?

You need to set your motherboard's time to UTC in the BIOS setup. This is true for all Unix like operating systems, Linux, FreeBSD, ... only Windows runs the CMOS clock in local time.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)