modem hangs up immediately after mgetty answers remote modem

Gert Doering (gert@greenie.muc.de)
Sun, 18 Apr 1999 14:52:49 +0200


Hi,

On Fri, Apr 16, 1999 at 02:03:29PM +1100, Phil Laird wrote:
> I have a newbie type mgetty question re Win95 dialup connection to Linux
> Redhat 5.2 and mgetty. When the xircom in the Win95 laptop finishs modem
> negotiation with the US Robotics Sportster 28.8 the USR modem immediately
> hangs up. Please see snipet of /var/log/mgetty.log.ttyS1
> 
> I get the same result when I use a internal Creative Labs Voice modem in
> the Linux box. The Linux modem hangs up on issueing a ATA.

Make sure that modem register S0 is set to "0" (ATS0=0).

> 04/15 22:21:13 yS1    CND: check no: 'none'
> 04/15 22:21:13 yS1  send: ATA[0d]
> 04/15 22:21:13 yS1  waiting for ``CONNECT''
> 04/15 22:21:13 yS1   got: [0d]
> 04/15 22:21:13 yS1    CND: RING[0a]ATA[0d]
> 04/15 22:21:13 yS1    CND: ATA[0d][0a]NO CARRIER
> 04/15 22:21:25 yS1  found action string: ``NO CARRIER''

... though this is not really "immediately hanging up", this is more a
case of "my modem doesn't like your modem", which is just a very common
effect if some settings are incompatible, etc - try resetting both modems
to factory defaults and connect using "minicom" (wait for RING, type ATA,
see what happens).

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert@greenie.muc.de
fax: +49-89-35655025                        gert.doering@physik.tu-muenchen.de