Tuesday, April 30, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 8352  / 3 Years ago, wed, july 7, 2021, 10:54:13

I have a dual boot system with Win 7 / Ubuntu 13.04. For some reason, Ubuntu resets the system time to -3 hours regardless of timezone settings. I thought that this was UTC problem, but the problem persists regardless of what is set in /etc/default/rcS.



# assume that the BIOS clock is set to UTC time (recommended)
UTC=no


If I check the timezone with date +%Z it states



UTC


However, when using the graphical user interface to check the timezone it shows that I'm in the right timezone.



Date gives me



pe 9.8.2013 13.51.52 +0000


While hwclock is the correct time



pe  9. elokuuta 2013 16.52.03  -0.516733 sekuntia


Ubuntu seems to set the BIOS time to wrong time. This happens on every boot, even after I've manually changed the time. Windows 7 does not have this problem. I could not find duplicates or solutions beyond the UTC settings.



The system is set to manual time and is not updating it from the internet. I've already tried that but it seems that it never updates so I'm stuck in the wrong time.


More From » date

 Answers
6

To avoid this, change time to manually instead of Automatically from the internet



enter image description here



enter image description here



Try this:



Remove/Purge ntp
Remove/Purge ntpdate
Install ntpdate
set UTC=yes in /etc/default/rcS
reboot
sudo ln -f -s /usr/share/zoneinfo/Europe/Helsinki /etc/localtime

[#30009] Thursday, July 8, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
enefiama

Total Points: 43
Total Questions: 125
Total Answers: 102

Location: Gabon
Member since Sat, Jul 25, 2020
4 Years ago
enefiama questions
;