Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 7536  / 3 Years ago, sat, july 10, 2021, 1:38:57

I just installed a fresh copy of Mythbuntu 12.04. I installed it as a combined frontend and backend. I ran through the configurations, accepting all defaults except for two items:




  • I set the hostname to the server's IP

  • I checked the checkbox to enable network remote controls



I then rebooted. When I try to connect via mythmote, I get "connection refused" and "connection timed out" errors. What I have done to diagnose the issue:




  • Reboot

  • Re-run configuration without changing any settings

  • Disable IPv6 (ala /proc/sys/net/ipv6/conf/all/disable_ipv6)

  • Disable ufw

  • Run Wireshark, which reports that a TCP SYN arrives at the server, and the server sends a TCP RST in response. Prior to disabling ufw the server would not even send the TCP RST



The settings I have for mythmote are:




  • Name: Gamma (this is my third server)

  • Address: 10.0.0.14

  • Port 6546

  • MAC: (Not filled in, I don't need WOL)



If I switch to a TTY on the server, I can telnet 127.0.0.1 6546 and get to the network remote control interface. If I try the same via telnet 10.0.0.14 6546 I get a connection refused.


More From » mythbuntu

 Answers
7

I just now found out (thanks to your sleuthing) that a temporary solution is to port forward with ConnectBot.



Port Forwarding is a bit tricky, there's a menu entry, "Port Forwards", that shows up once you're connected. You should also be able to get to it by "long pressing" a host before you connect.



This Port Forward screen is empty. To add entries to it, press the menu button and click "Add port forward"



Once you have port forwarding setup, you'll need to modify the mythmote to connect to '127.0.0.1' now that you're actually connecting to the port on your android (that is a "tunnel" to the external host).






Edit: since this post has gained some traction, let me consolidate:



1) a simplier solution is to run sudo mythtv-setup as the user that runs mythtv. Then configure the backend address to be the external one.



Also note the following bugs:




[#38958] Sunday, July 11, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tubequ

Total Points: 11
Total Questions: 113
Total Answers: 115

Location: Equatorial Guinea
Member since Thu, Oct 7, 2021
3 Years ago
;