Satellite == NTP cannot set date

Help with booting MiniMyth

Moderator: Pablo

Post Reply
seth_keith
Contributor
Posts: 131
Joined: Fri Mar 09, 2007 8:13 pm

Satellite == NTP cannot set date

Post by seth_keith » Wed Feb 25, 2009 2:50 am

If you have a satellite NTP may not work for you. You can manually edit the ntpdate line inside

/rootfs-ro/etc/rc.d/init/time.pm

Change this line from

# if (system(qq(/usr/bin/ntpdate -b -s "$_")) == 0)

to

if (system(qq(/usr/bin/ntpdate -t 60 -b -s "$_")) == 0)

This gives a 60 second timeout. I have wildblue, most other satellite vendors will cause problems.

Possibly we could get some timeout defaults for high latency connections in minimyth.conf?

I also had problems with the default timeout values in the "myth weather" package....

seth_keith
Contributor
Posts: 131
Joined: Fri Mar 09, 2007 8:13 pm

60 is way too long

Post by seth_keith » Wed Feb 25, 2009 2:58 am

60 seconds is wayyy too long, try -t 3 or -t 4 instead for wildblue.

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Post by Pablo » Wed Feb 25, 2009 6:25 am

Is there some reason that you do not sync the time of your frontend(s) to your master backend?
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

seth_keith
Contributor
Posts: 131
Joined: Fri Mar 09, 2007 8:13 pm

sync front end to back end time

Post by seth_keith » Sat Feb 28, 2009 7:02 am

It sounds good to sync the frontend to the backed time to me, I just wasn't thinking straight ( or possibly reading too much ).

However, I think there are still timeout related networking issues related to the myth weather and the IMDB poster retrieval. More details later...

Post Reply