modem hangs up immediately after mgetty answers remote modem

Chris (cpr@intergate.bc.ca)
Sat, 17 Apr 1999 00:22:58 GMT


On 16 Apr 1999 05:05:31 +0200, wpl@qad.com (Phil Laird) wrote in
de.alt.comm.mgetty:

>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.

I see that the initialization command is using ATZ (reset) instead of AT&F
(reset to factory settings).  This means that if you had saved the state
of the modem (AT&W) while automatic answer was enabled (ATS0=N with N>0),
then mgetty is accidentally putting the modem in auto-answer mode.  Any
modem I have ever worked with will automatically hang up if it receives
any characters from the computer while performing an automatic answer.

In this case, the computer is responding to the RING with an ATA (answer)
command, but since the modem has already picked up the line it sees the
first "A" of the ATA command and aborts.

Reset your modem to the factory settings (AT&F) or at least disable the
auto-answer (ATS0=0), resave the configuration (AT&W) and try again.

BTW, are you *the* Phil Laird or are you the *other* Phil Laird? :-)
-- 
Jetson