[mythtv] Hostname change broke mythtv, yet alittle more complicated than sed can fix...

James Armstrong james at thearmstrongs.org
Wed Oct 18 12:46:32 UTC 2006


On 10/18/2006 8:44 AM, James Armstrong wrote:
> On 10/18/2006 4:29 AM, Michael T. Dean wrote:
>   
>> On 10/18/06 02:47, Kenneth Padgett wrote:
>>
>>   
>>     
>>> So it wasn't until after a change in hostname did I realize mythtv was
>>> going to break everything and loose track of my settings, recordings,
>>> everything basically, but even worse, it created new junk hostname
>>> settings and such I need to get rid of!!!
>>>
>>> The problem actually was caused by a swap out of routers and change in
>>> reverse DNS (which is how my box has been getting it's names). Anyway,
>>> the problem I have now is, through various router swaps/reconfigures,
>>> the box has taken on 3 different names over the past year (3 different
>>> routers w/ different DNS names wouldn't you know), and there's three
>>> sets of settings. The ones I want is mythtv.local, the others are
>>> pvr.lan and localhost.localdomain. The box is now named
>>> localhost.localdomain as I realized naming the box on the router's DNS
>>> is what was causing all this, so I give up with that. Also, I can't
>>> easily go back to mythtv.local on my router, I know, that would be too
>>> easy.
>>>     
>>>       
>
> I (and others) have had this problem before and I believe for a long 
> time now there can be a hostname override in the mythtv.txt file.
>   
/usr/share/mythtv/mysql.txt
DBHostName=whatever it used to be

- James


More information about the mythtv-dev mailing list