Remote frontend setup

  • user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '1:15465e210ba4f9c62e855984b21e3731' in /var/www/mythdora/html/includes/cache.inc on line 26.
  • user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired query: UPDATE cache_filter SET data = '<p>Is there a dummies guide for remote frontend?</p>\n<p>I\'ve run a 10.22 front/backend in the family room for a couple years. In setup/general the IP is 192.168.1.100. I set up a remote frontend for the exercise room, updated the system and mythtv, but on boot, I keep getting the setup screen (English US, No UPnP backends found, and then the database hostname keeps resetting to localhost instead of 192.168.1.100. I change it back, load the front end and get \"Could not connect to master back end server -- is it running? Is the IP address set for it in the setup program correct?\".<br />\nI see the guide and videos, but the won\'t play. Recordings are unavailable. In mythweb settings, I see both machines, so I must be missing something simple. I\'ve looked at probably 40 - 50 pages in the forum on front ends, but I haven\'t found anything on remote frontend settings.</p>\n<p>Anyone know what I\'m missing?</p>\n', created = 1368993139, expire = 1369079539, headers = '', serialized = 0 WHERE cid = '1:15465e210ba4f9c62e855984b21e3731' in /var/www/mythdora/html/includes/cache.inc on line 109.
  • user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '1:e191491f03282a7cf7763f85f9c15794' in /var/www/mythdora/html/includes/cache.inc on line 26.
  • user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired query: UPDATE cache_filter SET data = '<p>Make sure you have the time and timezone in sync on both boxes. If they aren\'t it will dump you out to the main setup menu on the remote frontend everytime.</p>\n<p>To make sure the port is open on the backend, run the following:</p>\n<p>On the backend:<br />\nrun \"netstat -an | grep 6543\", you should see the following.</p>\n<p>tcp 0 0 0.0.0.0:6543 0.0.0.0:*</p>\n<p>On the frontend:<br />\nrun \"telnet 192.168.1.100 6543\", this should return a blank screen.</p>\n<p>If it returns \"telnet: connect to address 192.168.1.100: Connection timed out\", check a few things:</p>\n<p>1.) Ensure you have the right IP address \"ifconfig\"</p>\n<p>2.) Check and verify the IP address is set in the General setup screen. Reboot your backend and make sure it sticks.</p>\n<p>3.) Ensure the firewall is not the problem. Run \"service iptables stop\". If it works, then add the proper ports to the firewall or disable the firewall.</p>\n', created = 1368993139, expire = 1369079539, headers = '', serialized = 0 WHERE cid = '1:e191491f03282a7cf7763f85f9c15794' in /var/www/mythdora/html/includes/cache.inc on line 109.
  • user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '1:91944b446f54d505e1e3abb44536b9db' in /var/www/mythdora/html/includes/cache.inc on line 26.
  • user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired query: UPDATE cache_filter SET data = '<p>When you say you\'ve updated the system and mythtv do you mean the backend and remote frontend are both on mythdora 12.23/24?</p>\n<p>When I setup a remote frontend, I had the setup screen coming up when the machine was coming out of sleep as it was loading mythfrontend before the network card was getting it\'s ip, which I fixed by giving it a static ip. Your issue sounds a bit different, like it can\'t connect to a backend on 192.168.1.100.</p>\n<p>Is the backend definitely 192.168.1.100? Can the remote frontend access the network OK? Browse the internet?</p>\n<p>I seem to recall an issue where if you selected DHCP, you needed to disable something as the network wouldn\'t work after reboot??</p>\n<p>Ben</p>\n', created = 1368993139, expire = 1369079539, headers = '', serialized = 0 WHERE cid = '1:91944b446f54d505e1e3abb44536b9db' in /var/www/mythdora/html/includes/cache.inc on line 109.

Is there a dummies guide for remote frontend?

I've run a 10.22 front/backend in the family room for a couple years. In setup/general the IP is 192.168.1.100. I set up a remote frontend for the exercise room, updated the system and mythtv, but on boot, I keep getting the setup screen (English US, No UPnP backends found, and then the database hostname keeps resetting to localhost instead of 192.168.1.100. I change it back, load the front end and get "Could not connect to master back end server -- is it running? Is the IP address set for it in the setup program correct?".
I see the guide and videos, but the won't play. Recordings are unavailable. In mythweb settings, I see both machines, so I must be missing something simple. I've looked at probably 40 - 50 pages in the forum on front ends, but I haven't found anything on remote frontend settings.

Anyone know what I'm missing?

Time must be in sync

Make sure you have the time and timezone in sync on both boxes. If they aren't it will dump you out to the main setup menu on the remote frontend everytime.

To make sure the port is open on the backend, run the following:

On the backend:
run "netstat -an | grep 6543", you should see the following.

tcp 0 0 0.0.0.0:6543 0.0.0.0:*

On the frontend:
run "telnet 192.168.1.100 6543", this should return a blank screen.

If it returns "telnet: connect to address 192.168.1.100: Connection timed out", check a few things:

1.) Ensure you have the right IP address "ifconfig"

2.) Check and verify the IP address is set in the General setup screen. Reboot your backend and make sure it sticks.

3.) Ensure the firewall is not the problem. Run "service iptables stop". If it works, then add the proper ports to the firewall or disable the firewall.

When you say you've updated

When you say you've updated the system and mythtv do you mean the backend and remote frontend are both on mythdora 12.23/24?

When I setup a remote frontend, I had the setup screen coming up when the machine was coming out of sleep as it was loading mythfrontend before the network card was getting it's ip, which I fixed by giving it a static ip. Your issue sounds a bit different, like it can't connect to a backend on 192.168.1.100.

Is the backend definitely 192.168.1.100? Can the remote frontend access the network OK? Browse the internet?

I seem to recall an issue where if you selected DHCP, you needed to disable something as the network wouldn't work after reboot??

Ben