Series 1 SA <--> HDVR2 ???
I've been watching this thread and using mfs_ftp from the beginning with my single SA HDR312 S1 unit. I'm now contemplating purchasing an HDVR2 unit (only $99!!).
Can I transfer shows between these two?? I've read various (contradicting) posts on this issue.
Re: Cat'ing Port 3105.log
Quote:
Originally posted by mavrcksd
Riley:
When I do a cat of the port.3105.log ... it lists through the % and the 'k' done... however then my bash prompt comes right along and drops on top of it, so I cannot see what is on the left side of the screen.
Mav
cat will list the contents of the log file and exit. What you want is
tail -f port.3105.log
The tail command 'cats' just the end of the file requested. The -f option tells tail when it hits the end of the file, don't exit, just wait for more data to be written and print that out too.
ok a stupid question for you...
ok...i have been able to set the mfs_ftp on both my dtivo's with no problem. i have read the "read me" and it says...
How to transfer a show directly from one tivo to another:
this is how it works with w98/smartftp 1.0. I'm sure other platforms / clients
differ but figuring them out it up to you. this is just what I generally use.
open a connection to each tivo & drag a .tmf from one remote file list window
to the other.
you can hit play as soon as the recording appears in the recieving tivo
nowshowing list (about 10-15 seconds) and watch it as it streams across.
transfers between tivonet/dtivos here generally run about 900k/sec. ymmv.
the speed of the pc running smart-ftp makes NO difference since fxp transfers
are DIRECT and the pc just coordinates traffic
the stupid question:
Where are the .tmf File located on the Dtivo please??? (are they in var or /var/hack?)
ok..i know i am pressing my luck with stupid questions but...
now all is installed and i'm now using port 3105 (thanks for the info) and i have installed smartFTP v1.0. i have pulled up 2 boxs (one for each Dtivo) and have both of them pointed to the TMF folder. I try to pull one TMF file from Dtivo A to Dtivo B and it looks like i can drop the file there but when i release the mouse button nothing happens. i have tried with passive mode on and off and from B to A and A to B. same thing. The engine is running i just need to know how to pull the gear out of "park". Thanks for your tolerence with me.
Q_3
Does MFS_ftp conflict with built-in Tivo FTP?
I'm having problems getting mfsstream to download .TY files over 2 gb (using OS X Safari and Internet Explorer) within TivoWeb.
I'd like to install MFS_FTP to get around my browser's download limitation. I may have missed it in the mfs_ftp thread, but does MFS_FTP conflict or interfere with my existing FTP server (tivoftpd?) already on my DTivo?
How do I differentiate between the two servers for 1) downloading .TY files (mfs_ftp) and 2) uploading applications to the DTivo (tivoftpd)?
Thanks
Automated transfer between Tivos using bash script
I wrote a quick-n-dirty bash script that runs on a third linux machine and copies files between tivos. It could also work on a Windows/Cygwin box.
I'm posting it to spark discussion but it may not work for someone who doesn't know this stuff well. It needs a dos2unix and curl binaries. I had to get the latest curl which supports rate limiting but the dos2unix was the one included in my RH7.2 (probably same binary since forever).
Right now it lets you select one recording to transfer. I tried this with smartftp and FXP but I never get it to work consistently. I also couldn't figure out how to limit the rate. My Tivo gets really slow at anything over 200k get or put. The disadvantage to this is you need a machine with several gigabytes of free 'swing space'.
I figure it needs a whole lot more error checking (check drive space,failures,etc) and a change such that it lets you select multiple tasks and then do them all sequentially in a background batch.
If I get time I'll enhance it but if anyone else wants to, feel free.
BTW: I did some last minute changes w/out testing so the syntax may not be totally right but the curl commands are right on.
ABTW: I toyed with the idea of starting the 'get' in the background and sleeping 10 minutes and start the 'put' . It would allow a faster transfer because of the overlap but there's no way to be sure it gets the whole file.
#!/bin/sh
# bash function that gets a file listing from the tivo
function getlisting()
{
TIVO=$1
if [ "${TIVO}" != "" ]
then
curl ftp://$TIVO:3105/tmf/ 2>/dev/null > listing.$TIVO || echo error getting listing
else
echo usage: $0 tivoaddress
fi
IFS="
"
# I start at 100 so all columns the same. 1000+ recordings will break this
COUNT=100
mv -f listing.$TIVO templist.tmp
for LINE in $( cat templist.tmp )
do
LINE=${LINE:28:197}
echo "${COUNT}: ${LINE}"
COUNT=$(( ${COUNT} + 1 ))
done > listing.${TIVO}
dos2unix listing.${TIVO}
}
# this assumes you have two tivos that resolve to tivo and tivo2
# IP addresses should also work here
echo "1 - tivo to tivo2"
echo "2 - tivo2 to tivo "
read -n1 usrin
case $usrin in
1)
FROM=tivo
TO=tivo2
LISTING=listing.tivo
;;
2)
FROM=tivo2
TO=tivo
LISTING=listing.tivo2
;;
*)
exit
;;
esac
# get listing from source tivo
getlisting ${FROM}
# I use the 'less' file browser so you can make note
# of the recrding number
less ${LISTING}
echo
echo
echo
echo Enter Number
echo
# enter the number of the recording to transfer
read NUMBER
# parse the name
name="$( grep "^${NUMBER}:" ${LISTING} | cut -c33- )"
echo "+$name+"
# get the file
curl --limit-rate 200k --disable-epsv --remote-name --verbose --globoff "ftp://${FROM}:3105/tmf/${name}"
# put the file
curl -T "${name}" --limit-rate 200k --disable-epsv --verbose --globoff "ftp://${TO}:3105/tmf"
# delete the file from local drive
rm -f "${name}"
Re: scrambling & speed issues
Wes:
a couple of things that I did (all from Riley's suggestions), you may have to do a bit more research for specifics, but I get 1MB inserts (WinXP SP1, Linksys BEFSX41 router)
EDIT: Active vs Passive FTP (big difference)
1. Boot parameters: root=/dev/hda4 runideturbo=false
2. checked my Maxtor HD with "hdparm -i /dev/hda"
Found MaxMultSect=16 and MultSect=off
rc.sysinit "hdparm -m16 /dev/hda"
Now the MultSect=16
3. used mbm's mfs_import (think it's at alt.org) and renamed it as mfs_stdinsert (EDIT: I assume this is now part of DL package, I haven't updated mfs_ftp for the last couple of versions)
4. Installed "setpri"
5. Set ithrottle at 0
6. Set insert_priority at 10
Quote:
Originally posted by rc3105
speed issues - the biggie
here I thought it was something complex & it was just the !@#$% ideturbo module, figures. thanks mbm!
to check your tivo boot parms issue this command from bash
bootpage -q /dev/hda
you should get roughly this
IP address: 192.168.0.2
Primary boot partition: 3
Alternate boot partition: 6
Hostname: unnamed
Net boot kernel name: linux.px
Boot parameters: root=/dev/hda4 runideturbo=false
MAC address: bd:ca:43:47:75:90
RF channel: 0
Standby: 109
1
if the "Boot paramters:" line DOES NOT include "runideturbo=false" then you need to add it
note whatever your root parms are. "root=/dev/hda4" or "root=/dev/hda7"
and update your parms by issuing this command
bootpage -P "your_current_root_parms runideturbo=false" /dev/hda
on my boxes it's
bootpage -P "root=/dev/hda4 runideturbo=false" /dev/hda
reboot, try an insert. should be MUCH faster :cool: [/B]