Re: ntp configuration
hi ya z
On Wed, 30 Jun 2004, Zenaan Harkness wrote:
> whiskas:~# ntpdate tk1.ihug.com.au
> 30 Jun 11:31:07 ntpdate[31469]: the NTP socket is in use, exiting
duh ... :-) sorry :-)
> whiskas:~# /etc/init.d/ntp-server stop
> Stopping NTP server: ntpd.
> ### 04-06-30 11:32:32 __________
> whiskas:~# ntpdate tk1.ihug.com.au
> 30 Jun 11:32:36 ntpdate[31493]: adjust time server 203.109.250.41 offset
> 0.0027 60 sec
says you can connect to it ...
that is the server oyu need listed
> ### 04-06-30 11:34:14 __________
> whiskas:~# cat /etc/ntp.conf
> driftfile /var/lib/ntp/ntp.drift
> #server time-server.bigpond.net.au
> server tk1.ihug.com.au
good ....
> server 127.127.1.0
> fudge 127.127.1.0 stratum 10
>
> logconfig all
> logfile /var/log/xntpd
> broadcastdelay 0.008
> broadcast 192.168.0.0
i assume your laptop ( the other ntp config ) is in this ip# range
and besides, you need to make sure all your masks etc
are properly configured, including the firewall that
should allow ntp traffic
- your laptop only needs to point to whiskas
-------
do the same "ntpdate whiskas" from your laptop and you're done
if you get a non-zero offset
c ya
alvin
> restrict default nomodify notrust
> restrict 127.0.0.1
> disable auth
> #broadcastclient
>
Reply to: