PDA

View Full Version : /var/hack# prompt help?


bobsackamano
03-06-2004, 11:25 PM
Hello
I have a DSR6000, installed 25xtreme(well 99% anyhow) and the xupgrade(seems to work-did the phone hack). Here is where I am running into problems, I am using tera term pro and with a serial cable. When I fire it up I get the line "/var/hack#" . I am trying to get to the bash prompt to send and remove a file but I am lost now and dont want to fudge it up...Any insight?

TIA

chevy0
03-06-2004, 11:31 PM
that is the bash prompt

vu2vu
03-06-2004, 11:53 PM
I got the fix for you.

Type this in your "/var/hack#" prompt so you can get a bash prompt.

PS1="bash#"



Hello
I have a DSR6000, installed 25xtreme(well 99% anyhow) and the xupgrade(seems to work-did the phone hack). Here is where I am running into problems, I am using tera term pro and with a serial cable. When I fire it up I get the line "/var/hack#" . I am trying to get to the bash prompt to send and remove a file but I am lost now and dont want to fudge it up...Any insight?

TIA

bobsackamano
03-06-2004, 11:56 PM
Thanks for the help
So I should type it in like this "/var/hack#PS1=bash#" then hit enter?

Just trying to take it slow and not mess it up!!

vu2vu
03-07-2004, 12:00 AM
It should look like this

/var/hack#PS1="bash#"

Then you can try this

/var/hack#PS1="wasjustajoke#"

Then try this

/var/hack#PS1="onlycosmetic#"

Hit enter after each one.

bobsackamano
03-07-2004, 12:17 AM
Thank you !
I now have "bash#" ,now I need to figure out how to remove and replace a file in a different directory. This is what I was instructed to do to remove and replace the file I need.
code


When I type in cd/ get no such file or directory?

Zirak
03-07-2004, 12:30 AM
Jeez... Try the underground at www.tivocommunity.com.

vu2vu
03-07-2004, 12:38 AM
There is no reason to be poking at any .btl files. DSS hacking is not allowed on this forum.

Your welcome on the bash prompt though.

Next time try this:

/var/hack#PS1="bash-prompt#"

bobsackamano
03-07-2004, 12:47 AM
Sorry I was not my intention to hack dss ,just poking around and learning.No disrespect intended.

Thanks again for the help

bobsackamano
03-07-2004, 09:52 AM
Still trying to learn when change the "/var/hack#" prompt to "/var/hack#PS1="bash#" I end up with "bash#" from what I have been reading it needs to be "bash-2.02#" correct?
I still cannot /cd at the "bash#" prompt? Any suggestions?

SR712
03-07-2004, 03:44 PM
You need to Google search for a Bash Primer and sit down and read it. Highly recommended.

OEJack
03-07-2004, 06:35 PM
Isn't this the forum where people aren't supposed to get flamed for asking questions that may seem like common knowledge to most TiVo hackers?

bobsack, I do not own a DSR6000 and I am not sure why you need a "bash" prompt to do what you need to do, but the easiest way to get a bash prompt is to type "bash" (sans quotes) at your current prompt. That should give you a bash prompt. If it doesn't then type "/bin/bash" (again sans quotes) at your current prompt and you should be looking at the bash prompt you have been looking for.

BTW, chevy the default prompt is a bourne shell not bash. vu2vu changing the bourne prompt (even if you were just trying to be funny) still won't make it a bash shell.

If you want to know what type of shell your TiVo is running when you login type "echo $SHELL". If it returns /bin/sh , which I am guessing most TiVos will then you are not running bash, you are running bourne.