From owner-freebsd-questions Thu Jul 8 8: 1:41 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 92E4D154E8 for ; Thu, 8 Jul 1999 08:01:37 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id KAA82212; Thu, 8 Jul 1999 10:00:19 -0500 (CDT) (envelope-from dan) Date: Thu, 8 Jul 1999 10:00:18 -0500 From: Dan Nelson To: Steve Friedrich Cc: FreeBSD Questions Subject: Re: Time sync Message-ID: <19990708100018.A81493@dan.emsphone.com> References: <199907081440.KAA16447@laker.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <199907081440.KAA16447@laker.net>; from "Steve Friedrich" on Thu Jul 8 10:39:02 GMT 1999 X-OS: FreeBSD 4.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Jul 08), Steve Friedrich said: > I want to know the "best" method to use to sync my 486 box via the > Internet, and I want it to act as a time server to my local machines. > I have been using ntpdate manually on occasion to sync time from > otc1.psu.edu. But I don't know how to make the box a time server for > my local net. I've tried xntpd, but then it takes the port and > prevents ntpdate from running. And I still couldn't get it to serve > time to a local FreeBSD box running 3.2. If you have xntpd running, ntpdate is not needed. xntpd is both client and server. you should have something like: server laker.net server 127.127.1.0 fudge 127.127.1.0 stratum 10 driftfile /etc/ntp.drift Your ISP is a strat-2 ntp server already; no need to bug a strat-1 server for your little dialup net. The 127.127.1.0 "server" is really your internal clock, "fudged" to be a low priority strat-10 server; it'll fall back to that when your link is down. You will also want to add port 123 to your keepalive and dialout filters in ppp, so that the NTP packets don't force a dialout or keep your line up if there's no other traffic. That way, then your link is up it'll synch to laker.net. When your link is down it'll free-run, but still serve time to your internal net. > This is just a home network and time isn't critical, but I want to sync > time from the Net, maybe once a day or once a week, but serve time to > local machines any time they request it. > > help... > > cc me please, I unsubscribed from the list due to heavy traffic. standard operating procedure for this list. (the CCs, not the unsubscribing :) -Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message