From owner-freebsd-questions Wed Mar 15 3:22:26 2000 Delivered-To: freebsd-questions@freebsd.org Received: from axl.ops.uunet.co.za (axl.ops.uunet.co.za [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 95C8637B8C2 for ; Wed, 15 Mar 2000 03:22:21 -0800 (PST) (envelope-from sheldonh@axl.ops.uunet.co.za) Received: from sheldonh (helo=axl.ops.uunet.co.za) by axl.ops.uunet.co.za with local-esmtp (Exim 3.13 #1) id 12VBsQ-000DMR-00; Wed, 15 Mar 2000 13:22:10 +0200 From: Sheldon Hearn To: "jimmy martin" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: xntpd In-reply-to: Your message of "Wed, 15 Mar 2000 07:16:45 GMT." <20000315071645.67137.qmail@hotmail.com> Date: Wed, 15 Mar 2000 13:22:10 +0200 Message-ID: <51362.953119330@axl.ops.uunet.co.za> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 15 Mar 2000 07:16:45 GMT, "jimmy martin" wrote: > Ive been told that my sysdate may be messed up and to run xntpd, which > i did but do not know what it does or if it fixes my problem, any know > about xntpd? Yes, the problems you were having looked very much like a problem with your clock. Use the ``date'' command from the command-line to see whether your system's clock looks right. Does it? If not, then you're probably not using something like xntpd to keep your clock synchronized. The xntpd daemon runs on your system and checks the time on other hosts which you specify, changing the local time to agree with theirs if necessary. It can do a lot more than that, but that's all you need it to do in your case. This isn't the only way to fix the clock on your host, it's just a good way to _keep_ it fixed. The problem is that the xntpd manual page is a little overwhelming. :-) Presumably you added these lines to your /etc/rc.conf and rebooted: ntpdate_enable="YES" xntpd_enable="YES" Also, you should have added (before rebooting, obviously) some lines to your /etc/ntp.conf that looks like this: server ntp0.example.com server ntp.myisp.com server clock.myoffice.com Don't use those, find out what you should be using. Talk to your network provider about it. If they won't help you, try the list of public NTP servers at http://www.eecis.udel.edu/~mills/ntp/servers.htm Ciao, Sheldon. PS: You don't have to reboot just to get xntpd running; once you've made the necessary changes to /etc/rc.conf and /etc/ntp.conf, just do this: /usr/sbin/xntpd -p /var/run/ntpd.pid To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message