Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ [1] 2 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: time is wrong, despite time zone set via tzconfig, always boots with the wrong time< Next Oldest | Next Newest >
Guest
Unregistered






Posted: June 21 2007,18:51 QUOTE

I finally discovered that my system was using EDT (Eastern Daylight Time) rather than my current time zone (PDT).

I used "tzconfig" to fix it and added etc/localtime to my .filetool.lst file.  Now, whenever it boots, the time is incorrect -- it's 3 hours too early.

Is there an easy way to repair/fix this?
Back to top
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: June 21 2007,19:19 QUOTE

Don't need to run that or save that file. Instead use boot code:

tz=US/Pacific

If you have net access use the command

$ sudo gettime.lua

to set time from time server.

If you normally boot with net access then add gettime.lua to /opt/bootlocal.sh like this

/usr/local/bin/getttime.lua

Then upon boot I have accurate time set.
Back to top
Profile PM WEB 
Guest
Unregistered






Posted: June 21 2007,20:13 QUOTE

[quote=roberts,June 21 2007,15:19][/quote]
The boot code didn't work, but the gettime.lua trick does.

Thanks.
Back to top
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: June 21 2007,22:31 QUOTE

All of my frugal installed machines use such boot code in the grub menu. The boot code existed before the gettime.lua code.
Back to top
Profile PM WEB 
Guest
Unregistered






Posted: June 21 2007,22:37 QUOTE

Ah, I don't use grub.  Perhaps that's the problem.  I just use QEMU to boot directly into DSL.
Back to top
11 replies since June 21 2007,18:51 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ [1] 2 3 >/
reply to topic new topic new poll
Quick Reply: time is wrong, despite time zone set via tzconfig

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code