[mythtv-users] Mythfrontend problem...

Michael T. Dean mtdean at thirdcontact.com
Sun Apr 5 19:39:34 UTC 2009


On 04/05/2009 03:14 PM, Questiony McAskerton From Queryville wrote:
> Just for kicks I tried using the IP address of mythserver in ``General 
> Settings'' in mythtv-setup on mythserver and, to my pleasent surprise, 
> it works!

You mean in the setting where the text states:

IP address
Enter the IP address of this machine.  Use an externally accessible 
address (ie, not 127.0.0.1) if you are going to be running a frontend on 
a different machine than this one.

and/or (talking about the master backend):

IP address
The IP address of the master backend server. All frontend and non-master 
backend machines will connect to this server.  If you only have one 
backend, this should be the same IP address as above.


i.e. where the word "hostname" is never used (because hostname 
resolution isn't supported).

>   The new frontend connects just fine.  I will leave it that way, of 
> course, but it does beg the question why can't I use a valid, 
> resolvable name.  The other frontend software that I use (XBMC) works, 
> so it must be something specific to /usr/bin/mythfrontend.
>
> /usr/bin/mythfrontend can connect to mythserver:3306 (e.g. it resolves 
> the name to connect to mysql) and  /usr/bin/nc (netcat) on the 
> frontend can connect to mythserver:6543.  So, why can't mythfrontend?  
> I haven't looked at the code, but perhaps it's using 
> gethostbyaddr(3)/getaddrinfo(3) instead of 
> gethostbyname(3)/gethostinfo(3)? 

It's using Qt3.  Trunk uses Qt4.

Mike



More information about the mythtv-users mailing list