View Full Version : Serial Bash questions
lenn0n_68
12-27-2005, 12:24 PM
I've finally gotten around to building a serial cable to try to debug my networking issues. I was hoping someone could help me get a serial bash session setup. I've seen a lot of stuff on how to get a session started using programs like hyperterm but I was wondering how you start a session from a unix machine? Any help would be greatly appreciated.
Thanks,
Lenn0n
lenn0n_68
12-27-2005, 03:57 PM
Note: I've set the bootpage and added the following to my rc.sysinit.author file:
export TERM=xterm
export PS1='\h:\w$ '
#Setup HOSTNAME
hostname HDVR2
#Start BASH
/bin/bash</dev/ttyS2&>/dev/ttyS2&
sucram65
12-27-2005, 11:45 PM
Since you have the line for the bash serial console in the sysinit.author you will get output as soon as the Tivo starts booting. Provided your cable is connected and your terminal app is listening.
lenn0n_68
12-28-2005, 01:55 AM
Where do I find a terminal app for unix? do I just use telnet? if so what are the parameters?
Thanks,
Lenn0n
sucram65
12-28-2005, 02:54 AM
You could use hyperteminal in windows. I think you can also use Terra Term Pro, or Zterm or any other terminal program that can receive input from a serial port. I used hyperterminal, taking all of the defaults.
lenn0n_68
12-28-2005, 11:52 AM
I don't have windows, just unix
sucram65
12-28-2005, 04:06 PM
unix as in solaris or a linux distribution?
lenn0n_68
12-29-2005, 02:01 AM
I'm just running whatever linux is on the PVTUpgrade CD...
I use mac but got an old PC from work to do Tivo hacking on. I didn't have any of the passwords or any use for windows for that matter so I just reformatted the hard drive to store all my hacks on so I don't have to keep burning them to CD.
czeigler
01-02-2006, 06:12 PM
Minicom is the terminal program I use on Linux. I don't know anything about the PVTUpgrade CD but you might be able to install minicom if it is not included by default.
Good Luck
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.