WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [Solved] wrong time after wifi connection but initially correct time  (Read 2489 times)

Offline puppybyte!

  • Jr. Member
  • **
  • Posts: 91
When I just boot into my 32bit TC 13, it shows the correct time initially, around 9AM now.  After about 15 secs later it changes to the wrong time as shown around 5PM.  What setting is wrong here?, I am guessing it is synchronizing via internet when wifi is autoconnected but ends up a wrong time. >:(
« Last Edit: February 24, 2022, 10:03:24 PM by Rich »

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 713
Re: wrong time after wifi connection but initially correct time
« Reply #1 on: February 23, 2022, 12:37:23 PM »
I think you need to set the correct timezone, take a look at the kernel command line options to set the correct timezone.

http://www.tinycorelinux.net/faq.html#timezone

Offline puppybyte!

  • Jr. Member
  • **
  • Posts: 91
Re: wrong time after wifi connection but initially correct time
« Reply #2 on: February 23, 2022, 01:54:58 PM »
I think you need to set the correct timezone, take a look at the kernel command line options to set the correct timezone.

http://www.tinycorelinux.net/faq.html#timezone

thanks, I was thinking since time is correct just after boot, can I just disable time sync?

Offline polikuo

  • Hero Member
  • *****
  • Posts: 726
Re: wrong time after wifi connection but initially correct time
« Reply #3 on: February 23, 2022, 11:49:31 PM »
thanks, I was thinking since time is correct just after boot, can I just disable time sync?
Yes you can, just remove getTime.sh from your /opt/bootlocal.sh

Offline puppybyte!

  • Jr. Member
  • **
  • Posts: 91
Re: wrong time after wifi connection but initially correct time(SOLVED)
« Reply #4 on: February 24, 2022, 09:53:10 PM »
thanks, I was thinking since time is correct just after boot, can I just disable time sync?
Yes you can, just remove getTime.sh from your /opt/bootlocal.sh

I followed your suggestion, thanks, this can be marked solved.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: [Solved] wrong time after wifi connection but initially correct time
« Reply #5 on: February 24, 2022, 10:04:15 PM »
Hi puppybyte!
Done.  :)