[mythtv-users] frontend fails

Bill Meek keemllib at gmail.com
Tue Feb 28 03:31:59 UTC 2017


On 02/27/2017 09:14 PM, James Linder wrote:
>
> As discussed in your references, I do *not* use NetworkManager but /etc/network/interfaces for a static IP address.
> What could I do to show that
> NetworkManager-wait-online.service
> is working rather than the system works by chance.
> Thepingnetwork.service seems much more certain! (but I need to do some learning)

systemctl cat NetworkManager-wait-online.service will show you if the
service is available and what it does. Mine contains this:

     ExecStart=/usr/bin/nm-online -s -q --timeout=30

If you've got nm-online, then it should work. Mythbuntu originally
used this, however, users that ran servers (as opposed to desktops)
didn't have the command and the service was removed from the After=
section of mythtv-backend.service.

While this seems to work, I'm not sure that using the -s option is
the best choice. The nm-online man page has a good description of
what -s does. At one point, I had the following in use:

     ExecStartPre=/usr/bin/nm-online --quiet --timeout=5

in the mythtv-backend.service.

-- 
Bill


More information about the mythtv-users mailing list