TiVoCommunity.com
(c)opyright 1995-2005 All rights reserved
indexcheckTC
This area is a static history of posts in the TiVo Community Forum Archive.
This archive history was made for the simple indexing of search sites like Google.



Pages:1



HOWTO: TivoWeb on 3.0 (for Dummies)

(Click here to view the original thread with full colors/images)



Posted by: Mr_E

# REVISED 6/16/02 (for ver 1.9.4.beta2)
# I reserved the domain TivoUnderground.net so I'll put this there one day ;)

(I figure this is my way of saying Thanks to everyone who's gotten us this far ... and please skim through it to make sure I didn't type in something really really wrong :)

# After doing this upgrade 5 times, I thought that this little guide might
# help those who haven't yet gotten around to do this:
#
# This will be written in "dummy's guide" form, so please bear with me
#
# This procedure was done with a Tivo Boot CD ver 2.6i
# along with a floppy with "tivoftpd" and "tivoweb-tcl-1.9.4.tar.gz"
# (Incidentally, when I copied the .gz file via WinXP, it showed up
# as "tivowe~1.gz" so I'll make further notes about it below)
#
# Also, these drives previously had TivoNet successfully installed
# on Phillips Ver 2.5.1 before the Upgrade to 3.0 - I don't know if
# there would be any difference if TivoNet had never been installed
#
# This is also assuming that you have a DHCP server of some sort
#
# Here we go ...

# Making mount folders for partitions 4, 7 & 9

mkdir /mnt4
mkdir /mnt7
mkdir /mnt9

# Mounting Boot Partitions, including Partition 9 which is mounted as /var
#
# Also assuming HD is Primary Slave... if it's Secondary Master or Slave,
# substitute "hdb" with "hdc" and "hdd" respectively. I seem to get
# mounting problems when I set the HD to Primary Master

mount /dev/hdb4 /mnt4
mount /dev/hdb7 /mnt7
mount /dev/hdb9 /mnt9

# Insert the Floppy if you haven't done so already
# or the next line won't work

mount /dev/fd0 /floppy

# copying files from floppy to /var/hack

cd /mnt9
mkdir hack
cd hack
cp /floppy/t* /mnt9/hack
# (for lazy typists, you can replace "/mnt9/hack" with "."

# Extra Credit: this would be a good time to copy from the floppy any
# additional modules (like SpaceUsed.itcl) or images (I shrunk down
# my "recycle1.png" to 65% and one day I'll post it up)

# Copy TivoFTPd to /sbin folders

cp tivoftpd /mnt4/sbin
cp tivoftpd /mnt7/sbin

# Unzip the file (from Zip to Tar)... I'll run CPIO/Tar after booting the Tivo

gzip -d tivoweb-tcl-1.9.4.tar.gz
# or in my case "gzip -d tivowe~1.gz" because XP truncated the file names

# Now let's see which is the active partition - see which partition
# contains the file "rc.net" (by looking through the startup folders)

ls /mnt4/etc/rc.d
ls /mnt7/etc/rc.d

# Note: if you made the tragic mistake (I speak from experience) of
# running the TivoNet installer after the upgrade to 3.0, then you may see
# "rc.net" in both folders. Since the active one will be "fresh", you can run
# the lines below on both folders (changes to the inactive partition will be
# ignored).
#
# From now on I'll use /mnt_ to refer to whichever partition is active
# Now we'll add the lines to automatically start Telnet, TivoWeb & FTP
# (including making a backup of rc.sysinit)

cd /mnt_/etc/rc.d
cp rc.sysinit rc.sysinit.backup

echo "tnlited 23 /bin/bash -login &" >> rc.sysinit
echo /var/hack/tivoweb-tcl/tivoweb >> rc.sysinit
echo "tivoftpd &" >> rc.sysinit
# Those lines above are for 1.9.4.beta2 (which is current right now)
# If you are using ver 1.9.4.beta1 or earlier (for whatever reason)
# then replace the second line above with the one below
# echo "/var/hack/tivoweb-tcl/httpd-tt.tcl >> /dev/null &" >> rc.sysinit

