NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Other Clients Old Stuff (legacy) MVP & NMT MVPMCX2 and other NMT stuff v
« Previous 1 … 28 29 30 31 32 … 37 Next »
Can't get GBPVR to run from share!!!

 
  • 0 Vote(s) - 0 Average
Can't get GBPVR to run from share!!!
hakras
Offline

Member

Posts: 228
Threads: 40
Joined: Mar 2007
#1
2008-07-04, 06:35 PM
I have GBPVR working fine from a USB thumb drive. For some reason, I can't get it running from the share. Here are my modified files for the share:

index.htm
Code:
<html>
    <head>
<!--- <META http-equiv="Refresh" content="10;url=http://localhost.drives:8883/[SMB]%20PCH@xxx.xxx.xxx.xxx:MVPMC/mvpmc/script.cgi"> -->
    </head>
    <body background="mvpmc/gbpvr.png" bgcolor="blue" focuscolor="#5EA9E2" focustext="#FF0000">
        <p>&nbsp;</p>
        <table cellspacing="0" cellpadding="0" border="0" align="center" style="padding:0;" width="70%">
          <tr>
            <td align="left" colspan="2"><img src="mvpmc/hdlogo.png" /></td>
          </tr>
        </table>
        <p>&nbsp;</p>
        <table cellspacing="0" cellpadding="0" border="0" align="center" style="padding:0px;">
            <tr>
                <td valign="top" align="center" style="color:#0000FF;text-decoration:none;"><br /><a
                   href="http://localhost.drives:8883/[SMB]%20PCH@xxx.xxx.xxx.xxx:MVPMC/mvpmc/script.cgi" name="toplink" ONKEYUPSET="bottomlink"><img
                   src="mvpmc/gbpvrunsel.png" border="0" onfocussrc="mvpmc/gbpvrsel.png" /></a><br /><a
                    href="http://localhost.drives:8883/[SMB]%20PCH@xxx.xxx.xxx.xxx:MVPMC/mvpmc/script.cgi" style="text-decoration:none;"><img
                   src="mvpmc/telnetunsel.png" border="0" onfocussrc="mvpmc/telnetsel.png" /></a><br /><a
                    href="http://localhost.drives:8883/[SMB]%20PCH@xxx.xxx.xxx.xxx:MVPMC/mvpmc?home=1"  style="text-decoration:none;" name="bottomlink"
                    ONKEYDOWNSET="toplink"><img
                   src="mvpmc/homeunsel.png" border="0" onfocussrc="mvpmc/homesel.png" /></a></td>
               </tr>
               <tr>
                <td align="right" valign="top"><font color="Silver" size="3" face="Arial,Verdana,Helvetica">* HOME=Browse Files</font>
             </tr>
      </table>
        <a href="http://localhost.drives:8883/[SMB]%20PCH@xxx.xxx.xxx.xxx:MVPMC/mvpmc/?home=1" tvid="HOME"></a>
    </body>
</html>

telnet.html
Code:
<a href="http://localhost.drives:8883/[SMB]%20PCH@xxx.xxx.xxx.xxx:MVPMC/mvpmc/script.cgi">Telnetd</a>
<BR>
<a href="http://localhost.drives:8883/[SMB]%20PCH@xxx.xxx.xxx.xxx:MVPMC/mvpmc/gbpvr.cgi">GB-PVR</a>

gbpvr.cgi
Code:
#!/bin/sh

echo "Content-Length: 80";
echo "Content-type: text/html";
echo "";

cd ~
mkdir /etc/mvpmc >/dev/NULL
echo "";

if [ -f /etc/mvpmc/mvpmcx2 ]
  then
  echo "Already Connected!";
