[svlug] Terminal Logins
Javilk
javilk at polly.mall-net.com
Fri Nov 27 19:39:40 PST 1998
> What "other materials" guided you to the format for the inittab line? I
> can't actually find a man page for getty (either on my own system or the
> usual Web sources), but the examples I've seen using getty (in /etc/inittab
The rather thick Dr. Linux book.
> 12:2345:respawn:/sbin/getty -d 9600 ttyS0 vt100
Does not work either. Tried agetty
> S1:23:respawn:/sbin/getty -L 19200 ttyS1 vt102
> (respawn) again. /sbin/getty is the getty command. The -L means Local
> (ignore modem control signals). 19200 is the baud rate. ttyS1 means
-L answers another question I had... But no, nothing. I can echo to it,
talk to it via minicom, proving the cables work.
> the example inittab entry int the Text-Terminal HowTo matches the one you
> listed in your message. But the HowTo also describes an entry in
> /etc/gettydefs, which you don't mention. The example entry for that file is
> (all text is on one line, in case the mailer adds any line breaks) --
>
> DT38400# B38400 CS8 CLOCAL # B38400 SANE -ISTRIP CLOCAL #@S @L login: #DT38400
Added this, resetting all the numbers for 9600. Nothing.
Out of desperation, I typed /sbin/agetty -L 9600 ttyS1. This did get
me a valid login at the terminal, but nothing happened after I logged in.
So I rebooted. Log-in prompt! I can try to log in, but is seems
something is wrong, as if the baud rates are a fraction off. Typing
passwords sometimes results in re-issuing the login prompt in the middle
of typing.
> Finally, what cabling does the terminal use? It's been 6 months or more
> since I tried doing something like this, so I'm a bit fuzzy on the cabling
If I can talk to it via minicom, and echo to it, the cables are
likely ok. I have used them for telecom on other systems. It is a
commercial RS-232 cable. (But maybe I should try with a shorter different
cable.)
My thought is that the baud rates don't match, or the word length is
off by one. I thought Agetty is supposd to adjust for this.
- javilk at mall-net.com -----------------------------
-------- MS asks "Where do you want to go?" -------
------- Linux asks "What do you want to do?" ------
-- It is doers, not goers, who built this world! --
--------- Member: http://www.svlug.org/ -----------
--
echo "unsubscribe svlug" | mail majordomo at svlug.org
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ to unsubscribe
see http://www.svlug.org/mdstuff/lists.shtml for posting guidelines.
More information about the svlug
mailing list