LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 04-15-2006, 01:17 AM   #61
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Original Poster
Rep: Reputation: 30

1. As I said, I do not want the RTC clock to be in local time. My goal is to leave Solaris on UTC, and Windows on local time zone..But again, leaving the RTC as UTC.

2. But, what if I change that registry setting that we did under Windows back to normal again and leaving the "zone info" as UTC under Solaris? Will this cause problems?

3. MY goal is just to leave both the RTC as UTC and also keeping the displayed time zone under Solaris as UTC also...So that way I would NOT have to change the time during DST changes...thats all I want to do at this point..As far as Im concerned now, I dont really care for Windows now..Only Solaris.

But preferrably....I would like Windows to use local time without touching the UTC settings under Solaris.

Understand?

Last edited by as400; 04-15-2006 at 01:23 AM.
 
Old 04-15-2006, 01:53 AM   #62
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
1: As you demonstrates, this doesn't work.
2: yes
 
Old 04-15-2006, 10:00 AM   #63
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Original Poster
Rep: Reputation: 30
So your saying I should CHANGE BACK the settings that we did for both operating systems?? Am I correct?

Then how would BOTH operating systems handle the DST changes if those instructions will not work? Then I would have the same exact problem again DURING DST? If setting the RTC clock back its LOCAL TIME...and leaving Solaris DISPLAYED TIME as UTC (TZ=UTC)..and leaving Windows LOCAL will I have the same issues?? And should I leave the box checked thats says"ADJUST DST TIME AUTOMATICALLY"??

So...if this is the case, then I should handle both DISPLAYED TIMES on BOTH O/Sses MANUALLY if I do not want things to have issues...In other words, I should leave that box UNCHECKED that says ADJUST DST TIME AUTOMATICALLY"?? right?

I AM SOOO LOST RIGHT NOW THAT I do not know what to do at this point on...Its a MESS...And I need to have the right exact setting as soon as possible..I cannot be playing around with this...

Just please give me THE GENERAL RULE ON WHAT TO DO PLEASE...

1. I just want to be able to prevent problems during DST...THATS ALL...I want to leave Solaris as UTC...and Windows LOCAL WITHOUT the times causing problems during DST changes...Thats all I want to do..

So is it best to change the time in Windows MANUALLY instead of leaving it checked on AUTOMATIC and
leaving Solaris displayed as UTC????

Last edited by as400; 04-15-2006 at 10:08 AM.
 
Old 04-15-2006, 11:17 AM   #64
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Original Poster
Rep: Reputation: 30
My current settings are:

1. RTC clock is set to UTC
2. Windows is set to show Local Time...with the check-box checked to "adjust dst time automatically"
3. Solaris shows UTC....
4. Solaris also shows the "ZONE INFO" as UTC..

So..what should I do in general...PLEASE???

Should I leave these settings or what do I need to adjust in order to prevent DST problems???
 
Old 04-15-2006, 11:22 AM   #65
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
You cannot have Windows set to Local Time and dual boot another O/S when your local time is using DST unless you accept either to manually fix both times on the other O/S twice a year, or configure your system to do it automatically by synchronizing with an external clock (rdate or equivalent).

You may also try to uncheck the "adjust dst time automatically" if this choice exists (google doesn't find any reference of this string outside this thread) and see what happens.

If you choose another local time with no DST, there would be obviously no problem, In that case the best choice is certainly to use UTC.
 
Old 04-15-2006, 11:24 AM   #66
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Original Poster
Rep: Reputation: 30
I want to leave these settings under Solaris as these:

1. ZONE INFO=UTC
2. TZ=UTC...

THATS ALL I WANT...

Now, I want WIndows to show LOCAL TIME (as the displayed time) WITHOUT any problems during DST....How can I accomplish this?

Quote:
If you choose another local time with no DST, there would be obviously no problem, In that case the best choice is certainly to use UTC.
What do mean by above??? Can you post an example? You mean to keep the displayed time in UTC in Windows too? Is that what you mean by above? Or, should I leave that BOX UNCHECKED under the Time Zone properties under Windows??? But thats not what I want..I to keep the those settings above that I posted under Solaris, and keep Windows time as local....

Now how can i do this without causing DST problems????

I am going in circles here and dont know what to do under Windows if I want to keep the DISPLAYED TIME under Solaris as these settings: ZONE INFO=UTX and TZ=UTC...while leaving the RTC also as UTC..

I am confused on what I should do..

Last edited by as400; 04-15-2006 at 12:01 PM.
 
Old 04-15-2006, 11:56 AM   #67
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
You can't.
 
Old 04-15-2006, 02:26 PM   #68
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Original Poster
Rep: Reputation: 30
So is it best to switch back that registry and do the same thing with Solaris like this:

rtc -z America/Los_Angeles
rdate time.nist.gov


And NEXT after I have done all that on BOTH OSs...I can now set the displayed time in Windows to LOCAL (without that box being checked), and set Solaris displayed time to UTC (which already is)???

Is that the best option???
 
Old 04-15-2006, 02:58 PM   #69
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Probably, just do it and tell us in 6 month or so !
 
Old 04-15-2006, 09:08 PM   #70
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Original Poster
Rep: Reputation: 30
When people say the best time setting for UNIX is UTC...do they mean the BIOS RTC Clock or the actual displayed OS time??
 
Old 04-16-2006, 04:40 AM   #71
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Unix doesn't necessarily on top of a BIOS.
When it doesn't and run on top of an OpenBoot prom or equivalent (SPARC, PowerPC, ...), the H/W clock is almost always on UTC.

The displayed time is generally the user's local time, with the exception of militar and aviation organizations that use UTC (a.k.a ZULU timezone).
 
Old 04-16-2006, 08:34 PM   #72
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Original Poster
Rep: Reputation: 30
Also, I forgot to ask this. Military systems that run UNIX (e.g.
Trusted Solaris, HP-UX), are those systems kept on UTC time for both
Hardware clock (RTC) and the actual displayed clocks? Or, its only the
Hardware clock that is set to UTC and the actual displayed times (the desktop clocks) are in Local Time? Or, both?

Last edited by as400; 04-16-2006 at 08:35 PM.
 
Old 04-16-2006, 08:47 PM   #73
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
or neither.
Users, whether military or not, do whatever they want with their systems.
 
Old 04-17-2006, 10:59 AM   #74
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Original Poster
Rep: Reputation: 30
How can I set the OFFSET from UTC in Solaris after installation?? Did I already set it by using the is command like you told me?

Code:
rtc -c -z UTC
Or, is there something that I have to do again? I am in the US/Pacific time zone (TZ=US/Pacific)..So, to set the offset, will I have to do this instead?

[code]TZ=UTC-8

Question #2...

I know this is a Solaris forum...but speaking in terms of Mainframes, I hear them talking about setting the time in "TRUE UTC"

What does this mean??? I am still lost like crazy here...When they speak in terms of setting the true utc, do they mean the Hardware clock is set to UTC and the Displayed time (the desktop clock) is set to UTC also??
 
Old 04-17-2006, 02:00 PM   #75
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Original Poster
Rep: Reputation: 30
How can I set the OFFSET from UTC in Solaris after installation?? Did I already set it by using the is command like you told me?

Code:

rtc -c -z UTC


Or, is there something that I have to do again? I am in the US/Pacific time zone (TZ=US/Pacific)..So, to set the offset, will I have to do this instead?

[code]TZ=UTC-8

Question #2...

I know this is a Solaris forum...but speaking in terms of Mainframes, I hear them talking about setting the time in "TRUE UTC"

What does this mean??? I am still lost like crazy here...When they speak in terms of setting the true utc, do they mean the Hardware clock is set to UTC and the Displayed time (the desktop clock) is set to UTC also??

Last edited by as400; 04-17-2006 at 02:27 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
System clock correct, hardware clock wrong karlovac Linux - General 5 01-16-2009 07:19 PM
the amazing, incredible, changing clock! BrianNJ Linux - Software 7 07-03-2006 10:17 PM
Linux OS Clock/Timezone shows the clock off by 6 hours between OS's JBailey742 Linux - Software 9 04-06-2006 11:40 PM
Preventing Debian from changing time on hardware clock reddazz Debian 6 04-12-2005 07:45 PM
Changing Cpu clock/frequency on fly carl0ski Linux - Software 0 11-14-2004 06:00 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 09:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration