From owner-freebsd-questions Wed Nov 22 6: 7:48 2000 Delivered-To: freebsd-questions@freebsd.org Received: from madness.mdgnet.org (unknown [24.92.156.65]) by hub.freebsd.org (Postfix) with SMTP id 69B8A37B4CF for ; Wed, 22 Nov 2000 06:07:46 -0800 (PST) Received: (qmail 9588 invoked by uid 1000); 22 Nov 2000 14:07:40 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 22 Nov 2000 14:07:40 -0000 Date: Wed, 22 Nov 2000 09:07:40 -0500 (EST) From: Matthew George To: Angus Tsoi Cc: "'freebsd-questions@freebsd.org'" Subject: Re: about how to setup ntp server In-Reply-To: <01C054A3.66D659A0@angus.broadway-ps.com.hk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG echo 'xntpd_enable=YES' >> /etc/rc.conf echo 'server stdtime.gov.hk' >> /etc/ntp.conf ntpd -p /var/run/ntpd.pid you should then be able to run `ntpq` and do a 'readvar' to get your server's stats On Wed, 22 Nov 2000, Angus Tsoi wrote: > Date: Wed, 22 Nov 2000 16:43:53 +0800 > From: Angus Tsoi > To: "'freebsd-questions@freebsd.org'" > Subject: about how to setup ntp server > > Dear Sir, > > I'm Angus who is a technical support, I have some problem in setting up a NTP Server in FreeBSD 2.2.7 > The Problems are ---- > - I had been set "ntpdate stdtime.gov.hk" in /etc/crontab, it's work in the "xntpd=NO" in /etc/defaults/rc.conf", when I start the "xntpd=YES", then the "ntpdate" doesn't work and so the message "The NTP socket is using", then I can't sync the time from Hong Kong Government's Server, how can I solve it?? > > - if my FreeBSD can work in above problem, then another FreeBSD & Linux Server how to Sync the time from above Server?? is it use "ntpdate" or "xntpd" ??? > > Thanks. > > Best Regards, > Angus Tsoi > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message