From owner-freebsd-questions Wed Dec 1 3: 1:33 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.rdc1.tn.home.com (ha1.rdc1.tn.home.com [24.2.7.66]) by hub.freebsd.org (Postfix) with ESMTP id 5112114FA9 for ; Wed, 1 Dec 1999 03:01:30 -0800 (PST) (envelope-from montana1@home.com) Received: from camelot ([24.6.55.158]) by mail.rdc1.tn.home.com (InterMail v4.01.01.00 201-229-111) with SMTP id <19991201110130.MOUV7535.mail.rdc1.tn.home.com@camelot>; Wed, 1 Dec 1999 03:01:30 -0800 Reply-To: From: "Mark Einreinhof" To: "Greg Lehey" Cc: "Freebsd-Questions" Subject: RE: XNTP help Date: Wed, 1 Dec 1999 05:01:26 -0600 Message-ID: <000c01bf3beb$69d3ba20$0201010a@cmr.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <19991127195741.13573@mojave.sitaranetworks.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I changed rc.conf to reflect your suggestions. However, the time is still off. When I reboot it resyncs the time with that server. I asked permission to use the server right from the beginning. I have a Win98 client running Automachron on the inside lan pointing to the same time server. The Win98 resyncs every five minutes. The /var/log/messages from what I understand, just show that xntpd is running. I was hoping that if I waited a day, that FBSD would sync back up when it does the daily security emails and such. Unfortunately that didn't happen. As I write this the Win98 client shows 0459 CST and FBSD shows 0703 CST. -----Original Message----- From: Greg Lehey [mailto:grog@mojave.sitaranetworks.com] Sent: Saturday, November 27, 1999 6:58 PM To: big-sky@altavista.net; Freebsd-Questions Subject: Re: XNTP help On Saturday, 27 November 1999 at 10:28:06 -0600, Mark Einreinhof wrote: > OK, I'm getting really frustrated. Reading the man for xntpd, I'm left > with the impression that xntpd goes out and gets the time sync every > now and then. However, on my machine, it keeps losing time. After a > reboot, the time is fixed, but then slowly moves ahead of the correct > time. Currently it is 1hr 14minutes ahead and I just rebooted it last > night. > > ps -ax displays: > 257 ?? S > Entry in rc.conf: > xntpd -b -c /etc/ntp.conf -f /etc/ntp.drift Why have you done this? You shouldn't have any commands in rc.conf. You should have: xntpd_enable="YES" # Run xntpd Network Time Protocol (or NO). The other defaults in /etc/defaults/rc.conf are correct. But this shouldn't be your problem. > Entry ntp.conf: > server tick.uh.edu Are you sure that it's accepting your requests? > Do I need to set up a cron job for this? No. > Did I type something wrong? I can't see anything. What does your /var/log/messages say on the subject? Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message