2008-07-04, 04:56 PM
I have tried editing the scripts twice now and cant seem to get this to work.
Questions:
3. Modify script.cgi and replace xx.xx.xx.xx to the IP address of your gbpvr server/mvpmc share.
is this the IP of the computer i am using?
5. Modify telnet.html in two places replacing EditMe with the name exactly as it is presented on the PCH Media Source screen.
Note The %20 is the space. Do not use the the name from the network share screen
%20 is the space, what dose that mean, do i delete it and replace with a space?
Here are my scripts if it helps
script.cig
#!/bin/sh
echo "Content-Length: 29";
echo "Content-type: text/html";
echo "";
cd ~
mkdir /etc/mvpmc
mount -t cifs //192.168.0.103/mvpmc /etc/mvpmc/ -o username=guest,ro;
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;
telnet.html
<a href="http://localhost.drives:8883/[SMB]%20FAMILY-LAPTOP.mvpmc:mvpmc/script.cgi">Telnetd</a>
<BR>
<a href="http://localhost.drives:8883/[SMB]%20FAMILY-LAPTOP.mvpmc:mvpmc/gbpvr.cgi">GB-PVR</a>
Startmeup
#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 720 &
#/etc/mvpmc/mvpmcx2 -m 720 --frequency 50 &
Questions:
3. Modify script.cgi and replace xx.xx.xx.xx to the IP address of your gbpvr server/mvpmc share.
is this the IP of the computer i am using?
5. Modify telnet.html in two places replacing EditMe with the name exactly as it is presented on the PCH Media Source screen.
Note The %20 is the space. Do not use the the name from the network share screen
%20 is the space, what dose that mean, do i delete it and replace with a space?
Here are my scripts if it helps
script.cig
#!/bin/sh
echo "Content-Length: 29";
echo "Content-type: text/html";
echo "";
cd ~
mkdir /etc/mvpmc
mount -t cifs //192.168.0.103/mvpmc /etc/mvpmc/ -o username=guest,ro;
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;
telnet.html
<a href="http://localhost.drives:8883/[SMB]%20FAMILY-LAPTOP.mvpmc:mvpmc/script.cgi">Telnetd</a>
<BR>
<a href="http://localhost.drives:8883/[SMB]%20FAMILY-LAPTOP.mvpmc:mvpmc/gbpvr.cgi">GB-PVR</a>
Startmeup
#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 720 &
#/etc/mvpmc/mvpmcx2 -m 720 --frequency 50 &