Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Feb 2009 16:02:32 +0100
From:      DadAN <dadans@gmail.com>
To:        freebsd-hardware@freebsd.org
Subject:   Re: Hardware clock is not SYNC'ed with kernel clock by ntpdate?
Message-ID:  <adae30300902150702p608fa06amc24383c73bc34f07@mail.gmail.com>
In-Reply-To: <800496.48763.qm@web45816.mail.sp1.yahoo.com>
References:  <200902131045.n1DAjtxw031128@lurza.secnetix.de> <800496.48763.qm@web45816.mail.sp1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

> However, how should I make this automatic, something that will update the CMOS clock everytime the kernel clock is syncronized       > with a NTP server? Do I need to make changes on the variables below?

You can run it as cron job, for example
1,31    0-5     *       *       *       root    adjkerntz -a

here is my # sysctl -a machdep
machdep.enable_panic_key: 0
machdep.adjkerntz: -3600
machdep.wall_cmos_clock: 1
machdep.disable_rtc_set: 0
machdep.conspeed: 115200
machdep.gdbspeed: 9600
machdep.conrclk: 1843200
machdep.disable_mtrrs: 0
machdep.guessed_bootdev: 2686451712
machdep.cpu_idle_hlt: 1
machdep.hlt_cpus: 0
machdep.prot_fault_translation: 0
machdep.panic_on_nmi: 1
machdep.tsc_freq: 514994590
machdep.i8254_freq: 1193182
machdep.acpi_timer_freq: 3579545
machdep.acpi_root: 1016224


-- 
DadAN



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?adae30300902150702p608fa06amc24383c73bc34f07>