View Full Version : Logging on to tivoweb
olscool
11-02-2003, 03:53 PM
I've transferred the file inside of tivoweb to /var/hack. Logged on to Teraterm, and entered "gzip -d 31tivoweb_v1.9.4-final.cpio.gz". It says no such file or directory. Anyone know what I'm doing wrong?
mrblack51
11-02-2003, 04:51 PM
um, are you sure you are in the /var/hack directory? did you do a pwd to verify? did you do an ls to make sure the file was there? linux is case sensitive. how did you transfer it? are you sure its actually there?
olscool
11-02-2003, 08:09 PM
Originally posted by mrblack51
um, are you sure you are in the /var/hack directory? did you do a pwd to verify? did you do an ls to make sure the file was there? linux is case sensitive. how did you transfer it? are you sure its actually there?
I am in the /var/hack directory. I did a pwd and says pwd 257 /var/hack is current directory. I did an ls from bash but it does not show that file. I transfered it using WS_FTP95. I can see the file in the /var/hack directory after I transfer. Also in that same file is a folder named "bin", "hackinit", "hackinit.log", "31tivoweb...", and "hackinit.txt.
olscool
11-20-2003, 12:46 AM
Still trying to figure this one out. Anybody?
BubbleLamp
11-20-2003, 01:26 AM
Originally posted by olscool
Still trying to figure this one out. Anybody?
If you type ls and don't see the file, then you transferred it to the wrong place. If it IS there, triple check the name and/or capitalization. And make sure you used binary mode to do the ftp transfer.
olscool
11-20-2003, 11:25 PM
I don't know what's going on here. I've checked everything I know to check and still get "no such file or directory". I can see that I transfered to /var/hack, but still, when I type in the gzip.... "no such file...". It shows the file to be 131715 bytes in size. Anybody else have any ideas?
BubbleLamp
11-20-2003, 11:45 PM
Originally posted by olscool
I don't know what's going on here. I've checked everything I know to check and still get "no such file or directory". I can see that I transfered to /var/hack, but still, when I type in the gzip.... "no such file...". It shows the file to be 131715 bytes in size. Anybody else have any ideas?
Double check the length against what it is on the PC.
Rename it to abc.cpio.gz so you don't have to worry about spelling errors.
Make SURE you transfer in binary mode.
Make SURE the cApiTAlizATioN is correct at the bash prompt.
Make sure you are in the same directory that the target file is. You say you can see it. Do you mean in WS_FTP, or from bash?
Get another copy of the file, in case the one you have is corrupt.
olscool
11-22-2003, 01:09 PM
I still have this problem after trying all of the above suggestions. It's not like my ftp program is not working because I transfered my hackinit with no problems. But when I transfer 31tivoweb...no such directory. I noticed when I do the transfer that I see this message: "MDTM 20030103224412 31tivoweb_v1.9.4-final.cpio.gz 500 syntax error command unrecognized". I don't know if this is why I'm having a problem or not. But like I
've mentioned, I see the file in /var/hack after I ftp. So I know it has been transfered.
Sleeper
11-22-2003, 03:00 PM
Suggestions:
1) from /var/hack do ls -l
If file exists delete it with rm -f FILENAME
2.) Try another ftp program or use hyperterminal over serial port. When using serial port, from /var/hack type rz
Then start file transfer from hyperterminal
olscool
11-22-2003, 05:29 PM
Originally posted by Sleeper
Suggestions:
1) from /var/hack do ls -l
If file exists delete it with rm -f FILENAME
2.) Try another ftp program or use hyperterminal over serial port. When using serial port, from /var/hack type rz
Then start file transfer from hyperterminal
This is what I get when I do ls -l
dist install mnt sbin var
bash-2.02# ls -l
total 32
drwxrwxrwx 2 0 0 1024 Nov 9 2002 bin
drwxrwxrwx 2 0 0 4096 Nov 9 2002 dev
drwxr-xr-x 4 0 0 1024 Nov 9 2002 diag
drwxrwxrwx 2 0 0 1024 Nov 9 2002 dist
drwxrwxrwx 4 0 0 1024 Jan 2 1970 etc
drwxrwxrwx 2 0 0 1024 Nov 9 2002 etccombo
drwxrwxrwx 2 0 0 1024 Nov 9 2002 initrd
drwxrwxrwx 2 0 0 1024 Nov 9 2002 install
drwxrwxrwx 2 0 0 1024 Nov 9 2002 kernel
drwxrwxrwx 3 0 0 1024 Nov 9 2002 lib
drwxr-xr-x 2 1048576 24244387 12288 Nov 9 2002 lost+found
drwxr-xr-x 1 0 0 32 Jan 1 1970 mnt
dr-xr-xr-x 91 0 0 0 Jan 2 1970 proc
drwxrwxrwx 2 0 0 1024 Nov 9 2002 prom
drwxrwxrwx 2 0 0 1024 Nov 9 2002 res
drwxrwxrwx 2 0 0 1024 Nov 9 2002 sbin
lrwxrwxrwx 1 0 0 8 Nov 9 2002 tmp -> /var/tmp
drwxrwxrwx 2 0 0 2048 Jan 2 1970 tvbin
drwxrwxrwx 9 0 0 1024 Nov 9 2002 tvlib
drwxr-xr-x 14 1048576 24244387 1024 Jan 2 1970 var
BubbleLamp
11-22-2003, 09:48 PM
That's not /var/hack, that's root. So you are either transferring to the wrong place, or just ls's the wrong place.
BTW, have you tried using command line FTP, or changing the host type setting in WS_FTP to something like Linux, or Generic Unix?
olscool
11-22-2003, 11:44 PM
Finally success at last. In order for the 31tivoweb file to work, I had to first type in "cd /var/hack" and then do a ls to make sure the file was there. I thought that was sort of strange that it would not recognize the file until I did that. Thanks for everyone's help.
NutKase
11-23-2003, 12:10 AM
Originally posted by olscool
Finally success at last. In order for the 31tivoweb file to work, I had to first type in "cd /var/hack" and then do a ls to make sure the file was there. I thought that was sort of strange that it would not recognize the file until I did that. Thanks for everyone's help.
THAT is a total bunch of junk. There is NO way that you had to cd /var/hack and do ls to get anything working. I'm sorry, but it's laughable. You probably never copied the file where you thought in the first place as evidenced by your newness with the cd command. Please research and let everyone know.
Please review what you did and let everyone know so that OTHERS don't read this thread and think they're having the same problem.
Again, I don't want to sound pushy but I think that as you learn (and that's a GOOD thing, at least you're trying to do things yourself) you may realize more of what 'actually' went on.
NutKase
olscool
11-23-2003, 12:30 AM
You can call it junk if you want to NutKase, but I'm the one that for the last week or so was trying to figure this one out. I'm telling you after trying the same things time after time after time to no avail, this is what did it. And for as much trouble as I had trying to get it to work, I not about to mess with it. I also believe that if someone runs into the same problem, it's not going to hurt to try it.
NutKase
11-23-2003, 12:54 AM
Originally posted by olscool
And for as much trouble as I had trying to get it to work, I not about to mess with it.
I'm happy that you got it. Congrats! But I believe that it was something else. If anyone can 'confirm' and let us know what 'really' worked I'm sure we'd appreciate it.
Sorry, I'm not trying to say that you don't think that this was the cause... I'll be happy to recant 'anytime' someone comfirms it.
NutKase
PS. I'm subscribing to this thread just to keep up on it. If anyone has the 'real' solution I'll be happy to apologize and [EDIT] my post.
NutKase
BubbleLamp
11-23-2003, 11:02 PM
It's probably what I thought, he only verified it was there in WS_FTP, but never did so using ls. So of course he had to cd into the directory first to see the file. He bashed in at root, not at /var/hack.
I think the problem is so many people don't even know what a directory tree is they can't fathom having to cd up or down the tree. (Not saying that's the case here, just a general observation after seeing many cases with similar hangups.)
Tux Man
11-23-2003, 11:50 PM
BL: You hit the nail on the head..
It's a interface prob, lol between the keyboard and the chair..
:)
Tux
olscool
11-24-2003, 12:05 AM
BubbleLamp, I'm sure you are right about bashing in at root. I thought all you had to do was to get a bash prompt and you could start from there.
If I could ask one question, then I'll leave this one alone. If I want to bash in at /var/hack what should I enter at bash?(cd /var/hack)?
P.S. We were all new to this stuff at one time or another.
NutKase
11-24-2003, 01:36 AM
Originally posted by olscool
BubbleLamp, I'm sure you are right about bashing in at root. I thought all you had to do was to get a bash prompt and you could start from there.
If I could ask one question, then I'll leave this one alone. If I want to bash in at /var/hack what should I enter at bash?(cd /var/hack)?
P.S. We were all new to this stuff at one time or another.
You are correct and congratulations! Just to ensure we're still friends and get this down for others... :) Here's a short bit of info on command line navigation.
When you start Telnet you can find out where you are in the 'tree' by typing
pwd
You'll get a listing like
/var
If you then changed directories with
cd /var/hack
then did 'pwd' you'd get
/var/hack
That should explain how to find out where you are in the tree and also how to move to a specific directory (read 'tree' branch)
You can also move up 'one' level by typing
cd:)..
The command is cd then a mandatory space (Smiley) then two dots ..
or you can move all the way to the 'root' or top directory by typing
cd:)/
Again with a mandatory space.
As you can gather from this info... / represents the 'root' or TOP of this upside down 'christmas' (had to promote the holiday I love :)) tree. The tree has branch after branch all separated by a / symbol like...
/var/hack/this/too
If you want to list the files in the directory I just mentioned above just type
ls /var/hack/this/too
You could also use the cp (copy) command as follows
cp /var/hack/this/too/s* /var/hack/junk
The * means 'all' so the format is 'cp from_directory to_directory' so this would copy all the files that begin with s from the first directory /too to the second directory /junk
I have to quit for now, my son wants me to put 'cool' stickers on his skiing helmet. Also, he is a stinkerhead who is more important than you guys :)
NutKase
------------------------------------
PS. Well, that's the beginnings... and for you budding command line windows users you can use the same commands but use the \ (backslash) key instead of the / (forwardslash) key.
NutKase
11-24-2003, 12:04 PM
CONTINUED...
Here's a representation of a directory tree.
NutKase
olscool
11-24-2003, 09:46 PM
Thanks alot NutKase! I appreciate the tree lesson.:) Also everyone else who helped. Thanks.
vBulletin® v3.7.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.