Subject: Re: clock problem ...
To: None <hubert.feyrer@informatik.fh-regensburg.de>
From: Steven M. Bellovin <smb@research.att.com>
List: port-i386
Date: 01/25/2000 17:30:20
In message <Pine.GSO.4.05.10001252303420.22821-100000@rfhs8036>, Hubert Feyrer 
writes:
> On Tue, 25 Jan 2000, Andrew Todorov wrote:
> > How can I setup my NetBSD clock to be equal to BIOS clock ?
> 
> If adjusting /etc/localtime doesn't help, and you're multi-booting other
> operating systems, playing with the RTC_OFFSET option in your kernel
> config may help. Here's what I use:
> 
> options         RTC_OFFSET=-60  # hardware clock is this many mins. west of GMT

At least in my kernel (1.4P, the Comdex snapshot), I believe you can do the 
same with sysctl:

	sysctl -w kern.rtc_offset=xxx



		--Steve Bellovin