View previous topic :: View next topic |
Author |
Message |
Tuxmym n00b
Joined: 10 Nov 2004 Posts: 43
|
Posted: Tue Jul 12, 2005 11:55 am Post subject: local clock changing after boot [SOLVED] (with ntp) |
|
|
After booting my laptop, my hour is sometimes changed, I gain few minutes.
I've read the forum but haven't found any solution.
I don't want to use internet to set my clock as I don't systematically have an internet access.
I've set a symbolic link in "/etc/localtime" to "/usr/share/zoneinfo/<my_zone>"
I've set to "local" the "CLOCK" variable of "/etc/conf.d/clock"
I've attempted to modify the hour from my Linux environment AND from the BIOS but without success.
Any help would be really appreciated.
Thx.
Last edited by Tuxmym on Wed Jul 13, 2005 3:19 pm; edited 1 time in total |
|
Back to top |
|
|
Deathwing00 Bodhisattva
Joined: 13 Jun 2003 Posts: 4087 Location: Dresden, Germany
|
Posted: Tue Jul 12, 2005 12:00 pm Post subject: |
|
|
Moved from Installing Gentoo to Kernel & Hardware. |
|
Back to top |
|
|
beatryder Veteran
Joined: 08 Apr 2005 Posts: 1138
|
Posted: Tue Jul 12, 2005 4:09 pm Post subject: |
|
|
Do you dual boot? I used to have a similar problem till i set clock="local" as you have done...
I have no idea what this problem could be. You may want to consider contacting the maker of your laptop, or using NTP.
I know you said you dont want to use NTP, but it would help your problem a bit, it wont hurt to try it, and at least when you do connect to a network you will have your time updated. _________________ Dont make it idiot proof, make it work.
Neucode.org
<suppressed key> |
|
Back to top |
|
|
Tuxmym n00b
Joined: 10 Nov 2004 Posts: 43
|
Posted: Tue Jul 12, 2005 5:18 pm Post subject: |
|
|
beatryder wrote: | Do you dual boot? I used to have a similar problem till i set clock="local" as you have done... |
No dual boot at all !
beatryder wrote: | I have no idea what this problem could be. You may want to consider contacting the maker of your laptop, or using NTP.
I know you said you dont want to use NTP, but it would help your problem a bit, it wont hurt to try it, and at least when you do connect to a network you will have your time updated. |
Maybe you're right. I'll use this solution if I really don't manage to make the clock working well without internet. |
|
Back to top |
|
|
Tuxmym n00b
Joined: 10 Nov 2004 Posts: 43
|
Posted: Wed Jul 13, 2005 3:18 pm Post subject: |
|
|
I've eventually decided to use NTP to adjust my hour, and it works fine, thanks to the doc : http://gentoo-wiki.com/HOWTO_NTP
I've used a multi-runlevel at boot to select a "connected" mode with the ntp-client daemon and a "nonetwork" mode without this daemon. |
|
Back to top |
|
|
|