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



can anyone suggest why ftp connects

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



Posted by: jinx

but then refuses to allow a file to be downloaded? i have looked through all the option menus but can't find anything explaination. i am trying to download into textpad , but that shouldn't matter , right? thanks



Posted by: kazel

Do you have the correct version of FTP installed? That was my problem. From Steve's guide :

" If you have an original Series 1 TiVo unit with a PowerPC processor, download tivoftpd.ppc. If you have a newer Series 2 TiVo with a MIPS processor, download tivoftpd.mips.



Posted by: zaknafein

Try passive mode and see if it works. Sounds like a firewall somewhere isn't allowing inbound connections for the ftp data socket.



Posted by: jinx

thanks you guys , i will investigate as soon as i get home. i couldn't start tivoweb because the port was wrong and then when i found the port entry with "tail" i couldn't find referance to the port in "joe" so i thought i'd download the file and read it in "textpad" ,,, ahh the best laid plans of mice!!



Posted by: jinx

very strange. now the flippin ftp won't even hook up ? i did manage to download a file from micro soft ,, i did check and make sure it was in passive mode , it was. its batty ,,, i can serial in for bash , i can ping from command line , but i can't get ftp up , and nor can i edit the httpd-tt.tcl file in joe???i musta mushed something up but why can i ping my little tivo?
i'm gonna chack the ftp version , maybe it got sick
anyone think of any other clues?
thanks



Posted by: mpulver

I have a similar problem when trying to connect from work, which is behind your typical big-paranoid-corporate firewall:


quote:

Connect: Thursday 16:28:17 08-08-2002
Connecting to xxxx.xxx.com (ip = xx.x.x.xxx)
Socket connected. Waiting for welcome message...
220 You are in TiVo Mode.
220 Login isn't necessary.
220 Please hit ENTER at the login/password prompts.
Login successful
TYPE I
>200 Type set to I.
pwd
>257 "/" is current directory.
TYPE A
>200 Type set to A.
Retrieving directory listing...
PORT 192,168,2,147,10,124
>500 Port must be on command channel IP.




Then, when trying PASV, everthing's the same up to:

quote:

Retrieving directory listing...
PASV
227 Entering Passive Mode (192,168,1,200,4,0).
LIST
Connecting data socket...
>150 Opening ASCII mode data connection for file list.
Failed to establish data socket




But, it works fine within my LAN at home.

This is a Philips DSR6000 DTiVo, OS v2.5.2.



Posted by: jinx

ok , well now i got new trobbles! SOMEHOW i got the ftp working , (rebooted tivo after losing bash) , so then the ftp WORKS , i download httpd-tt.tcl in order to edit it in textpad. ALL I CHANGED was the 0 in "80" to "1" , i saved changes , tried to upload the file back to its place , COULDN't drive was read only, then i went through bash and remonted for read and write , then the file uploaded , i remounted read only , tried to start the tivoweb,,,
"permission denied"
i rebooted , "permission denied"
any clue?
thanks



Posted by: ghstridr

quote:
Originally posted by jinx
ok , well now i got new trobbles! SOMEHOW i got the ftp working , (rebooted tivo after losing bash) , so then the ftp WORKS , i download httpd-tt.tcl in order to edit it in textpad. ALL I CHANGED was the 0 in "80" to "1" , i saved changes , tried to upload the file back to its place , COULDN't drive was read only, then i went through bash and remonted for read and write , then the file uploaded , i remounted read only , tried to start the tivoweb,,,
"permission denied"
i rebooted , "permission denied"
any clue?
thanks


Check the permissions on the file you are executing. If you a do a ls -al foo.txt you should get something like this:
-rw-r--r-- 1 root root 52 May 6 15:14 foo.txt

In the far left column are the permissions.
x=execute
r=read
w=write
-=no permission granted
the short of it is that you most likely need to make the file executable.
issue the following command on the file you want to make executable:
chmode 755 foo.txt and you will end up with this after doing another ls -al:
-rwxr-xr-x 1 root root 52 May 6 15:14 foo.txt
The file now has execute rights by the owner (the first rwx entry).
I think I should put together a short paper on unix file permissions and the tools generally used at the command line tools used to modify them.
Would anybody be interested in this?



Posted by: ghstridr

quote:
Originally posted by ghstridr

Check the permissions on the file you are executing. If you a do a ls -al foo.txt you should get something like this:
-rw-r--r-- 1 root root 52 May 6 15:14 foo.txt



I forgot to say, replace foo.txt with the file name you are dealing with.



Posted by: jinx

wow ,,,, i would NEVER have occurred to me thta it was ME that needed to give permission!!! and with your advice i have progressed OUT of "permission denied" land ,,, , for some reason , my "terminal" in hypothetical tivoewevb is , and has been pondering "accepting connections" for a very long time ,, i will search upon the subject and see what i can find


THANK YOU ALL for your help
probbly be cryin back in a while,,





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