Date: Fri, 16 Jan 1998 11:35:11 -0800 From: Michael Peer <mpeer@ponyexpress.gwc.cccd.edu> To: "Jonathan A. Zdziarski" <jonz@netrail.net>, freebsd-isp@FreeBSD.ORG Subject: Re: xntpd Message-ID: <3.0.1.32.19980116113511.009c0210@rustler.gwc.cccd.edu> In-Reply-To: <Pine.BSF.3.95q.980116135546.9422A-100000@gill.netrail.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.1.32.19980116113511.009c0210>