PDA

View Full Version : Need help with telnet bash prompt


rayshean
12-19-2005, 09:59 AM
I am sufficiently adept at unix command line to get around directories, move files, use editors, etc. I set up my rc.sysinit.author to load telnet and get to the "2.02 bash prompt. This is what I don't understand: I used to be able to use the usual UNIX/linux commands, such as list files (ls), etc., but I get an unknown command when I type it at the bash prompt.

Could someone please tell me how to telnet in to get just get a normal linux command line, or tell me how to get out of bash and back to a prompt I know how to work with, i.e. what is the command in rc.sysinit.author to do this.

I want to get into the Tivo directory structure to set up tivoftpd, but I just don't know what I'm doing at the bash prompt.

Thanks.

eastwind
12-19-2005, 11:31 AM
I am sufficiently adept at unix command line to get around directories, move files, use editors, etc. I set up my rc.sysinit.author to load telnet and get to the "2.02 bash prompt. This is what I don't understand: I used to be able to use the usual UNIX/linux commands, such as list files (ls), etc., but I get an unknown command when I type it at the bash prompt.

Could someone please tell me how to telnet in to get just get a normal linux command line, or tell me how to get out of bash and back to a prompt I know how to work with, i.e. what is the command in rc.sysinit.author to do this.

I want to get into the Tivo directory structure to set up tivoftpd, but I just don't know what I'm doing at the bash prompt.

Thanks.
TiVo doesn't ship with all the linux binaries. Not even the most common ones. If you haven't installed them you'll need to do that. If you've already done that it's probably a PATH issue.

ew

Tivonator
12-21-2005, 10:58 PM
If you haven't already done put on the tivo binaries for "ls". "rm", etc, pull the drive and install AlphaWolf's All-in-One S2 binaries (http://www.dealdatabase.com/forum/showthread.php?t=37602). These contain all the tivo binaries you will need for the "common" linux commands at your telnet prompt. Then check you path.

mefdahl
12-25-2005, 05:19 PM
What I think happened with you is the path isn't getting set correctly...

you should have a line (adjusted properly for how you setup your TiVo) simular to this in your rc.sysinit.author...

export PATH=%PATH:.:./:/tivo-utils:/bin:/sbin:/tvbin:/tivobin:/tivo-bin

of course being linux things are case sensitive, etc. The above path includes . and ./ just to make life easyier. You will have to adjust this to where you have placed your tools.

nuclearw
01-10-2006, 02:27 PM
export PATH=%PATH:.:./:/tivo-utils:/bin:/sbin:/tvbin:/tivobin:/tivo-bin


Make that $PATH or you will loose the default Tivo paths.