Harondel J. Sibble wrote:
> Okay, I am working with the settings here
>
> http://mvpmc.wikispaces.com/mvpmc.config
>
> The machine running the dhcp server and sharing files via samba at is
> 10.13.14.10 while the mythtv backend, tftp and slimserver is at 10.13.14.15
>
> This is the dongle.bin.mvpmc.config
>
> # Setup timezone
> TZ=PST8PDTDT,M3.22.0/2,M11.7.0/2
> export TZ
>
> # Setup some environmental variables so we can use the host name
> **HNAME=`mvp-sparebedroom` ; export HNAME**
>
> # Set current time
> rdate -s pool.ntp.org
>
> # Setup location to save settings files
> mkdir -p /mvpmc_media/settings
> mount.cifs //10.13.14.10/mvpmc-settings /mvpmc_media/settings -o
> username=mvpmc%password
>
> # Connect to mythtv backend using Mythtv protocol
> mvpmc -f /etc/helvR10.fnt -s 10.13.14.15 **-F
> /mvpmc_media/settings/$HNAME.cfg** &
>
> # Setup connection to slimserver
> mvmpc -c 10.13.14.15 &
>
> # Setup connection to view photos
> mkdir -p /mvpmc_media/pictures
> mount.cifs //10.13.14.10/shared /mvpmc_media/pictures -o
> username=mvpmc%password
>
> The problem is when this line
>
> mvpmc -f /etc/helvR10.fnt -s 10.13.14.15 **-F
> /mvpmc_media/settings/$HNAME.cfg** &
>
> has the **-F .... in it, the mvpmc hangs at the www.mvpmc.org splash screen.
> If I remove that section it boots fine. Which also makes me realize I'm
> going to need to have a different dongle.bin.mvpmc.config for machine if I
> want to use the hostname. I remember reading something on that on the list,
> so I'll take a look at that. Is there anyway to have the hostname variable
> take on the hostname assigned by the dhcp server? When I telnet into the box
> and run the hostname command, it comes back with the ip address rather than
> the hostname assigned via dhcp.
>
> Comments?
>
That option appears to loop here too.
You can put a file on your file system that has a name of:
10.13.14.15 with the hostname in the file and then do this:
export HNAME=`hostname`
hostname `cat /path/$HNAME`
export HNAME=`hostname`
You could avoid using the -F option similar to this:
ln -s /video/tv/${HNAME}.cfg /etc/browser.config
and then run mvpmc without the -F option and it will use the default
file that is symbolically linked to the default name.
I am also not sure if you can run 2 copies of the mvpmc, I am not sure
if the second copy will pass arguments to the first one or if it will
run by itself, if it runs by itself the resources on the machine are
pretty tight, and bad things will probably happen, and that may be the
reason for the loop. Mine appears to loop without any options also,
and originally it did not loop without any options, So resources could
be the reason. And also there is only one display/audio setup to manage
so the second one won't be able to do anything.
I would put all of the options on one mvpmc line.
Roger
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Mvpmc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mvpmc-users
mvpmc wiki: http://mvpmc.wikispaces.com/