Re: ntp configuration
On Tue, 2004-06-29 at 03:39, Bob Proulx wrote:
> Zenaan Harkness wrote:
> > Even after quite a few emails of support from this list (and thanks very
> > much to those who helped) I still can't get my laptop to sync with my
> > server.
>
> Oh, gosh, I will open the can marked "worms". What is the problem?
:) glad you arksed.
> Of course I may be a bad person to ask since it has always just worked
> for me. I have never needed to debug it. I use it on all of the work
> machines and on my laptop to keep the time. My laptop moves from
> network to network and it syncs fine.
SERVER:
---
whiskas:~# cat /etc/ntp.conf
driftfile /var/lib/ntp/ntp.drift
server time-server.bigpond.net.au
server tk1.ihug.com.au
server tk2.ihug.com.au
server tk3.ihug.com.au
server pool.ntp.org
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
restrict default nomodify notrust
restrict 127.0.0.1
disable auth
#broadcastclient
whiskas:~# ntpq -cpe
remote refid st t when poll reach delay offset
jitter
==============================================================================
gen21.ihug.com. .RSTR. 16 u - 64 0 0.000 0.000
4000.00
gen22.ihug.com. .RSTR. 16 u - 64 0 0.000 0.000
4000.00
gen23.ihug.com. .RSTR. 16 u - 64 0 0.000 0.000
4000.00
stilton.pencil. .RSTR. 16 u - 64 0 0.000 0.000
4000.00
*LOCAL(0) LOCAL(0) 10 l 24 64 377 0.000 0.000
0.001
192.168.0.0 .BCST. 16 u - 64 0 0.000 0.000
4000.00
LAPTOP:
---
zen8100a:~# cat /etc/ntp.conf
driftfile /var/lib/ntp/ntp.drift
server whiskas
#server time-server.bigpond.net.au
#server tk1.ihug.com.au
#server tk2.ihug.com.au
#server tk3.ihug.com.au
#server pool.ntp.org
server 127.127.1.0
fudge 127.127.1.0 stratum 13
logconfig all
logfile /var/log/xntpd
broadcastclient
disable auth
zen8100a:~# ntpq -cpe
remote refid st t when poll reach delay offset
jitter
==============================================================================
whiskas .INIT. 16 u - 1024 0 0.000 0.000
4000.00
*LOCAL(0) LOCAL(0) 13 l 319 1024 377 0.000 0.000
0.001
----------
As you can see, the laptop is configured to only look at the server.
It's not a firewall problem (I think) - I can access the ntp port on the
server (tested this a few days back).
Any help appreciated,
Zen
Reply to: