[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getty question



--- http://www.outformations.com/~dek wrote:
> Hi Robert,
> Here is my situation, yesterday I decided to set up a null modem 
> connection between tara and papalebas in case the network driver goes down 
> again, so I can log in and reboot the box over serial.  I set up a getty 
> in inittab on papalebas, but it seems like the getty is not starting, or 
> crashing immediately when I init q.

On my machine, it's "telinit q".

> If you have some time today or 
> tomorrow could you take a look?  I was trying kermit connection from tara. 
>  I *think* both boxes are using /dev/ttyS0 (com1?).

Make sure that that's the correct interface.  I suggest doing a

$ cat -A /dev/ttyS0

on papalebas and then try the kermit connection and see if any data comes over.
 (If you have one of those LED serial monitors, that can be useful, too.)  If
not, it may be a different port (COM2 rather than COM1 -- /dev/ttyS1).  I had
exactly this problem the other day when trying to get a serial mouse working...

In fact, you could try plugging in a serial mouse into that port and try the
"cat" thing and see if you see anything.  *If* you have a serial mouse...

Also, make sure the baud rates are correct.  Do:

$ stty --all </dev/ttyS0

and do

$ stty speed 9600 </dev/ttyS0

(or whatever speed you want) if it's not correct.

You can also do "setserial -G /dev/ttyS0" to see if everything else looks
kosher.

I may be around tonight.  Call me at home after 7PM at our-Hayward-phone-number if you
still need help.

	
		




Why do you want this page removed?