else  
   #mount --bind  /opt/sybhttpd/localhost.drives/USB_DRIVE_A-1/mvpmc /etc/mvpmc
   mount -t cifs //xxx.xxx.xxx.xxx/MVPMC /etc/mvpmc/ -o username=PCH,password=********,rw;
   cp /etc/mvpmc/utelnetd /usr/bin;
   chmod 777 /etc/mvpmc/*;
   utelnetd -l /bin/sh -p 23 &
   ln -s /lib/librmjpeg.so /lib/libjpeg.so.62
   ln -s /lib/librmzlib.so /lib/libz.so
   ln -s /lib/librmzlib.so /lib/libz.so.1
   ln -s /lib/librmzlib.so /lib/libz.so.123
   echo "Telnetd started on port 23............";
fi

killall gaya
sh -c /etc/mvpmc/startmeup 2>/dev/null >/dev/null &

script.cgi
Code:
#!/bin/sh

echo "Content-Length: 29";
echo "Content-type: text/html";
echo "";

cd ~
mkdir /etc/mvpmc >/dev/NULL
#mount --bind /opt/sybhttpd/localhost.drives/USB_DRIVE_A-1/mvpmc /etc/mvpmc
mount -t cifs //xxx.xxx.xxx.xxx/mvpmc /etc/mvpmc/ -o username=PCH,password=********,rw;
cp /etc/mvpmc/utelnetd /usr/bin;
utelnetd -l /bin/sh -p 23 &
ln -s /lib/librmjpeg.so /lib/libjpeg.so.62
ln -s /lib/librmzlib.so /lib/libz.so
ln -s /lib/librmzlib.so /lib/libz.so.1
ln -s /lib/librmzlib.so /lib/libz.so.123
echo "Telnetd started on port 23............";
exit 0;

startmeup
Code:
#echo "Shell to mvpmcx2 "

#remove the # from most appropriate line

# Analog TV settings

#/etc/mvpmc/mvpmcx2 -m ntsc &
#/etc/mvpmc/mvpmcx2 -m pal &

# HDMI/DVI settings

/etc/mvpmc/mvpmcx2 -m 1080p &
#/etc/mvpmc/mvpmcx2 -m 720 --frequency 50 &

The only things I change is mount in the cgi files and replaced the USB with address for server. Any idea? HELP!
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#2
2008-07-04, 08:37 PM
take slash off end of path in mount.. /etc/mvpmc -o username=
see if that works..we need to adjust the wiki on that one...
[notice the regular mount line above it? no slash]
if that works for you let us know and i'll see if i can't change it on wiki..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,945
Threads: 956
Joined: May 2006
#3
2008-07-04, 09:12 PM
The trailing backslash on the mount directory should normally not matter however does your share name show up as MVPMC or mvpmc on the source screen? You have it upper case and it does have to match.

Martin
hakras
Offline

Member

Posts: 228
Threads: 40
Joined: Mar 2007
#4
2008-07-04, 10:01 PM
It is uppercase on the sharename. I think it has something to do with the share, but the user "PCH" has full control to the share.

When I choose the network share from the source screen on the PCH, the GBPVR html screen appears. After that, no matter which option I choose (GBPVR or TELNET) I get the cannot create directory message.

It's baffling because it works perfectly from the USB thumb drive.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,945
Threads: 956
Joined: May 2006
#5
2008-07-04, 10:06 PM
Have you tried with the scripts that I support from the survival guide?

Martin
hakras
Offline

Member

Posts: 228
Threads: 40
Joined: Mar 2007
#6
2008-07-04, 10:14 PM
mvallevand Wrote:Have you tried with the scripts that I support from the survival guide?

Martin

I did and couldn't get it to work. I then tried the USB version and it worked great. I would prefer to run it from the share.

I just hard booted the PCH and tried to start telnet. I got this message: "cp: cannot stat 'etc/mvpmc/u". I know there is more to the message, but it doesn't display. Does this give any suggestion to the problem?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,945
Threads: 956
Joined: May 2006
#7
2008-07-04, 10:20 PM
That means the copy is failing because the mount is failing.

Martin
hakras
Offline

Member

Posts: 228
Threads: 40
Joined: Mar 2007
#8
2008-07-05, 12:00 AM
I'm running 2003 Server. Is there anything I need to do besides the creating the share?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,945
Threads: 956
Joined: May 2006
#9
2008-07-05, 12:57 AM
No. I suggest loading telnet from your USB drive and checking the syntax of the mount command. If you have trouble don't start GBPVR but DO load MVPMC as the media source and type the mount command without any parameters to see what the PCH is doing.

Mart
hakras
Offline

Member

Posts: 228
Threads: 40
Joined: Mar 2007
#10
2008-07-05, 04:31 PM
Could you dumb that up for me bit?

1. I know how to run telnet from USB
2. What do you mean by checking the syntax? Are you saying to compare the syntax between the USB and the share in the cgi files?
3. How do I load mvpmc?
4. What do I have to do to be able to type the mount command?

Sorry if these are dumb questions. I'm not a linux guy.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Where to place the mount for dvd share with WOL Sheik Yerbouti 2 1,858 2012-01-24, 10:10 AM
Last Post: Sheik Yerbouti
  Videos won't play on PCH A-100 with GBPVR arkennedy75 6 3,509 2012-01-20, 12:53 AM
Last Post: mvallevand
  More than one server - one NPVR and one GBPVR? baj1 4 2,522 2012-01-17, 06:49 PM
Last Post: martint123
  NMTinstall for GBPVR no longer working? caz 6 3,084 2011-07-09, 01:07 PM
Last Post: caz
  Any way to Keep mvpmc share active on NMT for Web Service Invocation form anyhwere? jt25741 2 2,066 2011-04-01, 03:43 AM
Last Post: jt25741
  Can't play recorded video files on PCH-A100 using GBPVR dvasco 4 2,415 2011-01-04, 01:19 PM
Last Post: dvasco
  Help with mounting DVD share in NPVR script Paul_B 3 1,946 2011-01-01, 09:51 PM
Last Post: mvallevand
  New mvpmcx2o update for GBPVR and NPVR 2010-12-24 mvallevand 3 1,929 2010-12-27, 01:51 PM
Last Post: mvallevand
  New M34A on eixting GBPVR 1.4.7: GBPVR via NetworkBrowser: "Request cannot be proc" lucille84 3 2,022 2010-11-09, 12:30 AM
Last Post: mvallevand
  New mvpmcx2n update for GBPVR and NPVR 2010-09-05 mvallevand 14 6,407 2010-10-16, 05:03 AM
Last Post: zaldwaik

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode