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 … 23 24 25 26 27 … 37 Next »
Running telnet.html from USB drive

 
  • 0 Vote(s) - 0 Average
Running telnet.html from USB drive
alex.brokenarrow
Offline

Junior Member

Posts: 13
Threads: 1
Joined: Jul 2008
#101
2008-07-12, 03:21 PM
my bad... i must have sleepy eyes, the utelnetd is in the package. Smile
HDX 900 Networked Media Tank
obiwan
Offline

Member

Posts: 67
Threads: 15
Joined: Jan 2006
#102
2008-07-13, 03:31 PM
A couple of interesting notes in getting everything working.

1...Editpad Lite will add CR/LF's if it is checked in the convert tab.
2...mkdir stopped the auto-load process if put before the "if" command, moved works great.

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

if [ -f /etc/mvpmc/mvpmcx2 ]
then
echo "Already Connected!";
else
mkdir /etc/mvpmc

3...Be consistant with share addressing ie: xx.xxx.xxx.xx/mvpmc or hostname/mvpmc through all the scripts

4...I had to remove the full url address to show icons on index.html

src="gbpvrunsel.png" border="0" onfocussrc="gbpvrsel.png" />


Other than those little gotchme's the WAF is up, mostly because I am done playing with MY toy for now.

Thanks to all the Martins and Dirks and Smurfs, I can now watch HD on my 13inch SDBig Grin
-------------------------------------------------
My Toy.....P4 2.4G 1.0G Ram G6200 Purevideo HVR1600 MVP Popcorn Hour
Paul_B
Offline

Member

Posts: 79
Threads: 22
Joined: May 2008
#103
2008-11-23, 11:48 AM
I am getting really frustrated with my new PCH A110 running the latest firmware, it just refuses to work from the directions in this thread or the Wiki. All I ever get is "Request cannot be processed".

I have the HTML working just fine, but even selecting "Browse Files" which doesn't even call a cgi script errors and returns "Request Cannot be processed". I you've Textpad to do all my editing and saved the files as Unix format in ANSI.

If I am right this should be the simplest test:

Code:
<a href="http://localhost.drives:8883/HARD_DRIVE/?home=1"  style="text-decoration:none" name="bottomlink"              ONKEYDOWNSET="toplink"><imgsrc="mvpmc/homeunsel.png" border="0" onfocussrc="mvpmc/homesel.png" /></a></td>
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,516
Threads: 963
Joined: May 2006
#104
2008-11-23, 12:58 PM (This post was last modified: 2008-11-23, 01:20 PM by mvallevand.)
I will leave it to the others to the cgi script training but why don't you zip up the gbpvr.cgi file and send it too me, like I requested yesterday?

Also what does this display on your browser with you popcorn IP

http://xx.xx.xx.xx:8883/network_share.html

You can email it to me if you don't want to post it here, contact me via a PM

Edit what the heck for reference

Code:
#!/bin/sh

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

echo 'hello world';
exit 0;

Martin
Paul_B
Offline

Member

Posts: 79
Threads: 22
Joined: May 2008
#105
2008-11-23, 01:41 PM
It was much simpler than that, now I feel really stupid! The text in the index.htm file I changed to run from my hard disk. But when I changed I wrote

Quote:<a href="http://localhost.drives:8883/HARD_DRIVE/?home=1"


Quote:HARD_DRIVE

should be

Quote:HARD_DISK

I'd been looking at the USB scripts where you use DRIVE but for Hard Disk you write DISK
Lindsay
Offline

Posting Freak

Posts: 1,231
Threads: 95
Joined: Apr 2005
#106
2008-12-03, 07:04 PM
OK, I'm pretty late with this thread but I wish I had paid attention much earlier. Thanks to all you great and clever guys who have derived these scripts/techniques and got the documentation up on the wiki.

Also, read obiwan's post earlier. Using Editpad does NOT guarantee that you are using the unix line return convention as he points out. Mine was defaulting to the windows convention so had to be changed for each file type. I checked everytime before saving, as well, just to make sure.

