[mythtv-users] Setting up time syncronisation

Stef Coene stef.coene at docum.org
Fri Jul 22 06:00:22 EDT 2005


On Friday 22 July 2005 06:08, Nick Rout wrote:
> > Geek Stuff wrote:
> > > I've trying to set up time syncing on my Mythbox as the time seems to
> > >  drifting quite badly...
> > >
> > > I've added
> > >
> > > ntpdate ntp2d.mcc.ac.uk
> > >
> > > to cron
> >
> > Not really the way go about it anyway. ntpdate typically gets run at
> > startup to sync the time. After this ntpd should be run instead. It
> > can continuously track one, or preferably more time servers.
>
> while you are right, I have found ntpd to be a bit of a pain to set up,
> and to not run for very obscure reasons.
I don't know if you know the "ntpq -p" command?  It shows you the status of 
your ntpd server.  I found out that once the server is running you don't have 
to worry again.  It will take some time before a remote server is accepted as 
a source for synchronisation.

ntpq -p
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 LOCAL(0)        LOCAL(0)        13 l    1   64  377    0.000    0.000   0.004
+sciniext.scinic 193.204.114.232  2 u  688 1024  377   56.283   -2.407   0.436
+bob.askja.de    192.53.103.103   2 u  333 1024  377   34.603   -2.231   0.392
 underworld.drax .STEP.          16 u    - 1024    0    0.000    0.000 4000.00
*underworld.drax .DCFa.           1 u  623 1024  377   37.426   19.768   4.687

*: that's the one I use for synchronisation
+: that's a server I can use for synchronisation

relevant lines in /etc/ntp.conf:

server 127.127.1.0
fudge 127.127.1.0 stratum 13
server europe.pool.ntp.org
server europe.pool.ntp.org
server europe.pool.ntp.org
server europe.pool.ntp.org


Stef


More information about the mythtv-users mailing list