[mythtv-users] No network: no frontend

Thomas Mashos thomas at mashos.com
Thu Sep 13 15:23:47 UTC 2012


On Thu, Sep 13, 2012 at 8:21 AM, Joseph Fry <joe at thefrys.com> wrote:
>
>> > On 13/09/2012 9:50 PM, Bob Long wrote:
>> >>
>> >> MythTV Version : v0.25.2-19-gcf06841
>> >> MythTV Branch : fixes/0.25
>> >>
>> >> Combined backend/frontend.
>> >>
>> >> My understanding was that a MythTV box can (should?) be configured so
>> >> that
>> >> its network address is static, and that that IP address be told to the
>> >> backend and to the frontend.
>> >>
>> >> However, if the network for some reason can't connect (in my case, a
>> >> wireless connection to the router), then the frontend won't start in
>> >> the
>> >> normal manner, and I'm presented with the language selection menu of
>> >> the
>> >> frontend. Attempting to cancel that just restarts the frontend and it
>> >> returns to that menu.
>> >>
>> >> Is there an easy way around that (assuming that for some reason the
>> >> network connection can't be quickly re-established, eg., router
>> >> failure)? Or
>> >> have I got the configuration wrong? In other words, must MythTV have a
>> >> working network connection for operation?
>> >>
>> >> Thanks.
>> >>
>> >
>> > If you look at the upstart configuration, it depends on the non loopback
>> > network being up for the backend service to start:
>> >
>> > start on (local-filesystems and net-device-up IFACE!=lo and started
>> > udev-finish)
>> >
>> > I believe the idea is to ensure that the backend is listening on all
>> > interfaces when it starts so that remote clients can connect.
>> > I do recall some workaround is to just configure a dummy static eth0
>> > interface that always comes up so the script can get on with it, or you
>> > could hack that section out of the upstart config
>> > (/etc/init/mythtv-backend.conf).
>> >
>> >
>> >
>> > _______________________________________________
>> > mythtv-users mailing list
>> > mythtv-users at mythtv.org
>> > http://www.mythtv.org/mailman/listinfo/mythtv-users
>>
>> That is only for the backend, the OP is talking about the frontend.
>> The frontend must be able to talk to the backend for it to start
>> correctly. All the information about the frontend is kept in the
>> database, plus you would need a connection to the backend to playback
>> any content. As frontend local content is going away, I don't see this
>> changing.
>>
> I think he is talking about a combined frontend/backend... frontend is
> failing to connect because the backend isn't running yet.
>
> I would adjust your frontend to connect on the loopback adapter of
> 127.0.0.1.  You may need to make sure that mysql and mythbackend are both
> listening on loopback, but they typically are by default IIRC.
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>

Ah yea he is, not sure how I missed that the first time I read it.

Thanks,

Thomas Mashos


More information about the mythtv-users mailing list