modem dialout

Oles Hnatkevych (gnut@nbki.ipri.kiev.ua)
Tue, 16 Dec 1997 16:48:11 +0100


Hello again!

On Tue, 16 Dec 1997, Gert Doering wrote:

Thanx for answering.

> Hi,
> 
> do you have a problem with dial-*out* or with dial-*in*? Mgetty's
> configuration is only relevant for dial-*in*.

For dial-out. I want modem to dial out and establish a connection.
Currently I'm doing this by init chat string like:

 ATZ OK ATDPxxxxxxx\r\d\d\d\d\d\d\d....\d\c CONNECT

This tells modem to begin dialing and to wait. But this method has
a disadvantage: if the line is busy mgetty has to wait all these
\d's before accepting BUSY. And there're LOTS of these \d's.

My logs are not neccesary ;)

The reason I'm doing this I cannot dial that number (different
phone network), but I can dial from there.

The reason I'm doing this with mgetty is that I use FreeBSD-2.2.2 and that
regular getty with init modem string ('ic' in /etc/gettytab) does not
want to send anything to modem unless CD is on, not taking into account
implicit order not to use CD as flow control ('mb' in gettytab is NOT
present).

I feel that mgetty was not considered as a dial-out getty and
I see my method of dial-out with mgetty as the only possible (except
patching the source).

Bye.

.