jarnos | I have mythbuntu 14.04 system that has one PC that is primary backend and frontend and another one that is frontend. However, I could not connect to the database using the frontend PC. Can anyone help with the settings? | 15:23 |
---|---|---|
Kwisher_wrk | jarnos: in the frontend setings did you input the be ip? | 15:40 |
jarnos | Kwisher_wrk, I put 127.0.0.1 that I checked from backend settings. | 15:42 |
Kwisher_wrk | jarnos: it would be best to assign the be a static ip | 15:43 |
jarnos | Kwisher_wrk, well isn't that? | 15:44 |
Kwisher_wrk | no, that is the local loopback device | 15:44 |
Kwisher_wrk | from your be you need to find it's current ip | 15:45 |
Kwisher_wrk | from a term do: ifconfig | 15:45 |
tgm4883 | You'll need to use that on both the frontend and the backend | 15:46 |
tgm4883 | and probably tell mysql to listen on all interfaces | 15:46 |
jarnos | Do I have to change the address in backend settings? | 15:49 |
Kwisher_wrk | yes | 15:49 |
Kwisher_wrk | did you find it's ip? | 15:50 |
jarnos | Kwisher_wrk, I guess so. | 15:50 |
Kwisher_wrk | jarnos: there's no guessing, either you did or didn't :) | 15:51 |
Kwisher_wrk | what ip did you find? | 15:51 |
jarnos | Kwisher_wrk, 192.168.100.22 | 15:55 |
Kwisher_wrk | ok, use that ip in the be & fe settings | 15:55 |
jarnos | What is the right database name? And I have no idea about the user and password requested in the frontend settings, but there is a PIN in backend settings. | 15:58 |
Kwisher_wrk | did you update the be settings first? | 15:59 |
jarnos | Kwisher_wrk, yes | 16:00 |
Kwisher_wrk | you need to find a hidden file at : /home/mythtv/.mythtv/config.xml and copy or print it out | 16:01 |
Kwisher_wrk | that file will contain the db info you need on all the fe's | 16:02 |
jarnos | Kwisher_wrk, thanks, but the port number is different than in backend setup. Which one should I use? | 16:08 |
Kwisher_wrk | should be 3306 | 16:09 |
Kwisher_wrk | that's the default | 16:09 |
jarnos | Kwisher_wrk, that was mythical. | 16:13 |
Kwisher_wrk | ??? | 16:14 |
jarnos | Kwisher_wrk, that I had to dig some hidden file in backend to be able to setup a frontend. | 16:15 |
tgm4883 | jarnos: well technically you don't. You could look in it to find your username and password and then just type it in | 16:15 |
jarnos | Kwisher_wrk, and that I have some different port set in backend settings, but I can still use defalt port in frontend settings. | 16:15 |
jarnos | Frontend looks quite different in bare frontend PC than in combined frontend-backend PC. | 16:18 |
tgm4883 | jarnos: the ports are for different things | 16:18 |
tgm4883 | what do you mean bare | 16:18 |
Kwisher_wrk | jarnos: is it working now? | 16:21 |
jarnos | Kwisher_wrk, at least partly. I could watch TV in the frontend, but voice did not work, | 16:22 |
jarnos | Kwisher_wrk, but even that works now. Thanks for support! | 17:39 |
Kwisher_wrk | jarnos: look into assigning your backend a static ip address to avoid future problems | 17:41 |
Kwisher_wrk | the easiest way is with a dhcp reservation in your dhcp server/router | 17:42 |
jarnos | Kwisher_wrk, do you mean 192.* is not static? When would such problems occur? | 18:02 |
Kwisher_wrk | jarnos: if you don't understand dhcp vs static then your pc's are leasing an ip from a pool of ip's from the dhcp server | 18:03 |
Kwisher_wrk | if the pc reboots, it could receive a different ip from that pool | 18:03 |
Kwisher_wrk | then you'll be back to where you started today | 18:04 |
=== infinite is now known as Guest87991 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!