On Dec 10, 2007 10:58 PM, Dongsheng Song <[EMAIL PROTECTED]> wrote: > > On Dec 10, 2007 9:58 PM, Dongsheng Song <[EMAIL PROTECTED]> wrote: > > > OpenBSD assume bios time is utc, but it's PRC, can I tell OpenBSD the > > > bios time zone? > > > > http://marc.info/?l=openbsd-misc&m=111956694726618&w=2 > Thanks, but I can NOT open the page, could you excerpt for me ?
---------- On 6/24/05, Hanspeter Roth <[EMAIL PROTECTED]> wrote: > how can one set the time offset of the bios clock different from UTC? You obviously haven't searched the archives Please do so before posting; it'll save you from getting flamed. Your question is rather old (so you'll get an old RTFA, dating back to 2001). http://marc.theaimsgroup.com/?l=openbsd-misc&m=100897442502411&w=2 ---------- Subject: Re: system clock set to local time From: Dimitry Andric <dim () xs4all ! nl> Date: 2001-12-21 22:32:33 On 2001-12-21 at 09:59:35 Matt Wilbur wrote: MW> I have a laptop running 3.0 and dual booting to Lose2k. MW> I'd *really* like to set the system clock to localtime rather than UTC, MW> but I haven't been able to get OpenBSD to like this setup. Read config(8), and search for the "timezone" command. In short (assuming here that you are -480 minutes off): [EMAIL PROTECTED]:~$ sudo /usr/sbin/config -e /bsd OpenBSD 3.0-current (DARTHMAUL) #0: Fri Nov 2 23:40:38 CET 2001 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/DARTHMAUL Enter 'help' for information ukc> timezone -480 timezone = -480, dst = 0 ukc> quit Saving modified kernel. And you should be set... :) But a warning is in order: Windows likes to actually MODIFY the hardware clock when DST changes (insanity, really!), so then your OpenBSD time will be off 1 hour again. So maybe it's better to uncheck "Automatically adjust clock for daylight saving changes" in the Win2k Date/Time control panel. ---------- DS