[mythtv-users] Mythweb finds no remote controllable frontends
Ramon Hofer
ramonhofer at bluewin.ch
Tue Jul 19 15:39:07 UTC 2011
On 07/19/2011 05:12 PM, Raymond Wagner wrote:
> On Tue, 19 Jul 2011 15:28:09 +0200, Ramon Hofer<ramonhofer at bluewin.ch>
> wrote:
>> On 07/19/2011 02:18 PM, Raymond Wagner wrote:
>>> In MythTV, all settings are indexed against the machine hostname in the
>>> database. When MythWeb scans for accessible frontends, it looks up the
>>> port and hostname for any frontend listed as having the network control
>>> port active. It then relies on a functional resolving framework to be
>>> available on your system to find the host.
>>>
>>> Backends, on the other hand, are connected using the IP. When
> frontends
>>> or MythWeb want to connect, they look up the address for that hostname
>>> through the database, rather than relying on the host's resolving
>>> capability. He is suggesting you patch MythWeb to use that address
> when
>>> available, and then run mythtv-setup on each frontend to define that IP
>>> as if you were going to run a backend.
>> If I understand you correct you want me to patch mythweb that it looks
>> in the mysql database to resolve the frontend IP adresses?
> No, I was simply elaborating what Michael was suggesting. However, if
> your frontends are dynamically assigned using DHCP, using static addresses
> defined in the database or hosts file is not a tenable solution. The
> easiest option will probably be to put static assignments into your dhcp
> config, and then define those addresses in your DNS server. Or, you can
> have each machine statically choose its own address and a host file.
I have set all my frontend machines in the /etc/dhcp3/dhcpd.conf where I
have assignet an IP address to their MAC address.
So for mythbackend this should be like all machines have a static IP.
>> But I still don't understand how I could run mythtv-setup on the
>> frontend since there's no mythtv-setup on my frontends?
>> I must understand it wrong that I have to set my frontends to
>> backend/frontend combos?
> That's not really a MythTV problem. The MythTV source installs all
> binaries on all systems. It does not support a frontend-only installation
> with no mythtv-setup.
Hmm, that's strange. Maybe this is because I use the debian and ubuntu
repos.
On my laptop I use debian-mustimedia testing. When I type 'mythtv-setup'
in a terminal it tells me:
$ mythtv-setup
The program 'mythtv-setup' is currently not installed. To run
'mythtv-setup' please ask your administrator to install the package
'mythtv-backend'
mythtv-setup: command not found
I only have these packages:
$ dpkg -l | grep myth
ii libmyth-0.24-0
0.24.1+fixes20110624-0.1 Common library code for MythTV and
add-on modules (runtime).
ii libmythavcodec52
0.24.1+fixes20110624-0.1 libavcodec52 package for MythTV.
ii libmythavcore0
0.24.1+fixes20110624-0.1 libavcore0 package for MythTV.
ii libmythavformat52
0.24.1+fixes20110624-0.1 libavformat52 package for MythTV.
ii libmythavutil50
0.24.1+fixes20110624-0.1 libavutil50 package for MythTV.
ii libmythes-1.2-0
2:1.2.1-1 simple thesaurus library
ii libmythpostproc51
0.24.1+fixes20110624-0.1 libpostproc51 package for MythTV.
ii libmythswscale0
0.24.1+fixes20110624-0.1 libswscale0 package for MythTV.
ii mythmusic
0.24.1-0.0 Music add-on module for MythTV
ii mythtv-common
0.24.1+fixes20110624-0.1 Personal video recorder application
(common data).
ii mythtv-doc
0.24.1+fixes20110624-0.1 Personal video recorder application
(documentation).
ii mythtv-frontend
0.24.1+fixes20110624-0.1 Personal video recorder application
(client).
ii mythvideo
0.24.1-0.0 A generic video player frontend module
for MythTV
ii python-mythtv
0.24.1+fixes20110624-0.1 Personal video recorder application
(common data).
Regards
Ramon
More information about the mythtv-users
mailing list