I followed the wiki USB drive instructions and it worked perfectly first time! I then modified index.htm to invoke the meta tag with 0 seconds so now it goes immediately into gbpvr.cgi.

This makes it a MUCH better and quicker experience starting up after my PC has been re-booted (used to give black screen and quite a lengthy rigmarole to get gbpvr up). I think I can also get my wife to master this!!

So, thanks again guys, your work is much appreciated.
C2Duo E8400, 4GB, GE8600GT, PCH A-100, HVR2200, NPVR 1.5.31, Win 7 x64.
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#107
2008-12-05, 09:55 PM
Sorry to cross-post but I think this is more related to this thread than the original (http://forums.gbpvr.com/showpost.php?p=3...stcount=25).

I now have a working uSB Stick Share.

Is it just my PCH, but has anyone else had an issue where the name of the USB drive CHANGES from USB_DRIVE_A-1 to USB_DRIVE_B-1 if you remove the USB stick and put it back in again? Most annoying, as the path in the mount line of the script goes out of whack ...

It is almost there but (for me) seems to still be 1 step removed from "fully" automatic (WAF). When I switch on the PCH the "Home" media source is my mvpmc share on the PC (that I used before the USB Stick). I can then choose the USB stick source i.e. USB_DRIVE_A-1 and get "instant" GBPVR, but one less step would be to switch the PCH on and have it auto-run the USB stick. Is there some way of having the USB stick set as the default "Home"? so it does this? It always reverts to my old share, presumably as that is the last thing I ran? (I admit I haven't tried disabling the META tags in the html to see if running the index.html manually will make it remember the USB stick as the last run media source).

Noting Martin's comment, what would the combined script look like?
Quote:I see you you are still using script.cgi and telnet.cgi these have been merged. Hopefully one day the wiki will be updated too.
Could someone post/WIKI this for the USB Stick Option?

Lastly, is there a way of editing the USB stick scripts with it stuck into the PCH ... ?

Ta

k.
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,516
Threads: 963
Joined: May 2006
#108
2008-12-05, 10:06 PM
One thing that might help is that you shouldn't insert or remove USB devices while GBPVR is running. USB setup is managed by the NMT browser.

Martin
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#109
2008-12-05, 10:45 PM
Oh ... :o:o:o dear...
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
Paul_B
Offline

Member

Posts: 79
Threads: 22
Joined: May 2008
#110
2008-12-05, 11:10 PM
If you have telnet enabled then you can access the USB stick that is mounted on the PCH and use Vi (yuck) Not sure if the Busybox distro has a better text editor though.

ANother option maybe to get a spare HDD and chuck it in so you can install the Samba server and access the share from a PC client. Even a new HDD can be had for around £20
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (12): « Previous 1 … 8 9 10 11 12 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Running out of NMT servers with NPVR steveum 2 1,546 2010-11-28, 03:02 AM
Last Post: mvallevand
  Pictures off a network drive Jaggy 15 4,820 2010-10-26, 11:27 PM
Last Post: mvallevand
  Running GBPVR & NPVR Blue Racer 4 2,458 2010-10-01, 09:51 PM
Last Post: mvallevand
  Media from a network drive Jaggy 3 1,987 2010-03-02, 06:30 AM
Last Post: mvallevand
  Any advantage to adding a hard drive? Elmo Putney 4 2,156 2009-09-24, 08:31 PM
Last Post: martint123
  telnet.html EditMe help -Oz- 4 2,735 2009-05-15, 09:32 PM
Last Post: -Oz-
  Do I need a hard drive in the PCH to run MVPMCX2? Bergling 11 4,800 2008-10-31, 04:39 PM
Last Post: neo541
  reboot using telnet steveum 6 6,927 2008-10-17, 01:18 PM
Last Post: martint123
  Problems with Telnet during installation althon 21 7,181 2008-08-10, 04:41 PM
Last Post: althon
  auto-load html page from/after script pBS 2 3,380 2008-06-23, 09:50 AM
Last Post: pBS

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

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

Linear Mode
Threaded Mode