[mythtv-users] Installation instructions for mythbuntu 16.04.1

Hika van den Hoven hikavdh at gmail.com
Fri Dec 16 18:02:27 UTC 2016


Hoi Jay,

Friday, December 16, 2016, 6:14:44 PM, you wrote:

> On 12/16/2016 9:02 AM, Hika van den Hoven wrote:
>> Hoi Jay,
>>
>> Friday, December 16, 2016, 5:52:40 PM, you wrote:
>>
>>> On 12/16/2016 8:20 AM, Hika van den Hoven wrote:
>>>> Good job! Jim and Philip! :-)
>>>>
>>>> _______________________________________________
>>>> mythtv-users mailing list
>>>> mythtv-users at mythtv.org
>>>> http://lists.mythtv.org/mailman/listinfo/mythtv-users
>>>> http://wiki.mythtv.org/Mailing_List_etiquette
>>>> MythTV Forums: https://forum.mythtv.org
>>>>
>>> I'm still running mythbuntu 14.04 LTS, and have no need to upgrade to
>>> 16.04 at this time.  There will come a time when I will need to, so I
>>> could use some clarification about the changes to systemd.
>>> I have several HDHomeRun tuners, so I need to make mythtv-backend wait
>>> until they are ready.  However, the proposed changes to wait for the
>>> network to be up seem insufficient to me.  It is not the network that
>>> mythtv-backend needs to wait for, but the HDHomeRun tuners.  The tuners
>>> require an IP address, obtained via DHCP, so it seems that
>>> mythtv-backend really needs to wait for the HDHomeRun tuners to get
>>> their IP addresses, which is hard to determine, or at least until the
>>> DHCP server is running.
>>> I remember on my old 0.21 version, I added an HDHomeRun startup script
>>> that waited until it could access the HDHomeRun tuners, and changed the
>>> mythtv-backend startup order to after that to accomplish the wait.  I
>>> have no idea what 14.04 (0.27) is doing here, but moving on to 16.04
>>> (0.28, systemd), seems like something more is needed.
>>> Jay
>>> _______________________________________________
>> I have a ping loop in my mythbackend start script:
>>
>>          IsAwake=`ping -q -c1 192.168.223.20 | grep received | cut -f4 -d' '`
>>          while [ "$IsAwake" == "0" ]; do
>>                  einfo "Waiting for the HD homerun to apear"
>>                  sleep 1
>>                  IsAwake=`ping -q -c1 192.168.223.20 | grep received | cut -f4 -d' '`
>>          done
>>
>> The einfo is I think Gentoo specific, but you can replace it with echo
>>
>>
>>
>> Tot mails,
>>    Hika                            mailto:hikavdh at gmail.com
>>
>> "Zonder hoop kun je niet leven
>> Zonder leven is er geen hoop
>> Het eeuwige dilemma
>> Zeker als je hoop moet vernietigen om te kunnen overleven!"
>>
>> De lerende Mens
>>
>>
> Yes, I remember doing something like that in my old HDHomeRun init 
> script (0.21).  So if this gets added to the mythtvbackend start script
> on 16.04, do you need to make any of the mentioned systemd changes?

> Jay

I don't know if you can use it this way with systemd. Me and systemd
do not like each other and I will stay with openrc. Any of the sytemd
gurus has to see if this can be added/adapted to the systemd
'startscript'.
But anyway this approach will implicitly also wait till the network is
fully up as else no ping reply will be received. So the other wait
solutions are no longer needed.
You DO need to give your HD Homerun a static address on your router or
it might change over time!


Tot mails,
  Hika                            mailto:hikavdh at gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens



More information about the mythtv-users mailing list