# Now either umount all the drives or cheat by typing "reboot"
# and wait until you see the memory count to turn off the PC and plug the
# drive back into the Tivo and do a test call. If it doesn't immediately
# work, put in the following Dial Prefix ",#401" (pause-enter-4-0-1)
#
# Dummy's Note: If it doesn't boot or change from the initial screen, you
# should make sure you have it jumpered back to Master if you changed it
#
# Dummy's Note 2: If you have a 2 drive system, don't forget to plug in
# both drives, correctly jumpered. Otherwise you get the infamous
# "green screen of death" (and here I speak from experience as well)
#
# Alright, now Telnet into the Tivo if you know the IP, otherwise, follow the
# instructions below to find your IP:
#
# Activate Backdoors, then skip through your logs:
# Hit the Tivo Button followed by "4", then "-->" for "Search by Title"
# Enter "3 0 BC" then ThumbsUp to turn on backdoors
# Press Clear-Enter-Clear-ThumbsUp on the main Tivo Central screen to
# see the log files. To navigate, use Page Up / Page Down / "-->"
#
# Your IP should be 192.168.0.??? or 192.168.1.??? for most "routers"

# Telnet in and type in following to finish the installation and then
# reboot to activate TivoWeb

cd /var/hack
cpio -H tar -i < tivoweb-tcl-1.9.4.tar
# or "cpio -H tar -i < tivowe~1" (in my case b/c XP truncated file name)

# Reboot and just type in the IP address to start up TivoWeb
#
# Enjoy... and if you find any errors or have any suggestions, please
# let me know. This is my small way of thanking everyone who's
# helped us all get this far. And considering how long it took to type all
# this, I now realize why there are so few "how-to" guides...
#
# ps - if someone knows how to undo a TivoNet software installation
# on a 3.0 drive... please let me know because I'm stuck :)
# pps - I got lucky and had had some 3.0 version before 3.0-01 and so
# I slipped it in another Tivo and had it upgrade one more notch :)



Posted by: gardavis

Great summary.

echo "/var/hack/tivoweb-tcl/httpd-tt.tcl >> /dev/null &" >> rc.sysinit

has changed in the 1.9.4 b2 version to

echo /var/hack/tivoweb-tcl/tivoweb >> rc.sysinit

BTW...I have tivoftpd before tivoweb (in rc.sysinit) without any problems.



Posted by: Cspot

quote:
Originally posted by Mr_E
(I figure this is my way of saying Thanks to everyone who's gotten us this far ... and please skim through it to make sure I didn't type in something really really wrong :)

echo "/var/hack/tivoweb-tcl/httpd-tt.tcl >> /dev/null &" >> rc.sysinit
echo "tivoftpd &" >> rc.sysinit

# Note: By my experience, putting FTP before TivoWeb doesn't work...




TivoWeb is no longer executed in this manner......check 1.9.4.beta2



Posted by: markp99

Series 2 limited from this still?



Posted by: gleffler

Yes, Series 2 units can not (at this point) have modified software.

/gleffler



Posted by: jonnydeath

Does anything change if you want to do this with a serial PPP except changeing the dial prefix?



Posted by: gleffler

quote:
Does anything change if you want to do this with a serial PPP except changeing the dial prefix?


Yes. You need to setup an always-on pppd. You should be able to find information on how to do this in the forum.

/gleffler



Posted by: zobetron

quote:
Originally posted by gardavis

echo "/var/hack/tivoweb-tcl/tivowebl >> /dev/null &" >> rc.sysinit

[/B]



I believe that should read:

echo "/var/hack/tivoweb-tcl/tivoweb >> /dev/null &" >> rc.sysinit



Posted by: WTF

Thanks Mr_E for the guide. I was actually looking for something like this. Hopefully you will have the time to edit it with the corrections the others have mentioned.



Posted by: zaknafein

quote:
Originally posted by zobetron



I believe that should read:

echo "/var/hack/tivoweb-tcl/tivoweb >> /dev/null &" >> rc.sysinit



Actually, that's not entirely correct. The tivoweb script already directs tivoweb's output to /dev/null, so adding >> /dev/null to the startup line is redundant.

/var/hack/tivoweb-tcl/tivoweb

should do just fine.



Posted by: StuRothrock

All OK and working great other than TiVo wont successfully download data over my TivoNet card. I used the ,#401 in the dialing prefix. He tries to connect and fails. He can ping his gateway.

