vgetty does not switch to data (but mgetty does!)

Marc SCHAEFER (schaefer@alphanet.ch)
12 May 1999 1918:08:44 +0200


Dmitry Pogosyan <pogosyan@cita.utoronto.ca> wrote:
> 05/11 18:58:34 yS3  send: ATA[0d]

I assume the last log you sent is for data connection:

> 05/11 18:58:34 yS3  waiting for ``CONNECT''
> 05/11 18:58:34 yS3   got: [0d]
> 05/11 18:59:18 yS3    CND: OK[0a]+FHNG:
> 05/11 18:59:18 yS3  found action string: ``+FHNG:''
> 05/11 18:59:18 ##### failed A_FAIL dev=ttyS3, pid=7956, caller='none', conn='', name=''

well, I would expect a data connection to return NO CARRIER. Maybe your
modem is unable to differenciate fax or data connection.

Can you go to a terminal program (for example minicom), and try:

ATS0=0
AT+FCLASS=0

then try to call with a *modem*. You should see RING. Type ATA. You
should see CONNECT (or NO CARRIER).

Now, try

AT+FCLASS=2.0  # also try 2

and do the same. If you get +FHNG, either you didn't enable fax/data
detection, or your modem is unable to do the fax/data detection.

Another thing you could try it dial with a phone, and see if you get
the fax beeps only, or also the V34/V32bis handshaking.

Bizarre is your reporting that with mgetty it works (ie data/fax detection),
but not with vgetty. But if the voice mode is still active,
I would not expect +FHNG, but VCON in any case.