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 … 25 26 27 28 29 … 37 Next »
Problem with script following NMT firmware upgrade

 
  • 0 Vote(s) - 0 Average
Problem with script following NMT firmware upgrade
Azimuth
Offline

Member

Posts: 225
Threads: 47
Joined: Oct 2006
#1
2008-11-02, 07:34 AM
After checking the firmware update thread and confirming that nobody had problems post update, I decided I would go ahead with the upgrade.
Post upgrade I was unable to get my USB script to work. The NMT would simply print the cgi script out on the screen.

I then tried other versions of the USB scripts as posted in the WIKI and the quick 5 minute setup guide. Both of these methods resulted in a "request cannot be processed" error.

Any help getting this working again would be much appreciated.

Here is my all in one cgi script which worked prior to the latest firmware.

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
   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 &
[SIZE="1"]SuperMicro PDSME+ Core2Duo 2.40GHz 6.0GB Ram | HD Homerun | (4) NMT | GB-PVR v1.5.21 | Windows 7 Enterprise x64[/SIZE]
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,983
Threads: 956
Joined: May 2006
#2
2008-11-02, 04:34 PM
The syntax of mount is correct and this does work manually by telnet for me.

Martin
Azimuth
Offline

Member

Posts: 225
Threads: 47
Joined: Oct 2006
#3
2008-11-02, 06:16 PM (This post was last modified: 2008-11-02, 06:25 PM by Azimuth.)
I have tried starting over with the installation guide. - Using the Network share method -
I am able to run the telnet script and telnet to the NMT. I can see that /etc/mvpmc exists with the content in the mvpmc share.
As soon as I hit return on tthe NMT remote to get back to telnet.html I get "Request cannot be processed, Press return key to return to the previous screen"
if I hit return 4 times I then get "The share folder no longer exist. Press [return key to return to your previous screen."
pressing return again gets me back to my gbpvr media source. However at this point running ls /etc/mvpmc gives me: ls: /etc/mvpmc: Permission denied.

Do you think I have a corrupt upgrade?
It WILL work using the 5minute setup method.
[SIZE="1"]SuperMicro PDSME+ Core2Duo 2.40GHz 6.0GB Ram | HD Homerun | (4) NMT | GB-PVR v1.5.21 | Windows 7 Enterprise x64[/SIZE]
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,983
Threads: 956
Joined: May 2006
#4
2008-11-02, 06:40 PM
Instead of -o username=guest,ro did you try these choices

-o username=root,rw
-o username=root,ro
-o username=guest,rw

Martin
Azimuth
Offline

Member

Posts: 225
Threads: 47
Joined: Oct 2006
#5
2008-11-02, 07:02 PM
mvallevand Wrote:Instead of -o username=guest,ro did you try these choices

-o username=root,rw
-o username=root,ro
-o username=guest,rw

Martin

Thank you.
root,ro works!
However now it only displays 480i even with startmeup showing: /etc/mvpmc/mvpmcx2 -m 720 &
[SIZE="1"]SuperMicro PDSME+ Core2Duo 2.40GHz 6.0GB Ram | HD Homerun | (4) NMT | GB-PVR v1.5.21 | Windows 7 Enterprise x64[/SIZE]
Azimuth
Offline

Member

Posts: 225
Threads: 47
Joined: Oct 2006
#6
2008-11-02, 07:14 PM
/etc/mvpmc/mvpmcx2 -m 720 -o component --frequency 60 --nmt-gui-ss &
got me 720P.
Martin, Thank you for your help.
Now I'll work on getting my USB drive method working.
[SIZE="1"]SuperMicro PDSME+ Core2Duo 2.40GHz 6.0GB Ram | HD Homerun | (4) NMT | GB-PVR v1.5.21 | Windows 7 Enterprise x64[/SIZE]
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#7
2008-11-02, 07:18 PM
Just to jump in here and go slightly off topic if using a script like this (as posted above).

What do i have in my telnet.htm??

Just the single entry?

Code:
<a href="http://localhost.drives:8883/NETWORK_SHARE/pvr:mvpmc/script.cgi"><font size=5>Telnetd Start me First<font size=6></a>
??
Azimuth
Offline

Member

Posts: 225
Threads: 47
Joined: Oct 2006
#8
2008-11-02, 07:28 PM
psycik Wrote:Just to jump in here and go slightly off topic if using a script like this (as posted above).

What do i have in my telnet.htm??

Just the single entry?

Code:
<a href="http://localhost.drives:8883/NETWORK_SHARE/pvr:mvpmc/script.cgi"><font size=5>Telnetd Start me First<font size=6></a>
??

The one posted above is designed to run from a USB drive. you can do a single entry for the network method (as your telnet.html line suggests) but would have to edit the cgi script accordingly.
[SIZE="1"]SuperMicro PDSME+ Core2Duo 2.40GHz 6.0GB Ram | HD Homerun | (4) NMT | GB-PVR v1.5.21 | Windows 7 Enterprise x64[/SIZE]
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,983
Threads: 956
Joined: May 2006
#9
2008-11-02, 07:34 PM
The next release does have a combined script.

Martin
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#10
2008-11-02, 07:34 PM
Yeah I created another script.cgi and put your code in it, and then added a new line to telnet.html to call the new script.

All I got when I ran it was /opt/sybash/local.... on the screen

Script as follows.

Code:
#!/bin/sh

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

cd ~
echo "";

if [ -f /etc/mvpmc/mvpmcx2 ]; then
   echo "Already Connected!";
else  
   echo "Connecting to telnet";
   mkdir /etc/mvpmc
   mount -t cifs //pvr/mvpmc /etc/mvpmc/ -o username=guest,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............";  
fi
  

killall gaya
sh -c /etc/mvpmc/startmeup 2>/dev/null >/dev/null &
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  PCH won't play videos after upgrade to 3.2.9 bac42x 36 27,990 2014-08-13, 05:09 AM
Last Post: newyankee
  Windows 8 upgrade bac42x 2 2,783 2012-07-10, 12:09 PM
Last Post: bac42x
  Another DVD ISO problem in NPVR arkennedy75 20 7,981 2012-01-30, 02:12 AM
Last Post: mvallevand
  egreat M34a firmware update clydebuilt 12 10,427 2012-01-16, 10:51 PM
Last Post: mvallevand
  Update EG-M34A with PCH A110 firmware? pz1 3 8,307 2011-12-02, 09:42 PM
Last Post: mvallevand
  Jaggy's AutoLoad Script Jaggy 3 1,790 2011-10-05, 11:08 PM
Last Post: ACTCMS
  Mount problem after windows 7 sleep Sheik Yerbouti 6 2,853 2011-07-05, 06:04 PM
Last Post: Sheik Yerbouti
  Help with mounting DVD share in NPVR script Paul_B 3 1,970 2011-01-01, 09:51 PM
Last Post: mvallevand
  Problem connecting PVRX2 to PCH Blue Racer 18 13,077 2010-09-27, 01:55 AM
Last Post: mvallevand
  Problem with NPVR on PCH Warwick 11 4,671 2010-09-12, 05:13 AM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode