LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
Search this Thread
Old 04-23-2006, 05:55 PM   #1
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Rep: Reputation: 30
Command for setting CMOS clock to UTC?


Hello folks!!

I am planning to install FreeBSD 6.0...And I would like to ask a question regarding the time..

During the installation part when it asks me if my:
Quote:
CMOS clock is set to UTC or not
And if I select YES, will sysinstall adjust the CMOS clock to UTC automatically or not when I select YES during installation?

If NOT, Is there a command in FreeBSD to tell it to adjust the CMOS/RTC clock to UTC? If there is, what is the command I can do?

And...I want my actual DISPLAYED time which sits on the desktop to be diplayed in local time. But I do want the CMOS/RTC clock to show time in UTC...But is there a command for this or not?

thanks.
 
Old 04-23-2006, 10:38 PM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Sysinstall will not change your system clock to UTC. You can change the clock to UTC by yourself in the BIOS. During installation, just make sure the system knows your clock is set to UTC, select your local time zone and the time will always be shown in your local time zone. You can also use NTP to make sure your clock is always correct.
 
Old 04-23-2006, 11:44 PM   #3
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Original Poster
Rep: Reputation: 30
So there is no actual command to set the RTC/CMOS clock to UTC??? ONLY I can change it if I go into the BIOS?

Like for example:

If my local time in the BIOS or CMOS clock is 00:00 (which is Pacific local time), then I would just change the hour to 07:00 (which is 7 HOURS) ahead? Because since I am located in the Pacific Time Zone, UTC is 7 hours AHEAD FROM my location during the Summer Daylight Savings Time...

Am I correct or wrong??

And since my BIOS or CMOS clock does not have a selection to select UTC, I can just do the above like how I explained...Am I correct?

thanks...Please let me knoe if Im correct or wrong.

Last edited by as400; 04-23-2006 at 11:47 PM.
 
Old 04-24-2006, 12:17 AM   #4
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
I also have never seen an option for UTC in any CMOS settings. The method you suggested for setting UTC is the same as the one I use. My system clock is always set to UTC (which is 0 to 2 hours behind my local time depending on where I am). During installation, I always make sure the system knows that the clock is set to UTC, select my timezone and the system always displays the local time (unless I choose to display a different timezone).

There sould be a way to adjust the CMOS clock from withing FreeBSD but I have never seen it in sysinstall.
 
Old 04-24-2006, 12:51 AM   #5
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Original Poster
Rep: Reputation: 30
If my local time in the BIOS or CMOS clock is 00:00 (which is Pacific local time), then I would just change the hour to 07:00 (which is UTC) Right? Because I am located in the Pacific Time Zone,

Is this the correct way to do it before installing? And then during the installation, then I should select YES to CMOS clock set to UTC...So is this the right way? So all I need to know if I did this the right way as I described above. Am I right using the example above?

Last edited by as400; 04-24-2006 at 01:05 AM.
 
Old 04-24-2006, 01:10 AM   #6
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Quote:
Originally Posted by as400
If my local time in the BIOS or CMOS clock is 00:00 (which is Pacific local time), then I would just change the hour to 07:00 (which is UTC) Right? Because I am located in the Pacific Time Zone,

Is this the correct way to do it before installing? And then during the installation, then I should select YES to CMOS clock set to UTC...So is this the right way? So all I need to know if I did this the right way as I described above. Am I right using the example above?
Did you read this part of my post above which mentions that the method you propse is the one I use.
Quote:
Originally Posted by reddazz
The method you suggested for setting UTC is the same as the one I use.
 
Old 04-24-2006, 01:39 AM   #7
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Original Poster
Rep: Reputation: 30
Oh yes...It must be getting late..I did not see that..Im tired..thanks..for your help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Various clock issues: Clock shows wrong time only in Knoppmyth, & CMOS time change ? davidbix General 1 04-05-2006 09:58 PM
Suse 9.2 boot hangs at "setting up cmos clock" villinux Linux - Software 2 03-19-2005 03:02 AM
System Clock UTC Whatever.. berkay Linux - Newbie 3 09-24-2004 01:29 AM
system clock vs. CMOS clock dtamajka Linux - General 7 12-11-2003 05:56 PM
my clock is UTC??? mathfeel Linux - General 2 08-16-2002 08:42 PM


All times are GMT -5. The time now is 03:13 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration