[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ntp server



hi ya zenaan

On Thu, 24 Jun 2004, Zenaan Harkness wrote:

edit your ntp.conf files as shown:

> laptop:
----------
> driftfile /var/lib/ntp/ntp.drift
> server whiskas
> server 127.127.1.0
> fudge 127.127.1.0 stratum 13
  #
  logconfig       all
  logfile         /var/log/xntpd
  #
  broadcastclient
  #
  authenticate no

> my 'server' aka "whiskas":
---------------------------
> driftfile /var/lib/ntp/ntp.drift
> server tk1.ihug.com.au
> server tk2.ihug.com.au
> server 127.127.1.0
> fudge 127.127.1.0 stratum 10
  #
  logconfig       all
  logfile         /var/log/xntpd
  #
  # broadcastclient
  broadcastdelay  0.008
  broadcast       192.168.1.0  -- your local [laptop] network address
  #
  restrict default nomodify notrust
  restrict 127.0.0.1
  #
  authenticate no

> 
> whiskas:~# ntptrace -vd tk1.ihug.com.au
> tk1.ihug.com.au: stratum 2, offset 0.001248, synch distance 0.009424
> murgon.cs.mu.OZ.AU: stratum 1, offset 0.000003, synch distance 0.000000,

good, whiskas can get time from ihug.com.au


> from my laptop, that last line has one difference - offset 0.000007
> 
> $ ntptrace --version
> /usr/bin/ntptrace version [unknown] calling Getopt::Std::getopts
> (version 1.05 [paranoid]),
> running under Perl version 5.8.4.
>   [Now continuing due to backward compatibility and excessive paranoia.
>    See ``perldoc Getopt::Std'' about
> $Getopt::Std::STANDARD_HELP_VERSION.]
> localhost: stratum 14, offset 0.000000, synch distance 0.000000

bad, laptop is all alone in the cold world

it didn't work, laptop isnt sync'ing yet 
( offset/distance should not be zero )

c ya
alvin



Reply to: