From owner-freebsd-hackers Sun Jan 28 04:43:10 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA27772 for hackers-outgoing; Sun, 28 Jan 1996 04:43:10 -0800 (PST) Received: from plato.algonet.se (mail.algonet.se [193.12.207.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id EAA27763 for ; Sun, 28 Jan 1996 04:43:05 -0800 (PST) Received: from sophocles.algonet.se (mal@sophocles.algonet.se [193.12.207.10]) by plato.algonet.se (8.6.12/hdw.1.0) with ESMTP id NAA04881; Sun, 28 Jan 1996 13:43:02 +0100 Received: (from mal@localhost) by sophocles.algonet.se (8.6.12/hdw.1.0) id NAA25243; Sun, 28 Jan 1996 13:42:11 +0100 Date: Sun, 28 Jan 1996 13:42:11 +0100 Message-Id: <199601281242.NAA25243@sophocles.algonet.se> From: Mats Lofkvist To: nate@sri.MT.net CC: hackers@FreeBSD.org In-reply-to: <199601271937.MAA04890@rocky.sri.MT.net> (message from Nate Williams on Sat, 27 Jan 1996 12:37:41 -0700) Subject: Re: ntp stuff? Sender: owner-hackers@FreeBSD.org Precedence: bulk Well, I would not say I'm a ntp guru, but I do use it (at work synchronizing an "internet unplugged" network to the local clock in a sun ipx and at home synchronizing my pc to the nearest real ntp server I could find). To make the xntpd daemon sync to a external server, I can't see why ---- server # this makes me a client of external server driftfile /etc/ntp.drift # not sure this is necessary, might be default ---- in /etc/ntp.conf wouldn't work. More than one "server" line is good for redundancy. Basically the same in your client machines but with the ip pointing to your gateway machine instead of the external server(s) should also work. All of this is of course assuming your firewall is letting the necessary packets through... My home config: ----/etc/ntp.conf---- server 192.36.125.2 # sunic.sunet.se server 194.68.128.19 prefer # Stockholm-DGIX.sunet.se driftfile /etc/ntp.drift keys /etc/ntp.keys requestkey 1 controlkey 1 ---- ----/etc/ntp.keys---- (-rw-------) 1 M xyzzy ---- ----/etc/sysconfig--- ... # xntpd flags, or NO if you don't want to start the xntpd daemon xntpdflags= # this is inoperative unless xntpd is enabled; NO to disable tickadjflags="-Aq" ... ---- (I also had to set TIMER_FREQ in my config file to make ntp not lose sync after a few minutes due to too large drifts.) _ Mats Lofkvist mal@algonet.se