LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 06: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, 11:38 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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-24-2006, 12:44 AM   #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-24-2006 at 12:47 AM.
 
Old 04-24-2006, 01:17 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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, 01: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 02:05 AM.
 
Old 04-24-2006, 02:10 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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, 02: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 10:58 PM
Suse 9.2 boot hangs at "setting up cmos clock" villinux Linux - Software 2 03-19-2005 04:02 AM
System Clock UTC Whatever.. berkay Linux - Newbie 3 09-24-2004 02:29 AM
system clock vs. CMOS clock dtamajka Linux - General 7 12-11-2003 06:56 PM
my clock is UTC??? mathfeel Linux - General 2 08-16-2002 09:42 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 05:12 AM.

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