OS2 World Community Forum
OS/2, eCS & ArcaOS - Technical => Utilities => Topic started by: Martin Iturbide on November 23, 2023, 06:22:08 pm
-
Hi
I have some problems with ArcaOS 5.1 and Time synchronization. It is putting the wrong time on my machine even that I have the correct zone. ( GST5).
I get this error when I open "Clock Synchronization". (Picture attached).
I don't understand where I have to correct this problem. If I sync the time, the clock get corrected just for a little while, and after some seconds it is change to the wrong time again.
On the config.sys I have "SET TZ=GST5".
Please let me know what I'm missing to check. I guess it is something trivial that I don't know.
Regards
-
Try "SET TZ=GST5GST".
-
Hi
I have some problems with ArcaOS 5.1 and Time synchronization. It is putting the wrong time on my machine even that I have the correct zone. ( GST5).
I get this error when I open "Clock Synchronization". (Picture attached).
I don't understand where I have to correct this problem. If I sync the time, the clock get corrected just for a little while, and after some seconds it is change to the wrong time again.
On the config.sys I have "SET TZ=GST5".
Please let me know what I'm missing to check. I guess it is something trivial that I don't know.
Regards
If this is an error please open a ticket in https://mantis.arcanoae.com.
Roderick
-
Hello
I'm testing the issue. I'm trying to remember what happen on the ArcaOS 5.1 installation. Maybe I installed with a different time zone and after trying to fix it with "Clock Sync", it did not work.
I followed Dave's advice and put "SET TZ=GST5GST". On the next reboot my clock was fine and "Clock Sync" no longer gave me this error.
Do you think this is a bug with "Clock Sync" that is putting only SET TZ=GST5 on my config.sys when it should put "SET TZ=GST5GST" ?
Regards
-
Hi Martin,
As far as I remember 'Clock Sync' assumes you have the correct 'SET TZ= ' in the config.sys, it does not put it there (see set tz in the command reference) and it does need the second version you show. Just think yourself lucky you don't have something like I need -
SET TZ=CET-1CDT,3,-1,0,7200,10,-1,0,10800,3600
-
Hello
I'm testing the issue. I'm trying to remember what happen on the ArcaOS 5.1 installation. Maybe I installed with a different time zone and after trying to fix it with "Clock Sync", it did not work.
I followed Dave's advice and put "SET TZ=GST5GST". On the next reboot my clock was fine and "Clock Sync" no longer gave me this error.
Do you think this is a bug with "Clock Sync" that is putting only SET TZ=GST5 on my config.sys when it should put "SET TZ=GST5GST" ?
Regards
Looking at the Posix standard, it seems that GST5 or perhaps GST+5 should work. Looking at our headers, settz() etc is on the todo list while it is implemented in EMX which the EMX C Library Reference also says only the TZ1 (GMT5 in your case) part is mandatory. So it does seem like a bug that Clock Sync was not happy with GMT5, perhaps try GMT+5.
-
Hi Martin,
As far as I remember 'Clock Sync' assumes you have the correct 'SET TZ= ' in the config.sys, it does not put it there (see set tz in the command reference) and it does need the second version you show. Just think yourself lucky you don't have something like I need -
SET TZ=CET-1CDT,3,-1,0,7200,10,-1,0,10800,3600
Hi Ivan
On my case, if I don't have a SET TZ= on my config.sys, "Clock Sync" will suggest me to add my local time zone on the config.sys.
It just put on the config.sys "SET TZ=GST5"
Regards
-
Hi Martin,
It would be nice to see the full screen of the 'Clock Synchronization' display, but my feeling is that it needs a full 'SET TZ' statement in config.sys to be of any use otherwise how does it know what to look for to synchronise with.