[mythtv-users] Delaying until HDHR tuners are up before starting mythtv-backend

Stephen Worthington stephen_agent at jsw.gen.nz
Tue Jan 3 02:47:02 UTC 2023


What I would do with this sort of setup would be to not use link-local
addressing as it is always a dodgy business with IPv4.  Especially
when you want to use multiple network ports.  The right way to do this
is to assign real IP addresses using one of the private address ranges
(10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16).  Most home routers use a
block of the 192.168.0.0/16 range for their addresses, so you would
normally use a different block in that range.  Say your router is
using 192.168.1.0/24, then you could use 192.168.99.0/24 for your HDHR
subnet.  So you might set the Ethernet port to be a static address of
192.168.99.254, and then set up DHCP addressing for anything that
connects to that Ethernet port to use addresses
192.168.99.100-192.168.99.200.  And then find out the MAC addresses of
your HDHR devices and manually assign them a DHCP address that is
outside the automatic DHCP address range, so use 192.168.99.1,
192.168.99.2 and so on.

With all of that working, then you can just go back to using a ping of
the HDHR IP address to delay mythbackend startup.  And it should be
completely reliable.


More information about the mythtv-users mailing list