Jun 15 19:58:23 (none) comm[126]: CallService: Start err 0
Jun 15 19:58:23 (none) comm[126]: CAM_ID not found.
Jun 15 19:58:23 (none) comm[126]: CallStatusReporter: Phase: Dial, Status In Progress
Jun 15 19:58:23 (none) comm[126]: CallStatusReporter: sending message "CL|30"
Jun 15 19:58:23 (none) comm[126]: Backdoor code 4, enable calls via broadband
Jun 15 19:58:23 (none) comm[126]: Using Ethernet. Not starting modem/pppd.
Jun 15 19:58:23 (none) comm[126]: CallStatusReporter: Phase: Start_Auth, Status In Progress
Jun 15 19:58:23 (none) comm[126]: CallStatusReporter: sending message "ST|33"
Jun 15 19:58:23 (none) comm[126]: CommUtil: connection to host 204.176.49.2, port 80, err 0x50005
Jun 15 19:58:23 (none) comm[126]: tmk tcp connect failed, reason = Network is unreachable

traceroute makes and it is a long 24 hops from here.

Any suggestions? Thanks.



Posted by: Cspot

quote:
Originally posted by StuRothrock
All OK and working great other than TiVo wont successfully download data over my TivoNet card. I used the ,#401 in the dialing prefix. He tries to connect and fails. He can ping his gateway.

Jun 15 19:58:23 (none) comm[126]: CommUtil: connection to host 204.176.49.2, port 80, err 0x50005
Jun 15 19:58:23 (none) comm[126]: tmk tcp connect failed, reason = Network is unreachable

traceroute makes and it is a long 24 hops from here.

Any suggestions? Thanks.



Can you ping 204.176.49.2 from Tivo???



Posted by: StuRothrock

I can't find ping for TiVo anywhere.



Posted by: StuRothrock

Well. I can't explain it, but I changed the server address from 204.176.49.2 to 204.176.49.14 in Addr.itcl and ALL IS WELL. Hope this helps someone.



Posted by: accessguru

I went though and did all the steps and now I can not get a bash promt over the serial port.
I don't have the service so I can't enable backdoor to get the ip address.
I was going to do a ifipconfig to get the address. I only get ( /etc ) at the promt. Can someone give me a hand.

THanks



Posted by: Laserfan

I tried to follow this late last night and had some trouble. Used DBD as I'd disconnected my CD-ROM drive to connect Tivo A as Secondary Master. First, when I tried to mount my floppy:

mount /dev/fd0 /floppy

I got an error about having no "mount point" for /floppy. Fortunately I had a Linux book (newbie here!) and decided I needed to make a directory first e.g.

mkdir /mnt/floppy

then this worked:

mount /dev/fd0 /mnt/floppy

Next I got tivoftpd transferred to /var/hack just fine, but tried to get the tivoweb.tar.gz file over and then unzipped--no dice. Not sure what this was about, the gzip command wasn't unzipping my file. I fiddled with the filename to no avail. Gave up and decided to try Telnetting (which I'd installed at the same time) and ftp'ing instead. So I put the drive back in my Tivo hoping for the best.

Telnet worked, ftp'ing was way cool (easier to do than it has looked on these forums) and so I ftp'ed the tivoweb file into /var/hack and unzipped it there.

All is well! TivoWeb is just wonderful!!! :cool:



Posted by: stevejenkins

In the README, when it says:

quote:
By default, the images are pulled straight out of mfs. If you don't like the
look of them or want to crop the borders (which I suggest), save the images
from your browser and modify them in a graphics program. Then put them in an
'images' directory where you run 'tivoweb' from. It will first check
there for images, if it doesn't find them, it will go to mfs (you don't even
need to restart the program for this to take effect).


I am assuming you're only talking about images that are CURRENTLY in the database.

Is there an easy way to add an additional png image that I've created (I've made a new 65x55 Speed Channel logo)?

From searching the archives, it seems like I have to jump through a whole lotta hoops... anyone written anything that makes adding new logos to channels a snap?



Posted by: Lightn

stevejenkins:
That's not exactly correct. For any image request to tivoweb, it will check that directory first, regardless of mfs. I use this in the latest tivoweb to provide the recycle icon in the deleted shows screen. So you might be able to get a logo record onto the tivo without actually putting the new image into mfs, and put that image in the tivoweb images directory, but it would only work on tivoweb and might mess up the tivo.

And I don't know any easy way to add images for logos...



Posted by: stevejenkins

Lightn:

Thanks, but I had already tried putting speed.png in the /var/hack/tivoweb-tcl/images dir first, but my speed.png didn't show up as an available channel icon on the TiVoWEB /icons/ page.

I can display my icon with http://tivo2/images/ because it's in the images folder (right next to the recycle.png). But it's not being seen as an available channel logo for some reason...



Posted by: ryanjennings

Where do you download the 2.6i boot disk?



Posted by: TechDreamer

This is a Dummies thread? Uh, I think I better come back when I get up to dummy status. LOL.



