From owner-freebsd-questions@freebsd.org Wed Jun 5 20:03:52 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6F4AF15B7E9E for ; Wed, 5 Jun 2019 20:03:52 +0000 (UTC) (envelope-from matthias@smormegpa.no) Received: from mailrelay4-1.pub.mailoutpod1-cph3.one.com (mailrelay4-1.pub.mailoutpod1-cph3.one.com [46.30.210.185]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0D3506B1A2 for ; Wed, 5 Jun 2019 20:03:50 +0000 (UTC) (envelope-from matthias@smormegpa.no) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smormegpa.no; s=20140924; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:from; bh=UIBDa2sfwPANq8hwcCd20r5uij6UY/lWySL3mrwoLy8=; b=e/SvjbKn0VIdSykYxN22GaYKW7Bw01Cqa9YJH+aJDj/zHdybJZDP7VkbYDWf/h95CbkkaHtKo2bT7 jH8jJxBK3X+reLadcw+2W6fdgJvnJrjV4PS6BWCIdfnEr2Tqp82rcGMgfV3Ekb7Oq9iSIhF20mur9h aMqqyHr1Adi5vXV0= X-HalOne-Cookie: 11115433f67289b6732b36134b2bfec563bc38a6 X-HalOne-ID: 07aba033-87cd-11e9-abcc-d0431ea8bb10 Received: from phlatboks (unknown [85.166.11.66]) by mailrelay4.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPSA id 07aba033-87cd-11e9-abcc-d0431ea8bb10; Wed, 05 Jun 2019 20:03:48 +0000 (UTC) Message-ID: <7a7d9f28d498b1a06c0bb9185ea61d224fb5710b.camel@smormegpa.no> Subject: Re: ntpd configutration -- a small suggestion from the peanut gallery From: Matthias Oestreicher To: "Ronald F. Guilmette" , freebsd-questions@freebsd.org Date: Wed, 05 Jun 2019 22:03:47 +0200 In-Reply-To: <52339.1559763722@segfault.tristatelogic.com> References: <52339.1559763722@segfault.tristatelogic.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 0D3506B1A2 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=smormegpa.no header.s=20140924 header.b=e/SvjbKn X-Spamd-Result: default: False [-2.17 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[smormegpa.no:s=20140924]; NEURAL_HAM_MEDIUM(-0.61)[-0.606,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-0.99)[-0.985,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[smormegpa.no]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[smormegpa.no:+]; MX_GOOD(-0.01)[cached: mx1.pub.mailpod3-cph3.one.com]; RCVD_IN_DNSWL_NONE(0.00)[185.210.30.46.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.89)[-0.888,0]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.12)[ipnet: 46.30.208.0/21(0.36), asn: 51468(0.27), country: DK(-0.02)]; ASN(0.00)[asn:51468, ipnet:46.30.208.0/21, country:DK]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2019 20:03:52 -0000 Am Mittwoch, den 05.06.2019, 12:42 -0700 schrieb Ronald F. Guilmette: > In message <58688a77362d7caad70df844d5077d0916f7f944.camel@smormegpa.no>, > Matthias Oestreicher wrote: > > > > Did I just miss those ntpd death messages somehow? > > > > Sorry, I've never seen ntpd exit due to too big offset and I don't know how that > > would > > show in /var/log/messages. > > It would appear that, most probably, nobody knows what the ntpd suicide log > messages look like, because it doesn't actually produce any (contrary to > what the man page says). > > > Anyway, even if it seems to work now, I'd check if your time is based on localtime > > or > > GMT. It's recommended to use GMT, I never use localtime personally. > > For me, I prefer local time. When I type "date" I don't really give a > flying fig what time it is in London. I'm in California. > > > In your original question you said:"off by several hours"... > > I don't think I said anything like that, but anyway,. yes, it is possible > that my BIOS clock was set way way off. (I actually think that it was set > quite close to actual local time, but I could be wrong about that.) > > > and that's usually caused by > > having FreeBSD configured to use localtime, while the hardware clock in the BIOS is > > set > > to GMT (or maybe the otherway around). > > Yes. Most likely the other way around in my case. > > > This happend to me once, when I accidentally > > chose localtime during install, while I had BIOS clock set to GMT. I was totally > > confused and wondered where that offset came from, until I got the hint to remove > > /etc/wall_cmos_clock on the forums. > > > > That said, check if the file /etc/wall_cmos_clock exists and if, remove it (it's an > > empty file). > > Well, *that* is bloody confusing. I thought that someone here just recommended > to me that I make suere that I *do* have this file... *not* that I don't have > it. > > > Normally, neither the -g option nor sync_on_start should be needed, if the hardware > > clock in your computer's BIOS is correctly set to GMT. Doesn't hurt to use them, > > but if > > ntpd does not work without, I'd check the clock. > > See above and my various other messages. I need to keep the BIOS clock set > to local time for reasons having nothing to do with FreeBSD. > > Anyway, no worries. I'm a happy camper now. Ntpd is running and all is > well with the world. > > > Regards, > rfg > I didn't mean to confuse. If you prefer your BIOS clock to be localtime, then /etc/wall_cmos_clock must indeed exist. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"