Hitchhiker's Guide to Openbsd
- Why is my clock off by several hours?
Download 1.27 Mb. Pdf ko'rish
|
obsd-faq49
8.25 - Why is my clock off by several hours?
By default, OpenBSD assumes your hardware clock is set to UTC (Universal Coordinated Time) rather than local time, assumed by some other operating systems, which can cause problems when multi- booting . Many other operating systems, can be configured to do the same, which avoids this problem altogether. If having the hardware clock set to UTC is a problem, you can change the default behavior of OpenBSD using config(8) . For example, to configure OpenBSD to use a hardware clock set to US/Eastern (5 hours behind UTC, so 300 minutes): # config -ef /bsd OpenBSD 4.9 (GENERIC) #671: Wed Mar 2 07:09:00 MST 2011 deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/ GENERIC Enter 'help' for information ukc> timezone 300 timezone = 300, dst = 0 ukc> quit Saving modified kernel. See options(4) and search for option "TIMEZONE=value" for more information. http://www.openbsd.org/faq/faq8.html (19 of 20)9/4/2011 10:02:10 AM 8 - General Questions Normally, the time zone is set during install. If you have need to change the time zone, you can create a new symbolic link to the appropriate time zone file in /usr/share/zoneinfo . For example, to set the machine to use EST5EDT as the new local time zone: # ln -fs /usr/share/zoneinfo/EST5EDT /etc/localtime See also: ● date(1) ● "Why is my clock off by twenty-some seconds?" ● OpenBSD's NTPD [FAQ Index] [To Section 7 - Keyboard and Display Controls] [To Section 9 - Migrating to OpenBSD] www@openbsd.org $OpenBSD: faq8.html,v 1.232 2011/08/30 22:40:38 nick Exp $ http://www.openbsd.org/faq/faq8.html (20 of 20)9/4/2011 10:02:10 AM 9 - Migrating to OpenBSD [FAQ Index] [To Section 8 - General Questions] [To Section 10 - System Management] Download 1.27 Mb. Do'stlaringiz bilan baham: |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2025
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling