From: Theodore Ts'o <tytso@athena.mit.edu> Subject: Re: Problems with modem setup Date: 22 Feb 1993 12:32:19 -0500
From: jmp@login.qc.ca (Jean Marc Pigeon)
Date: 22 Feb 93 11:14:15 GMT
Got the exactly the same trouble! Now it's working
here is the "my" recipe:
0) Be sur to have 0.99-Pl5
1) recompile agetty.c (getty) from poeigl-1.9a
2) Modify /etc/inittab
c6:456:respawn:/bin/getty -h 19200 cua0 (or cua1, etc..)
et voila! :-}}}
More seriously:
It's working for me, but I am worry about serial driver
robustness and found "bizarre" to ignore such important
signal (as CD) to "pilot" the driver (I am investigating
about strange interaction between "Linux" and "Taylor-uucp".
No, no, no, no, no......
The /dev/cuaXX devices are the CALLOUT devices. This is why they ignore
the the carrier detect line.... because you need to be open to talk to
the modem in order to give it the dialing command. You should be using
/dev/ttySXX for getty, which will block on open() until CD goes high
(unless the getty is silly enough to use the O_NONBLOCK flag).
- Ted