*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596
Rep:
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?
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.
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596
Original Poster
Rep:
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.
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.
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596
Original Poster
Rep:
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.