WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [Solved] wrong time after wifi connection but initially correct time  (Read 2031 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, 07:03:24 PM by Rich »

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 680
Re: wrong time after wifi connection but initially correct time
« Reply #1 on: February 23, 2022, 09:37:23 AM »
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, 10:54:58 AM »
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: 714
Re: wrong time after wifi connection but initially correct time
« Reply #3 on: February 23, 2022, 08: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, 06: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: 11282
Re: [Solved] wrong time after wifi connection but initially correct time
« Reply #5 on: February 24, 2022, 07:04:15 PM »
Hi puppybyte!
Done.  :)