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
Cannot get a bash prompt....even after editing rc.sysinit
(Click here to view the original thread with full colors/images)
Posted by: droidd
I have followed all the instructions that various threads have had in getting into diagnostic mode, but am still having difficulties.
I have gotten to the Verify prompt and attempted to use the "factory" password. This did not work. I mounted the drive back on my PC, using Dylan's Boot Disk.
I then used joe /mnt/etc/rc.d/rc.sysinit
and added to the very bottom of this:
/bin/bashhttp://www.avsforum.com/ubbtivo/eek.gif</dev/ttyS3http://www.avsforum.com/ubbtivo/eek.gif>&/dev/ttyS3http://www.avsforum.com/ubbtivo/eek.gif&
The http://www.avsforum.com/ubbtivo/eek.gif indicates that I put a space when editing rc.sysinit.
I did this mounting /dev/hdc4 & /dev/hdc7
After reconnecting the drive to TiVo, I still get the Verify prompt. I thought I would get the Bash prompt here.
What am I missing?
I cannot seem to change the password using: /tvbin/crypto -u -srp "factory" after booting with Dylan's disk...so I assume that this must be done by connecting to the TiVo. Am I correct in this thinking.
My TiVo is a HDR112 upgraded to 64 hours.
I was not sucessful in searching for a thread that someone may have entered with this particular problem.
<FONT COLOR="#000000" SIZE="1" FACE="Verdana, Arial">This message has been edited by droidd on 01-01-2001 at 02:44 PM</font>
Posted by: sonnik
It sounds as though you think you have to tap return once after rebooting for a shell prompt. This will still yield a "verify: " prompt.
The shell comes up without any interaction from you, pretty much at the point the TiVo animation starts rolling, you'll get a prompt. No need to tap return.
Yes, the crypto command must be done via the shell.
Check to make sure if you're not pressing return that you don't have any funky settings in your term program.
------------------
-sonnik
PVRHack.sonnik.com
<FONT COLOR="#000000" SIZE="1" FACE="Verdana, Arial">This message has been edited by sonnik on 01-01-2001 at 03:00 PM</font>
Posted by: GarySargent
What you did looks ok to me?
You shouldn't be getting the Verify prompt. DO NOT press return when your TiVo boots.
Just let it boot normally, and when it has finished you should find a BASH prompt via the serial port. The BASH prompt normally starts up as the TiVo video plays.
If you still have problems maybe you edited the wrong rc.sysinit file? That is you edited the one on /dev/hdc4, but your TiVo is using the one on /dev/hdc7 or vice versa.
Once you have a bash prompt use <FONT face="Courier New"><FONT COLOR="Maroon">stty 115200</FONT c></FONT f> and then reconnect to the serial port at 115200 - this makes for a much quicker connection! http://www.avsforum.com/ubbtivo/smile.gif
<FONT COLOR="#000000" SIZE="1" FACE="Verdana, Arial">This message has been edited by GarySargent on 01-01-2001 at 03:22 PM</font>
Posted by: droidd
I waited up until the TiVo animation sequence starts, and I get some funky characters while connected to the TiVo.
These characters differ from each of the terminal programs that I have been using.
Using windows Hyperterm with the following settings:
Bits per second: 9600
Data Bits: 8
Parity: None
Stop Bits: 1
Flow Control: None
Emulation: VT100 (used auto-detect as well)
Have made a connection using Com1 & Com2.
The characters I get just before the Phillips logo appears (which is before the the TiVo animation) is:
http://www.totallynuts.org/TiVo/hyperterm.jpg
Using another program, Tera Term, I have the same settings as above. I get funky characters at the same place. The characters are:
http://www.totallynuts.org/TiVo/teraterm.jpg
I have added the /bin/bash line to both /dev/hdc7 and /dev/hdc4.
I have no problems getting the Verify Password prompt if I hit enter after restarting TiVo.
Posted by: GarySargent
If I had to guess I'd say your TiVo box is communicating at a different speed - ie not 9600.
I'm sure I've seen somewhere (FAQ?) that some boxes were set to a different default speed - possibly 115200?
You could create a .bashrc file in the root directory and put a <FONT face="Courier New">stty 9600</FONT f> command in it...
Posted by: [tron]
Be sure to turn off the serial device in the TiVo setup - it sounds like you might have the serial port enabled.
You should modify it to use the IR Blaster, if you are going to be mucking around a lot, but if you are doing this short term you can enable the IR Blaster and just accept all of the default settings to get through the configuration.
[tron]
Posted by: Otto
Yes, if the Tivo thinks it's using the serial control to control your DTV box, then the bash line won't work. That could give you the odd characters you're seeing.
------------------
Otto, Supreme TiVoWarrior - Moderator - AVS Forum - Tivo Underground
"If once you start down the dark path, forever will it dominate your destiny. Consume you it will!" -- Yoda
Posted by: kazymyr
quote:
<font face="Verdana, Arial" size="2">Originally posted by droidd:
/bin/bashhttp://www.avsforum.com/ubbtivo/eek.gif</dev/ttyS3http://www.avsforum.com/ubbtivo/eek.gif>&/dev/ttyS3http://www.avsforum.com/ubbtivo/eek.gif&</font>
/bin/bashhttp://www.avsforum.com/ubbtivo/eek.gif</dev/ttyS3http://www.avsforum.com/ubbtivo/eek.gif>&/dev/ttyS3http://www.avsforum.com/ubbtivo/eek.gif&
______________________^
IMHO you're missing an http://www.avsforum.com/ubbtivo/eek.gif right here (between & and /dev/...)
<FONT COLOR="#000000" SIZE="1" FACE="Verdana, Arial">This message has been edited by kazymyr on 01-02-2001 at 01:47 PM</font>
Posted by: droidd
Serial port disabled, switched to IR blaster.
No funky characters now.
Made change to
/bin/bash </dev/ttyS3 >& /dev/ttyS3 &
so it reflect correct spaces as indicated in the message above this one.
Still nothing.
Changed port speed from 9600 to 115200 as suggested, and still no luck. (changed this on both the terminal program as well as confirming that port speed for system was set to at 9600/115200)
Switched to Com1 on my computer, as well as tried connecting with another computer.
Tried another serial cable that came with my other TiVo as well as another null modem.
Any other ideas ?
Thanks for all of the suggestions already made.
<FONT COLOR="#000000" SIZE="1" FACE="Verdana, Arial">This message has been edited by droidd on 01-02-2001 at 04:18 PM</font>
Posted by: Otto
droidd:
If you take a close look at rc.sysinit, near the "shondss" line is where the bash prompt gets enabled. Copy that line outside the "if shondss" bit and try it. Also, after the Tivo boots and you see the intro animation, hit Enter a few times you see if the prompt appears. Most likely settings are 9600,N,8,1. Default stuff.
------------------
Otto, Supreme TiVoWarrior - Moderator - AVS Forum - Tivo Underground
"If once you start down the dark path, forever will it dominate your destiny. Consume you it will!" -- Yoda
Posted by: kazymyr
I've noticed that even if you set the serial port speed at a different value than the default (I have it set to 57600 8n1), the password prompt for the ROM monitor always comes at 9600 8n1.
Posted by: droidd
THANK YOU OTTO!
Modified the line to look like what was further up in the file.
it was:
bash </dev/ttyS3 >& /dev/ttyS3 &
I saw that line in there, but never tried it.
Thanks for everyones help !!!!
[This message has been edited by droidd (edited 01-03-2001).]
vBulletin Copyright ©2000 - 2009,
Jelsoft Enterprises Limited.
vB Easy Archive Final ©2000 - 2009
- Created by Stefan "Xenon" Kaeser
Modified by Adam J. de Jaray