Posted by: KrazyKritter

I've got telnet and ftp access on my 3.0 sa tivo so how can I setup tivoweb without pulling the drive yet again??



Posted by: threeBs

Telnet in

http_get -T 0 -C 0 -D /var/hack -U http://199.240.141.102:80/tivoweb-t....4.beta3.tar.gz

gzip -d tivoweb-tcl-1.9.4.beta3.tar.gz

cpio -H tar -i < tivoweb-tcl-1.9.4.beta3.tar

cd tivoweb-tcl

./tivoweb console to start



Posted by: KrazyKritter

For any newbies that might be reading this

tivoweb-tcl-1.9.4.beta3.tar.gz unzipped to web.tar

so you would substitute

web.tar for tivoweb-tcl-1.9.4.beta3.tar

in the previous message.



Posted by: KrazyKritter

I created logos for a few stations that weren't in the mfc and put them in the images dir as the readme instructs but they don't show up when I choose to change the logo. So now what??



Posted by: StuRothrock

Same for me. I spent an hour to get them all set and the next day the updates to the icons I made were gone. dont know whatup.



Posted by: troycarpenter

quote:
Originally posted by zaknafein


Actually, that's not entirely correct. The tivoweb script already directs tivoweb's output to /dev/null, so adding >> /dev/null to the startup line is redundant.

/var/hack/tivoweb-tcl/tivoweb

should do just fine.



I actually modified the tivoweb startup script to send the output to /var/log/tivoweb.log.

The interesting side effect is that now the tivoweb logs module sees it and now tivoweb can display its own logs! (note: any file you drop into /var/logs will be seen by the logs module and can be displayed).

I would actually like to see a command line option to the tivoweb startup script which will either redirect to /dev/null or to a log file.

Troy



Posted by: MisterEd

Is there a typo here? I can't get it to work.

quote:
Originally posted by threeBs
Telnet in

http_get -T 0 -C 0 -D /var/hack -U http://199.240.141.102:80/tivoweb-t....4.beta3.tar.gz





Posted by: KrazyKritter

I had trouble getting the tivo to download stuff from the net very well. It usually took me several tries, if it works at all. I finally got tired of it and just activated the web server included with XP and pulled it from the on own machine. This was before I had FTP working, once ftp is working just ftp the stuff.



Posted by: GBaz

Ok im good with computers but not linux....any one have a setup script in the works to do it automatically for you. Im a bit aprehensive to do all that.



Posted by: jnk27

Well, I cannot figure out why my tivoweb changes do not persist, i.e., even though I set Steve Jenkin's tivocomm in the .css file, I have to reset it whenever I restart tivoweb; and, more problematically, even though tivoweb sees my changes to the logos, my tivo doesn't. :confused:

I've tried changing root to read/write before making changes, to no effect. Any kind soul have an idea?

Thanks in advance,
John



Posted by: comfysofa

Well - ive just read through this thread - ive got to say i dont understand a word of it - i take it if follow the first item on the thread line for line (of which i dont fully understand either..) then the Tivo net stuff will start up - ftp server too by the looks of it.......ive already done an A drive upgrade and got another one on order, so im ok with opening it up and putting it in a PC no prob.....if some one can answer this first before i even start.....

Appreciate it

Ta

Andy



Posted by: Gomer Pyle

comfysofa:

This thread was dug up from June, that's a lifetime in TiVo developement time.

Start here and proceed methodically. It is not a difficult process...



Posted by: Yike

>> This is a Dummies thread? Uh, I think I better come back when I get up to dummy status. LOL.

Same here, I'm nto even close to dummy status I guess. What would I be called?



Posted by: unsped

I am having problems with tivoweb.

http://salfter.dyndns.org/files/tiv...ies-install.txt

I used the howto from this site, and tivo web runs however certain functions
appear broken.

for example from the main tivoweb page, if I click on search, and enter
"star" I get:

INTERNAL SERVER ERROR
action_search '' 'set "searchby" "0";set "cat" "0";set "scat" "0";set "q"
"star";set "submit" "Search";'
can't read "channeltablefsid": no such variable


if I try and edit a season pass under user interface I get

INTERNAL SERVER ERROR
action_editseasonpass '/630442' ''
can't read "channum": no such variable


on and on...

any ideas?

thanks again
unsped


also my rc.sysinit file was located in etc/rc.d not etc/init.d





vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Limited.
vB Easy Archive Final ©2000 - 2009 - Created by Stefan "Xenon" Kaeser Modified by Adam J. de Jaray