From: jepler@nyx.cs.du.edu (Jeff Epler) Subject: "stty clocal", using a terminal with Linux Date: Sat, 31 Jul 1993 20:13:08 GMT
I'm in the process of trying to get a terminal to allow logins to my
Linux machine. It's attached to ttys3, com4. (With an IRQ of 5, but
I changed my serial.c file to allow use of this alternate interrupt.)
Using a DOS terminal program, I can talk to the terminal, and it can
talk back. However, when I add a line to /etc/inittab:
s3:123456:respawn:/etc/getty 1200 ttys3
I can see the login: prompt on the terminal when next I boot, but
login is not possible.
If I enter 'root' at login, it tells me 'login incorrect' and gives me
another login:
If I type anything but 'root', it locks up, echoing back characters
but not acting on them.
This sounds similar to the problem answered in the FAQ, VI.12 -- Which
suggests that "Setting CLOCAL is the correct way to solve this".
However, not much detail is given on *how* to 'set CLOCAL.'
Looking at the man page for stty, I cooked up "stty clocal
</dev/ttys3" Still guessing, I tried adding this line to my /etc/rc
file near the bottom. (Before it calls /etc/rc.local)
However, this still doesn't fix the problem.
Could some kind soul offer guidance to me, and perhaps make the FAQ a
little more informative on this subject?
(I'll summarise mail responses on request. If I get mail answers.)