From owner-freebsd-isp Fri Jan 16 13:12:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA16571 for freebsd-isp-outgoing; Fri, 16 Jan 1998 13:12:02 -0800 (PST) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from ponyexpress.gwc.cccd.edu (ponyexpress.gwc.cccd.edu [159.115.129.50]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA16526 for ; Fri, 16 Jan 1998 13:11:41 -0800 (PST) (envelope-from mpeer@ponyexpress.gwc.cccd.edu) Received: from mpeer (mpeer.csc.gwc.cccd.edu [159.115.129.100]) by ponyexpress.gwc.cccd.edu (8.8.7/8.8.7) with SMTP id LAA18203; Fri, 16 Jan 1998 11:29:01 -0800 (PST) (envelope-from mpeer@ponyexpress.gwc.cccd.edu) Message-Id: <3.0.1.32.19980116113511.009c0210@rustler.gwc.cccd.edu> X-Sender: mpeer@rustler.gwc.cccd.edu X-Mailer: Windows Eudora Pro Version 3.0.1 (32) Date: Fri, 16 Jan 1998 11:35:11 -0800 To: "Jonathan A. Zdziarski" , freebsd-isp@FreeBSD.ORG From: Michael Peer Subject: Re: xntpd In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I had to specify in my rc.conf file ( 2.2.5 ) startup parameter of "-c /etc/ntp.conf" otherwise it would not always stay resident. It takes mine about 5 to 15 minutes before servers synchronize. I use xntpdc the peers command and wait for it to show me the peers I specified in my ntp.conf file. Attached is one of my ntp.conf files, this might also help. Be aware of the comment in the middle. I have played around with how it works, and not had a chance to dive into protocol more, so sometimes it just seems magic, when it works ;) # # List the sources for our time # server xxx.xxx.x.x # stratum x: clock you synch from server xxx.xxx.x.x # stratum x: 2nd clock you synch from server 127.127.1.3 # stratum 3: our own local internal clock # # Broadcast NTP packets on our LAN # # broadcast xxx.xxx.xxx.255 # # Don't let anybody reconfigure us! # restrict default ignore notrust restrict xxx.xxx.0.0 mask 255.255.0.0 nomodify restrict xxx.xxx.xxx.xx -----> comment above is you host's IP address --- remove me restrict 127.0.0.1 # # Drift file. Put this in a directory which the daemon can write to. # No symbolic links allowed, either, since the daemon updates the file # by creating a temporary in the same directory and then rename()'ing # it to the file. # driftfile /usr/local/etc/ntp.drift # # Authentication delay. If you use, or plan to use someday, the # authentication facility you should make the programs in the auth_stuff # directory and figure out what this number should be on your machine. # #authdelay 0.000036 # # Keys file. If you want to diddle your server at run time, make a # keys file (mode 600 for sure) and define the key number to be # used for making requests. # #keys /etc/ntp.keys #requestkey 65535 At 01:57 PM 1/16/98 -0500, Jonathan A. Zdziarski wrote: >Trying to set up xntpd for the first time - I want to sync all of our >servers up with our main server...I've tried this: > >clients: >/etc/ntp.conf: server server.x.com > >server: >/etc/ntp.conf: client client1.x.com >/etc/ntp.conf: client client2.x.com > >and so on...then started xntpd and nothing syned up. I also tried: > >clients: >/etc/ntp.conf: broadcastclient x.x.x.1 > >server: >/etc/ntp.conf: broadcast x.x.x.1 > >and still nothing. Is there an easy way to set this thing up and make it >work? > > >------------------------------------------------------------------------- >Jonathan A. Zdziarski NetRail Incorporated >Systems Engineering Manager 230 Peachtree St. Suite 1550 >jonz@netrail.net Atlanta, GA 30303 >http://www.netrail.net (888) - NETRAIL >------------------------------------------------------------------------- > > ---------------------------------------------------------------------- Michael Peer Data Electronics Technician I Golden West College Computer Services Center 15744 Goldenwest St. Huntington Beach, CA 92647 e-mail: mpeer@gwc.cccd.edu Voice: (714)892-7711 ext 55067 WWW: http://pioneer.gwc.cccd.edu FAX: (714)895-8980