View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Time syncing
PostPosted: Sat Nov 14, 2009 9:10 am 
Offline
Joined: Thu Oct 26, 2006 8:40 am
Posts: 45
Location: Ohio
I know in previous version knoppmyth used to sync with a timeserver automatically(cron job?). Is Linhes still set up to do this? because my time seems to be getting off (3min ahead).

Thank you for a great myth distro

_________________
HD homerun
Hauppauge WinTV-HVR-1600 ATSC/ClearQAM
1.5 TB
2 GB ram
ASUS M4A78 Plus AM3/AM2+/AM2 AMD 770 ATX AMD Motherboard
AMD Athlon II X2 250 Regor 3.0GHz Socket AM3 65W Dual-Core Processor


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 14, 2009 11:59 am 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
I believe it uses ntpd and that it's auto configured to start... you can check by doing:

Code:
$ sudo sv status ntpd
run: ntpd: (pid 2974) 11332s


It's up on my machine as you can see (up for 11332 seconds).

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 14, 2009 2:59 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
Or even better, this command will query the peers that the ntp daemon is obtaining its time from including the time offset to each peer:
Code:
[root@mythtv ~]# ntpq -p 127.0.0.1
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 ali.rack1_gigab 128.250.33.242   2 u   18   64   17   70.512   43.164  60.824
*ntp2.Housing.Be 128.32.206.55    2 u   17   64   17  198.731   40.113  37.324
+null-routed.net 198.153.152.52   2 u   12   64   17  200.552   34.848  37.355
-ntp.pbx.org     192.5.41.40      2 u   19   64   17  268.033  -37.686  60.326
+miami.esysmail. 128.252.19.1     2 u   14   64   17  260.488   13.826  35.324


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 15, 2009 7:18 am 
Offline
Joined: Thu Oct 26, 2006 8:40 am
Posts: 45
Location: Ohio
Well ntpd is running

Code:
[root@mythtv john]# sv status ntpd
run: ntpd: (pid 4514) 1857007s


But I'm not sure its working right?
Code:
[root@mythtv john]# ntpq -p 127.0.0.1
No association ID's returned

_________________
HD homerun
Hauppauge WinTV-HVR-1600 ATSC/ClearQAM
1.5 TB
2 GB ram
ASUS M4A78 Plus AM3/AM2+/AM2 AMD 770 ATX AMD Motherboard
AMD Athlon II X2 250 Regor 3.0GHz Socket AM3 65W Dual-Core Processor


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 15, 2009 8:25 am 
Offline
Joined: Thu Oct 26, 2006 8:40 am
Posts: 45
Location: Ohio
Well I fixed it. I just restarted ntpd and it corrected the time. I'm thinking my network wasn't working the first time ntpd started.
Code:
[root@mythtv sv]# ntpq -p 127.0.0.1
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 ntp.yoinks.net  198.60.22.240    2 u   50   64    3   58.893   -2.987   4.973
-65.254.214.170  129.6.15.29      2 u   50   64    3   30.576   -0.027   2.054
+69.36.241.112   132.163.4.102    2 u   47   64    3  103.207   -4.380   2.473
+morose.quex.org 128.118.25.5     2 u   46   64    3   39.059   -4.363   6.548
*ntp.your.org    .CDMA.           1 u   48   64    3   27.985   -1.883   6.023
[root@mythtv sv]#

_________________
HD homerun
Hauppauge WinTV-HVR-1600 ATSC/ClearQAM
1.5 TB
2 GB ram
ASUS M4A78 Plus AM3/AM2+/AM2 AMD 770 ATX AMD Motherboard
AMD Athlon II X2 250 Regor 3.0GHz Socket AM3 65W Dual-Core Processor


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 31 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu