Mythtv remote frontend



So, when I did the laptop upgrade I formated the root partition which means that working mythtv frontend was erased and it had to be set up from scratch. I had been running version 0.16 of mythtv on all the systems, but finding rpms for that older version looked challenging, so…. I went ahead with the upgrade to 0.18.1 on the desktop first. All went fairly smoothly using Thac’s rpms of mythtv.


In case you missed it, I’m running Mandriva 2006 on both the frontend and backend systems. The backend is also my main desktop. (I really do too many things with this one machine…) Anyway… on the remote frontend (laptop with wireless ethernet.) I ought to be able to just install mythtv-frontend (and maybe mythvideo) and all should be good. Well, post install, I run mythfrontend and get asked about language preferences and where the mysql server is. I put in the ip address for the backend server, but it bombs out. I don’t know, in retrospect, if I had run mythfrontend as root it may have put things right, but…

I took a different route. In looking online, I needed to change a setting in mysql.txt which was supposed to be in /usr/share/mythtv …. I looked, no mysql.txt… So, I looked at my OTHER remote frontend (old pc acting as file/mail server in the other end of the house on a wired connection.) I found a working mysql.txt in /usr/share/mysql and copied it over, everything worked fine after that.

By the way, the TV viewing over the 802.11B wireless works just fine, video playback doesn’t (have to plug in). Maybe at some point I’ll upgrade to 802.11G wireless, but that’s not been a high priority. Anyway, the working mysql.txt file should look a bit like this. (Of course, ip addresses, usernames/passwords/database names may need to be changed where appropriate…)

DBHostName=10.0.0.2
DBUserName=mythtv
DBPassword=mythtv
DBName=mythconverg

# Set the following if you want to use something other than the
# machine’s real hostname for identifying settings in the database.
# This is useful if your hostname changes often, as otherwise
# you’ll need to reconfigure mythtv (or futz with the DB) every time.
# TWO HOSTS MUST NOT USE THE SAME VALUE

#
#LocalHostName=my-unique-identifier-goes-here

# If you want your frontend to be able to wake your MySQL server
# using WakeOnLan, have a look at the following settings:

#
# Set the time the frontend waits (in seconds) beetween reconnect tries.
# This should be the rough time your MySQL server needs for startup
#WOLsqlReconnectWaitTime=0
#
#
# This is the amount of retries to wake the MySQL server until the frontend
# gives up
#WOLsqlConnectRetry=5
#
#
# This is the command executed to wake your MySQL server.
#WOLsqlCommand=echo \’WOLsqlServerCommand not set\’

Anyway, just one to upgrade to mythtv 0.18.1… (the way things go 0.19 will be out tomorrow…)

   Send article as PDF   

Similar Posts