Forum Home
Press F1
 
Thread ID: 27767 2002-12-02 08:56:00 Has anybody gone to SuSE 8.1 (Linux) E.ric (351) Press F1
Post ID Timestamp Content User
102678 2002-12-02 08:56:00 If you are thinking about it don't
unlike other versions, there is no New Zealand time zone setting, each time you turn on the computer the time is wrong, even after adjusting the time setting it STILL gets it wrong, normally I have try it the third of forth time before the clock display is right, Until I turn the computer off and back on again, I must get around to fixing the problem so I can turn off the computer more times.
E.ric (351)
102679 2002-12-02 10:55:00 I'm running Mandrake Linux 9, so this may not be applicable (it's copied from my 'How To' documentation) hope it is helpful:

2 . 4 How Linux keeps Track of Time Zones

You probably set your time zone correctly when you installed Linux . But if you have to change it for some reason, or if the local laws regarding DST have changed (as they do frequently in some countries), then you'll need to know how to change it . If your system time is off by some exact number of hours, you may have a time zone problem (or a DST problem) .

Time zone and DST information is stored in /usr/share/zoneinfo (or /usr/lib/zoneinfo on older systems) . The local time zone is determined by a symbolic link from /etc/localtime to one of these files . The way to change your timezone is to change the link . If your local DST dates have changed, you'll have to edit the file .

You can also use the TZ environment variable to change the current time zone, which is handy of you're logged in remotely to a machine in another time zone . Also see the man pages for tzset and tzfile .

This is nicely summarized at . linuxsa . org . au/tips/time . html" target="_blank">www . linuxsa . org . au

2 . 5 The Bottom Line

If you don't need sub-second accuracy, hwclock(8) and adjtimex(8) may be all you need . It's easy to get enthused about time servers and radio clocks and so on, but I ran the old clock(8) program for years with excellent results . On the other hand, if you have several machines on a LAN it can be handy (and sometimes essential) to have them automatically sync their clocks to each other . And the other stuff can be fun to play with even if you don't really need it .

On machines that only run Linux, set the RTC to UTC (or GMT) . On dual-boot systems that require local time in the RTC, be aware that if you have to reboot Linux after the seasonal time change, the clock may be temporarily off by one hour, until you have a chance to run the other OS . If you run more than two OS's, be sure only one of them is trying to adjust for DST .
Rod J (451)
102680 2002-12-02 17:50:00 Someone else in the SuSE group said,

What I did:
After Anders suggested, that my /etc/adjtime file might be faulty, I
renamed it to /etc/adjtime.old to disable it.
Then I went into YaST2, timezone settings, changed something, changed it
back, just to make sure YaST2 will write the data which I basically only
wanted to make sure it will be 'kept'.


I tried it and no such luck, as I said there is no New Zealand time zone that earlier versions had. Not even New Zealand:Auckland
E.ric (351)
102681 2002-12-09 10:37:00 I just found the page I was looking for when you originally posted this topic. It is for Mandrake Linux so it might not apply. The bit at the bottom of the page is what I think might have been causing your time miscalculations. Don't set the hardware clock to GMT! Rod J (451)
102682 2002-12-09 10:39:00 Ooops! Forgot to include the link: mdkxp.by-a.com Rod J (451)
102683 2002-12-09 10:54:00 Thankyou very much E.ric...

I was thinking about "upgrading" to SuSE8.1 from SuSE8 which has been my serious introduction to Linux. I shall wait untill that oversight has been amended, and stick with learning Linux with SuSE8.. and hey.. this has been a real adventure (and well worth it)

.Clueless
Clueless (181)
1