From: poe@daimi.aau.dk (Peter Orbaek) Subject: Re: getty on the serial port? Date: 29 May 1992 09:42:25 GMT
dvldbg@cs.umu.se (Daniel Brahneborg) writes:
>After hours of trying, I've given up. Somebody wrote here that he had
>managed to get getty to work with his modem. Could he (or somebody
>else) PLEASE PLEASE PLEASE tell me exactly how he did it? I'd like
>the complete /etc/inittab and /etc/rc, and maybe even a getty,
>if you need another version than the one in the mcc-distribution (0.95c+).
>Now I have 0.96a, but all the programs are still from 0.95c+.
You must tell your modem to shut up. It should be set to non-echoing mode,
and be told not to answer "OK" to every thing. This will confuse getty.
Maybe you should also remove the /etc/issue file.
>If I put this entry in /etc/inittab:
>tty64:vt100:/bin/getty -h 2400 ttys0
>(I might have forgotten something, this is from memory)
>I get a process that keeps sending stuff to the modem, but when noone
>answers, it dies, and I get a new process.
>When somebody calls he immediately get the data from getty, which
>makes the modem hang up (it doesn't want anything to happen while
>connecting). If I deleted the entry in inittab and started getty manually
>right after I heard that the modem had connected, everything went fine.
>That's not a very good solution, though.
You may also want to get the modemctl.tar.Z package, it will talk to your
modem and start getty after someone has connected.
You can ftp the package from ftp.daimi.aau.dk:/pub/Linux-source
You may also want to get hold of uugetty...
- Peter.