Linux Step By Steps

TIMEKEEPING-GMT vs LOCAL

From: "Jeffrey Hawkins" <rtswguru@msn.com>
Setting time gmt versus local 
(see time for synchronising clock forever)
 Date: Sat, 26 Feb 2000 10:26:49 -0500


To fix your clock issue:

1. Via BIOS, set your Clock to your Local Time .
2. In "/etc/sysconfig/clock", set the "CLOCKMODE" to be "LOCAL" rather than "GMT"
3. In "/etc/system.cnf", set the "CNF_KERNTZ" parameter to "l" (little L).
4. If you haven't modified anything else, then the "CNF_TIMEZONE" Parameter in "/etc/system.cnf" should be set to the time zone specified whenever you installed OL. Additionally, the "/etc/localtime" file should be linked to the appropriate time zone file. If NOT, establish the appropriate symbolic link of "localtime" to the zone information file in the "/usr/share/zoneinfo/" directory.

You can also reconfigure your time settings via usage of LISA. However, I must note that LISA uses the old methodology of setting "CNF_KERNTZ" to "", and setting "CNF_TIMEZONE" to the appropriate value.

For LISA ("lisa" from command prompt).
1. Goto SYSTEM CONFIGURATION
2. Goto SYSTEM CONFIGURATION (next level)
3. Goto CONFIGURE TIMEZONE
4. Select Local
5. Select your Time Zone.

After using the above Manual Steps, or LISA, reboot your System, and your time will be correct.

Jeff