Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Nov 2000 09:07:40 -0500 (EST)
From:      Matthew George <mdg@mdgnet.org>
To:        Angus Tsoi <angus@broadway-ps.com>
Cc:        "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:   Re: about how to setup ntp server
Message-ID:  <Pine.BSF.4.21.0011220904120.9504-100000@madness.mdgnet.org>
In-Reply-To: <01C054A3.66D659A0@angus.broadway-ps.com.hk>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <angus@broadway-ps.com>
> To: "'freebsd-questions@freebsd.org'" <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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0011220904120.9504-100000>