Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

remote frontend, MasterServerIP

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


james+mythtv at cummingsfamily

May 27, 2008, 4:13 AM

Post #1 of 4 (464 views)
Permalink
remote frontend, MasterServerIP

I have a combined master backend / frontend on one machine and I am
trying to set up a remote frontend.

I've changed mysql.txt on the remote frontend to point to 192.168.0.35
(the LAN IP of master backend). The remote frontend gets things like
server info, so I can tell it is connecting. But it wasn't getting
lists of recorded programs. So... I changed 'MasterServerIP' for all
hosts in mythweb from '127.0.0.1' to '192.168.0.35' and bingo, the
remote frontend could see the programs.

Problem is... suddenly the master backend doesn't list any of the
upcoming recordings I had scheduled previously when the combined
frontend/backend was set to localhost (127.0.0.1). I don't want to
re-do all my recording rules, nor turn my master backend into a slave
backend. (This is what the logs said happened when I changed
MasterServerIP to 192.168.0.35) I had a brainwave in that I thought
maybe if I changed MasterServerIP not to an IP but a hostname alias
say 'mythtv' and then had that in /etc/hosts as 127.0.0.1 on the
master backend machine but 192.168.0.35 on the remote frontend that it
might work. Sadly, not so. Buggers it up for both of them. So I set
it back to 127.0.0.1. This is using up-to-date ubuntu 8.04, btw.

Everything on the remote frontend points to 192.168.0.35 everything on
the master backend points to 127.0.0.1 ... is there a way to do this
without a) losing current rules or b) making the backend mistakenly
feel it is a slave?

thanks for any suggestions

-James
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


evuraan at gmail

May 27, 2008, 6:46 AM

Post #2 of 4 (429 views)
Permalink
Re: remote frontend, MasterServerIP [In reply to]

0.02 -> Leave backend the way it was. Then configure your remote Front
End to work over (compressed) ssh -

http://evuraan.blogspot.com/2007/11/watch-mythtv-remotely.html



On Tue, May 27, 2008 at 7:13 AM, James Cummings
<james+mythtv [at] cummingsfamily> wrote:
> I have a combined master backend / frontend on one machine and I am
> trying to set up a remote frontend.
>
> I've changed mysql.txt on the remote frontend to point to 192.168.0.35
> (the LAN IP of master backend). The remote frontend gets things like
> server info, so I can tell it is connecting. But it wasn't getting
> lists of recorded programs. So... I changed 'MasterServerIP' for all
> hosts in mythweb from '127.0.0.1' to '192.168.0.35' and bingo, the
> remote frontend could see the programs.
>
> Problem is... suddenly the master backend doesn't list any of the
> upcoming recordings I had scheduled previously when the combined
> frontend/backend was set to localhost (127.0.0.1). I don't want to
> re-do all my recording rules, nor turn my master backend into a slave
> backend. (This is what the logs said happened when I changed
> MasterServerIP to 192.168.0.35) I had a brainwave in that I thought
> maybe if I changed MasterServerIP not to an IP but a hostname alias
> say 'mythtv' and then had that in /etc/hosts as 127.0.0.1 on the
> master backend machine but 192.168.0.35 on the remote frontend that it
> might work. Sadly, not so. Buggers it up for both of them. So I set
> it back to 127.0.0.1. This is using up-to-date ubuntu 8.04, btw.
>
> Everything on the remote frontend points to 192.168.0.35 everything on
> the master backend points to 127.0.0.1 ... is there a way to do this
> without a) losing current rules or b) making the backend mistakenly
> feel it is a slave?
>
> thanks for any suggestions
>
> -James
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


james+mythtv at cummingsfamily

May 27, 2008, 8:00 AM

Post #3 of 4 (423 views)
Permalink
Re: remote frontend, MasterServerIP [In reply to]

I tried that... I end up with a sound problem (which might be
symptomatic of other sound problems I'm having ... viz. not being able
to raise/lower volume with myth internal controls)...

If I setup ssh as suggested and ssh into a user account on the master
backend, I get no sound forwarded to the remote machine (my laptop).
If I ssh as the mythtv user, I do indeed get sound, but not out of the
laptop, but out of the television to which the master backend is
attached!! (Now that was weird... watching it on my laptop but having
sound come out tv speakers!)

Any other suggestions?

-J


On Tue, May 27, 2008 at 2:46 PM, Evuraan::ഏവൂരാന്‍ <evuraan [at] gmail> wrote:
> 0.02 -> Leave backend the way it was. Then configure your remote Front
> End to work over (compressed) ssh -
>
> http://evuraan.blogspot.com/2007/11/watch-mythtv-remotely.html
>
>
>
> On Tue, May 27, 2008 at 7:13 AM, James Cummings
> <james+mythtv [at] cummingsfamily> wrote:
>> I have a combined master backend / frontend on one machine and I am
>> trying to set up a remote frontend.
>>
>> I've changed mysql.txt on the remote frontend to point to 192.168.0.35
>> (the LAN IP of master backend). The remote frontend gets things like
>> server info, so I can tell it is connecting. But it wasn't getting
>> lists of recorded programs. So... I changed 'MasterServerIP' for all
>> hosts in mythweb from '127.0.0.1' to '192.168.0.35' and bingo, the
>> remote frontend could see the programs.
>>
>> Problem is... suddenly the master backend doesn't list any of the
>> upcoming recordings I had scheduled previously when the combined
>> frontend/backend was set to localhost (127.0.0.1). I don't want to
>> re-do all my recording rules, nor turn my master backend into a slave
>> backend. (This is what the logs said happened when I changed
>> MasterServerIP to 192.168.0.35) I had a brainwave in that I thought
>> maybe if I changed MasterServerIP not to an IP but a hostname alias
>> say 'mythtv' and then had that in /etc/hosts as 127.0.0.1 on the
>> master backend machine but 192.168.0.35 on the remote frontend that it
>> might work. Sadly, not so. Buggers it up for both of them. So I set
>> it back to 127.0.0.1. This is using up-to-date ubuntu 8.04, btw.
>>
>> Everything on the remote frontend points to 192.168.0.35 everything on
>> the master backend points to 127.0.0.1 ... is there a way to do this
>> without a) losing current rules or b) making the backend mistakenly
>> feel it is a slave?
>>
>> thanks for any suggestions
>>
>> -James
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users [at] mythtv
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>
>
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


bryan.bennetts at gmail

May 27, 2008, 8:23 AM

Post #4 of 4 (414 views)
Permalink
Re: remote frontend, MasterServerIP [In reply to]

On Tuesday 27 May 2008 12:13, James Cummings wrote:
> I have a combined master backend / frontend on one machine and I am
> trying to set up a remote frontend.
>
> I've changed mysql.txt on the remote frontend to point to 192.168.0.35
> (the LAN IP of master backend). The remote frontend gets things like
> server info, so I can tell it is connecting. But it wasn't getting
> lists of recorded programs. So... I changed 'MasterServerIP' for all
> hosts in mythweb from '127.0.0.1' to '192.168.0.35' and bingo, the
> remote frontend could see the programs.

I believe what you want is...

on the BE+FE

Local Backend - IP Address 192.168.0.35
Master Backend - IP Address 192.168.0.35

on the FE

Database server settings - Hostname 'your_BE_hostname_here'

At least that's what I have (different IP addresses, naturally) and it works.
Presumably the 'your_BE_hostname_here' can be the IP address of the backend
server, I just have the hostname tho...


HTH,

Bryan.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.