LinHES Forums
http://forums.linhes.org/

Frontend Question
http://forums.linhes.org/viewtopic.php?f=1&t=10440
Page 1 of 1

Author:  sinspot1 [ Sun Jun 11, 2006 11:13 am ]
Post subject:  Frontend Question

This may be a stupid question (so if it is sorry) but I need some help in installing a frontend system. I have my FE/BE knoppmyth server up and running and am now looking to setup some just frontend boxes for around the house. I picked the option of frontend from the menu but that just seems to run the frontend off of the cd. I would like to run it off of the harddrive. I have looked in the wikki and didn't really find anything.

Can someone help me either point me to an article or tell what how I should be installing a frontend system. Should I just pick the auto install and then change the ip address for the backend, I thought about this option but seem like a waste to install all the other stuff I don't need on there.

Help

Thanks for any advice anyone can give me.

Author:  Bad-Taste [ Sun Jun 11, 2006 12:06 pm ]
Post subject: 

http://www.knoppmythwiki.org/index.php? ... nlyInstall

Author:  sinspot1 [ Sun Jun 11, 2006 11:19 pm ]
Post subject: 

Great thanks that is just what I was looking for. I was just looking in the wrong wikki I was looking in the myth on not the knoppmyth one. I just my frontend system up and going, but if you would not mind I have one follow up question.

I am able to watch live tv and watch recordings but cann't seem to get dvd's to start or have there cover art show up. I am using Xine and it gives some kinda of error but it goes by so fast I can't see it. Is there something else I need to enable

I am so close to being done I can taste it. LOL

Thanks again for the advice.

Author:  Greg Frost [ Sun Jun 11, 2006 11:40 pm ]
Post subject: 

Did you set it up so that your frontend NFS mounted /myth/video from the backend?

Here is the relevant extract from the script that I run after installing to tweak everything the way I need it. My backend hostname is "mythtv":
Code:
if [ $HOSTNAME = "mythtv" ] ; then

  # Enable mysql networking on the master backend.

  if grep -q ^skip-networking /etc/mysql/my.cnf ; then
    echo "Commenting out skip-networking."
    cp /etc/mysql/my.cnf /etc/mysql/my.cnf~
    cat /etc/mysql/my.cnf~ | sed 's/skip-networking/#skip-networking/g' > \
      /etc/mysql/my.cnf
  else
    echo "Already commented out skip-networking."
  fi

  # Enable NFS so that the /myth/video fiolder can be shared to the frontends.

  if [ ! -e /etc/rc5.d/S20nfs-common ] ; then
    echo "Enabling nfs-common."
    update-rc.d nfs-common defaults
    /etc/init.d/nfs-common start
  else
    echo "Already enabled nfs-common."
  fi

  if [ ! -e /etc/rc5.d/S20nfs-kernel-server ] ; then
    echo "Enabling nfs-kernel-server."
    update-rc.d nfs-kernel-server defaults
    /etc/init.d/nfs-kernel-server start
  else
    echo "Already enabled nfs-kernel-server."
  fi
else

  # Do the forntend specific stuff.

  if grep -q DBHostName=localhost /usr/share/mythtv/mysql.txt ; then
    echo Setting database host.
    cp /usr/share/mythtv/mysql.txt /usr/share/mythtv/mysql.txt.orig
    cat /usr/share/mythtv/mysql.txt.orig |
      sed 's/DBHostName=localhost/DBHostName=10.1.1.6/g' > \
        /usr/share/mythtv/mysql.txt
  else
    echo Already set Database host.
  fi

  if ! grep -q 10.1.1.6 /etc/fstab ; then
    echo Setting up /myth/video nfs mount.
    cp /etc/fstab /etc/fstab.orig
    cat /etc/fstab.orig |
      awk '/^proc/{print \
        "10.1.1.6:/myth/video /myth/video nfs defaults,auto,noatime 0 0"}\
        {print $0}' > /etc/fstab
    mount -a -t nfs
  else
    echo Already setup /myth/video nfs mount.
  fi

fi

Author:  sinspot1 [ Mon Jun 12, 2006 12:35 am ]
Post subject: 

that did it. I had not tried to mount the video directory I had just mounted /myth. So you are running a script to do all of the little twits for you. Is there a good place the I could read up on that to do that also.


Thanks again for the help.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/