Hylafax Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

FaxGetty -> DATA Connections -> mgetty



Hello,

is there some one who has been able to handle incoming DATA CONNECTION
with FaxGetty and mgetty?

I'm running HylaFax 4.0pl2 on Linux 2.0.33 with a MultiTech MT2834BLI.
The modem is configured to use Adaptive Answer (AT+FAA=1).

When I try to establish a data connection from a 14.400 modem the
following happens:

FaxGetty log:
May 29 00:33:19 etabeta FaxGetty[26151]: STATE CHANGE: LISTENING -> ANSWERING
May 29 00:33:19 etabeta FaxGetty[26151]: MODEM input buffering enabled
May 29 00:33:36 etabeta FaxGetty[26151]: ANSWER: DATA CONNECTION
May 29 00:33:36 etabeta FaxGetty[26151]: GETTY: START "/etc/hylafax/getty-link -
r -b ttyS0", pid 26256
May 29 00:38:13 etabeta FaxGetty[26151]: GETTY: exit status 05000
May 29 00:38:13 etabeta FaxGetty[26151]: MODEM set DTR OFF

(/etc/hylafax/getty-link is a symlink to /sbin/mgetty)

While the mgetty log reports this:

--
05/29 00:33:36 yS0  mgetty: experimental test release 1.1.14-Apr02
05/29 00:33:36 yS0  check for lockfiles
05/29 00:33:36 yS0  huh? It's *our* lock file!
05/29 00:33:36 yS0  locking the line
05/29 00:33:36 yS0   makelock(ttyS0) called
05/29 00:33:36 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
05/29 00:33:36 yS0  we *have* the line!
05/29 00:33:37 yS0   tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
05/29 00:33:37 yS0  WARNING: DCD line still active, check modem settings (AT&Dx)
05/29 00:33:37 yS0  lowering DTR to reset Modem
05/29 00:33:37 yS0   tss: set speed to 38400 (017)
05/29 00:33:37 yS0   tio_set_flow_control( HARD )
05/29 00:33:37 yS0  WARNING: obsolete setserial spd_hi/spd_vhi used, 38400 is no
t real port speed
05/29 00:33:37 yS0   waiting for line to clear (VTIME), read:
05/29 00:33:37 yS0   waiting for line to clear (VTIME), read:
05/29 00:33:37 yS0   removing lock file
05/29 00:33:37 yS0  waiting...
05/29 00:33:37 yS0   checking lockfiles, locking the line
05/29 00:33:37 yS0   makelock(ttyS0) called
05/29 00:33:37 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
05/29 00:33:37 yS0   lock made
05/29 00:33:37 yS0   waiting for line to clear (VTIME), read: [0d][0a]NO CARRIER
[0d][0a]
05/29 00:33:38 yS0    looking for utmp entry... (my PID: 26256)
05/29 00:33:38 yS0   utmp + wtmp entry made
05/29 00:33:39 yS0   tio_set_flow_control( HARD )
05/29 00:33:39 yS0   print welcome banner (/etc/issue)
05/29 00:33:39 yS0   getlogname (FIDO AUTO_PPP), read:
05/29 00:38:13 ##### failed dev=ttyS0, pid=26256, got signal 15, exiting

05/29 00:38:13 yS0   removing lock file

The problem is that the connection is correctly established at 14.400
(so the modem is working well with adaptive answer) but after the 
CONNECT on the client side the remote hangs up the line and the mgetty
on the HylaFax server waits for ever without releasing the line
(I killed it manually).

The configuration for mgetty in the /etc/mgetty/mgetty.config file
is very simple:

-------------------------
# MultiTech su ttyS0
port ttyS0
        debug 9
------------------------

Besides, following the FAQ Q157 I've added the "ModemWaitForConnect: yes"
parameter in the config.ttyS0 file.

Is there any special config parameter for mgetty to get it working?

Thanks in advance for any answers.

Ciao,
  Luca



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services