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 33 34 35 36 37
NMT Testing

 
  • 0 Vote(s) - 0 Average
NMT Testing
Sheik Yerbouti
Offline

Posting Freak

Posts: 922
Threads: 77
Joined: Jul 2006
#31
2008-03-01, 07:02 PM
Martin,

Telnet is working from the mvpmc share. The only strange thing I noticed was that after executing 'telnetd' from the html page, the wait sign (or sandbox) kept turning and it never showed status messages. Ik had to press the stop button to return to the menu on the PCH. But I can reach the PCH with Putty and browse to /etc/mvpmc to list the files in that share, so it's not a problem. Looking forward to the next step!

Chris
[SIZE="1"]i5 750 4GB RAM, Windows 10 Home, HDHomeRun HDHR3-4DC, Digital Devices Cine CT, OSCam on a Raspberry Pi with a Smargo Smartreader+, Raspberry Pi 2 OpenElec Kodi client, Gigabyte Brix 2807 OpenElec Kodi client[/SIZE]
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,894
Threads: 955
Joined: May 2006
#32
2008-03-01, 07:40 PM
Do you have the & ending the telnetd line?

Martin
Sheik Yerbouti
Offline

Posting Freak

Posts: 922
Threads: 77
Joined: Jul 2006
#33
2008-03-01, 08:16 PM
mvallevand Wrote:Do you have the & ending the telnetd line?
Yes (copy and paste from your post).

Chris
[SIZE="1"]i5 750 4GB RAM, Windows 10 Home, HDHomeRun HDHR3-4DC, Digital Devices Cine CT, OSCam on a Raspberry Pi with a Smargo Smartreader+, Raspberry Pi 2 OpenElec Kodi client, Gigabyte Brix 2807 OpenElec Kodi client[/SIZE]
BrainStormer
Offline

Senior Member

Posts: 544
Threads: 38
Joined: Oct 2005
#34
2008-03-01, 08:51 PM
Change Content length to 26 and make sure the file is saved in unix format (Line feeds, no carriage returns)

-BrainStormer-
Intel i5 3.2Ghz Quad Core, Windows 10 Pro 64Bit
12 GB RAM, Gigabit LAN,3TB SATA HD 8MB Cache Dedicated Recording Drive
SiliconDust Prime, PCH A-100 & C-200, Chromecast, FireTV
Raspberry Pi 3 Running OSMC, Samsung Smart TV UN32H5201AF
Cable Provider: Comcast in Oregon, USA
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,894
Threads: 955
Joined: May 2006
#35
2008-03-01, 09:27 PM
One thing I haven't confirmed was if gaya respected Content-Length. I hope not but if so I will see if I make a workaround by calling a third script.

I actually don't use the erlis method. I find that using that this busybox for telnet is overkill and I compiled a much smaller telnet and I use a full featured busybox for everything else. Enough geek speak, I will leave that for the NMT forums.

Martin
BrainStormer
Offline

Senior Member

Posts: 544
Threads: 38
Joined: Oct 2005
#36
2008-03-01, 09:56 PM
mvallevand Wrote:One thing I haven't confirmed was if gaya respected Content-Length.
Martin

Well mark it as confirmed then. I tried it and you have to echo enough caracters to meet content length. I also tried removing the content length line and got the same issue.

Setting content length to 0 gave a request cannot be processed but still executed the script.
Intel i5 3.2Ghz Quad Core, Windows 10 Pro 64Bit
12 GB RAM, Gigabit LAN,3TB SATA HD 8MB Cache Dedicated Recording Drive
SiliconDust Prime, PCH A-100 & C-200, Chromecast, FireTV
Raspberry Pi 3 Running OSMC, Samsung Smart TV UN32H5201AF
Cable Provider: Comcast in Oregon, USA
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#37
2008-03-02, 12:45 AM
mvallevand Wrote:Thats perfect.

Now copy busybox26 telnet.html and script.cgi into the mvpmc share. Eventually script.cgi will do what dongle.bin.config is doing today and load the gbpvr client

edit telnet.html to look like

<a href="http://localhost.drives:8883/[SMB]%20SMURFPC:mvpmc/script.cgi">Telnetd</a>

and edit script.cgi to look like the following, use your ip instead of xx.xx.xx.xx

#!/bin/sh

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

cd ~
mkdir /etc/mvpmc
mount -t cifs //xx.xx.xx.xx/mvpmc /etc/mvpmc/ -o username=guest,ro
ln -s /etc/mvpmc/busybox26 /usr/bin/telnetd
telnetd -l /bin/sh -p 23 &
echo "Telnetd started on port 23";
exit 0;

Martin

Hmm. I'm having problems with this, I also copied pasted, but can't get the same feedback as the USB Stick. I get the white screen, but when I try to run it, I get the standard PH error message.... with the "! triangle".

Is the "%20" correct? How about uppercase SMB? The extra backslash? It doesn't seem the same as?

smb://SMURFPC/mvpmc

There's should be nothing firewall-related I need to do right, it's on my internal network? The mvp is on the same subnet and that works...

btw are hostnames supported rather than xx.xx.xx.xx, I used Tomato in my Router to assign Hostnames to Static (reserved) IP's.

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: 52,894
Threads: 955
Joined: May 2006
#38
2008-03-02, 12:55 AM
You can confirm the path name by issuing

ls /opt/sybhttpd/localhost.drives/

The %20 is the space.

mvpmc has to be set as your default media source too.

I don't know about hostnames working but you can try, noting that the dns that your pch is using taken from your setup.txt is this

eth_dns=208.67.222.222
eth_dns2=208.67.220.220

Martin
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,894
Threads: 955
Joined: May 2006
#39
2008-03-02, 07:37 AM
I thought you'd like to know where I am trying to take you guys,

http://www.youtube.com/v/AjafSrsAEHs

1 - Start "mvpmc" configured in Web Services simply by hitting a # on the remote.
2 - You all know how to use GBPVR better than me so no instructions necessary.

3 To get back to the PCH hit power off.

Martin
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#40
2008-03-02, 09:22 AM
mvallevand Wrote:You can confirm the path name by issuing

ls /opt/sybhttpd/localhost.drives/

At what point should I issue this, and from where? Putty?

Quote:The %20 is the space.
Yeah I know, just wanted to make sure it MUST BE a space.

Quote:mvpmc has to be set as your default media source too..

Um ... how do I do this? :confused:
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 |
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (6): « Previous 1 2 3 4 5 6 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  NPVR 1.5.x testing with the NMTs mvallevand 18 7,812 2010-07-07, 03:34 PM
Last Post: martint123
  PCH GBPVR testing Lindsay 1 1,826 2008-04-08, 11:42 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