Accepting fax using external SupraFaxModem 28.8
Hello,
I'm trying to recieve faxes using an external SupraFAXModem 28.8
(upgraded to 33.6) and mgetty+sendfax. I used to be able to do that
but the configs were lost ages ago.
What happens is that mgetty realizes that there is an incoming fax,
but somehow it can't read it. It seems like mgetty timesout after a
while.
Here is /etc/mgetty/mgetty.config (sans the comments):
----------------------------------------------------------------------
fax-id +972-3-510-5399
speed 38400
port-owner uucp
port-group dialout
port-mode 0664
fax-owner amos
fax-group uucp
fax-mode 0640
port ttyS1
debug 5
fax-only y
modem-type c2.0
----------------------------------------------------------------------
And here is a sample log of an attempt (debug level 5):
----------------------------------------------------------------------
11/16 20:47:35 yS1 mgetty: experimental test release 1.1.8-Jul27
11/16 20:47:35 yS1 mgetty.c compiled at Aug 5 1997, 14:05:33
11/16 20:47:35 yS1 reading configuration data for port 'ttyS1'
11/16 20:47:35 yS1 reading /etc/mgetty/mgetty.config...
11/16 20:47:35 yS1 conf lib: read: 'fax-id +972-3-510-5399'
11/16 20:47:35 yS1 conf lib: read: 'speed 38400'
11/16 20:47:35 yS1 conf lib: read: 'port-owner uucp'
11/16 20:47:35 yS1 conf lib: read: 'port-group dialout'
11/16 20:47:35 yS1 conf lib: read: 'port-mode 0664'
11/16 20:47:35 yS1 conf lib: read: 'fax-owner amos'
11/16 20:47:35 yS1 conf lib: read: 'fax-group uucp'
11/16 20:47:35 yS1 conf lib: read: 'fax-mode 0640'
11/16 20:47:35 yS1 conf lib: read: 'port ttyS1'
11/16 20:47:35 yS1 section: port ttyS1, **found**
11/16 20:47:35 yS1 conf lib: read: 'debug 5'
11/16 20:47:35 yS1 conf lib: read: 'fax-only y'
11/16 20:47:35 yS1 conf lib: read: 'modem-type cls2'
11/16 20:47:35 yS1 key: 'speed', type=0, flags=3, data=38400
11/16 20:47:35 yS1 key: 'switchbd', type=0, flags=1, data=0
11/16 20:47:35 yS1 key: 'direct', type=3, flags=1, data=FALSE
11/16 20:47:35 yS1 key: 'blocking', type=3, flags=1, data=FALSE
11/16 20:47:35 yS1 key: 'port-owner', type=1, flags=3, data=uucp
11/16 20:47:35 yS1 key: 'port-group', type=1, flags=3, data=dialout
11/16 20:47:35 yS1 key: 'port-mode', type=0, flags=3, data=436
11/16 20:47:35 yS1 key: 'toggle-dtr', type=3, flags=1, data=TRUE
11/16 20:47:35 yS1 key: 'toggle-dtr-waittime', type=0, flags=1, data=500
11/16 20:47:35 yS1 key: 'data-only', type=3, flags=1, data=FALSE
11/16 20:47:35 yS1 key: 'fax-only', type=3, flags=3, data=TRUE
11/16 20:47:35 yS1 key: 'modem-type', type=1, flags=3, data=cls2
11/16 20:47:35 yS1 key: 'init-chat', type=2, flags=1, data= \dATQ0V1H0 OK AT O
K
11/16 20:47:35 yS1 key: 'force-init-chat', type=2, flags=1, data= \d^P^C\d\d\d
+++\d\d\d^M\dATQ0V1H0 OK
11/16 20:47:35 yS1 key: 'modem-check-time', type=0, flags=1, data=3600
11/16 20:47:35 yS1 key: 'rings', type=0, flags=1, data=1
11/16 20:47:35 yS1 key: 'get-cnd-chat', type=2, flags=0, data=(empty)
11/16 20:47:35 yS1 key: 'answer-chat', type=2, flags=1, data= ATA CONNECT \c
11/16 20:47:35 yS1 key: 'answer-chat-timeout', type=0, flags=1, data=80
11/16 20:47:35 yS1 key: 'autobauding', type=3, flags=1, data=FALSE
11/16 20:47:35 yS1 key: 'ringback', type=3, flags=1, data=FALSE
11/16 20:47:35 yS1 key: 'ringback-time', type=0, flags=1, data=30
11/16 20:47:35 yS1 key: 'ignore-carrier', type=3, flags=1, data=FALSE
11/16 20:47:35 yS1 key: 'issue-file', type=1, flags=1, data=/etc/issue
11/16 20:47:35 yS1 key: 'prompt-waittime', type=0, flags=1, data=500
11/16 20:47:35 yS1 key: 'login-prompt', type=1, flags=1, data=@!login:
11/16 20:47:35 yS1 key: 'login-time', type=0, flags=1, data=240
11/16 20:47:35 yS1 key: 'fido-send-emsi', type=3, flags=1, data=TRUE
11/16 20:47:35 yS1 key: 'fax-id', type=1, flags=3, data=+972-3-510-5399
11/16 20:47:35 yS1 key: 'fax-server-file', type=1, flags=0, data=(empty)
11/16 20:47:35 yS1 key: 'diskspace', type=0, flags=1, data=1024
11/16 20:47:35 yS1 key: 'notify', type=1, flags=1, data=root
11/16 20:47:35 yS1 key: 'fax-owner', type=1, flags=3, data=amos
11/16 20:47:35 yS1 key: 'fax-group', type=1, flags=3, data=uucp
11/16 20:47:35 yS1 key: 'fax-mode', type=0, flags=3, data=416
11/16 20:47:35 yS1 key: 'debug', type=0, flags=2, data=5
11/16 20:47:35 yS1 key: 'statistics-chat', type=2, flags=0, data=(empty)
11/16 20:47:35 yS1 key: 'statistics-file', type=1, flags=0, data=(empty)
11/16 20:47:35 yS1 key: 'gettydefs', type=1, flags=1, data=n
11/16 20:47:35 yS1 key: 'term', type=1, flags=0, data=(empty)
11/16 20:47:35 yS1 check for lockfiles
11/16 20:47:35 yS1 checklock: stat failed, no file
11/16 20:47:35 yS1 locking the line
11/16 20:47:35 yS1 makelock(ttyS1) called
11/16 20:47:35 yS1 do_makelock: lock='/var/lock/LCK..ttyS1'
11/16 20:47:35 yS1 lock made
11/16 20:47:35 yS1 tio_get_rs232_lines: status: RTS CTS DSR DTR
11/16 20:47:35 yS1 lowering DTR to reset Modem
11/16 20:47:36 yS1 tss: set speed to 38400 (017)
11/16 20:47:36 yS1 tio_set_flow_control( HARD )
11/16 20:47:36 yS1 waiting for line to clear (VTIME), read:
11/16 20:47:36 yS1 send: \dATQ0V1H0[0d]
11/16 20:47:36 yS1 waiting for ``OK''
11/16 20:47:36 yS1 got: ATQ0V1H0[0d][0d][0a]OK ** found **
11/16 20:47:36 yS1 send: AT[0d]
11/16 20:47:36 yS1 waiting for ``OK''
11/16 20:47:36 yS1 got: [0d][0a]AT[0d][0d][0a]OK ** found **
11/16 20:47:36 yS1 mdm_send: 'AT+FCLASS=2'
11/16 20:47:37 yS1 mdm_command: string 'AT+FCLASS=2'
11/16 20:47:37 yS1 mdm_command: string 'OK' -> OK
11/16 20:47:37 yS1 mdm_send: 'AT+FAA=0;+FCR=1'
11/16 20:47:37 yS1 mdm_command: string 'AT+FAA=0;+FCR=1'
11/16 20:47:37 yS1 mdm_command: string 'OK' -> OK
11/16 20:47:37 yS1 mdm_send: 'AT+FBOR=0'
11/16 20:47:37 yS1 mdm_command: string 'AT+FBOR=0'
11/16 20:47:37 yS1 mdm_command: string 'OK' -> OK
11/16 20:47:37 yS1 mdm_send: 'AT+FLID="+972-3-510-5399"'
11/16 20:47:37 yS1 mdm_command: string 'AT+FLID="+972-3-510-5399"'
11/16 20:47:37 yS1 mdm_command: string 'OK' -> OK
11/16 20:47:37 yS1 mdm_send: 'AT+FDCC=1,5,0,2,0,0,0,0'
11/16 20:47:37 yS1 mdm_command: string 'AT+FDCC=1,5,0,2,0,0,0,0'
11/16 20:47:37 yS1 mdm_command: string 'OK' -> OK
11/16 20:47:37 yS1 waiting for line to clear (VTIME), read:
11/16 20:47:37 yS1 removing lock file
11/16 20:47:37 yS1 waiting...
11/16 20:48:24 yS1 checking lockfiles, locking the line
11/16 20:48:24 yS1 makelock(ttyS1) called
11/16 20:48:24 yS1 do_makelock: lock='/var/lock/LCK..ttyS1'
11/16 20:48:24 yS1 lock made
11/16 20:48:24 yS1 waiting for ``RING''
11/16 20:48:24 yS1 got: [0d][0a]RING ** found **
11/16 20:48:24 yS1 send: ATA[0d]
11/16 20:48:24 yS1 waiting for ``CONNECT''
11/16 20:48:24 yS1 got: [0d][0a]ATA[0d][0d][0a]+FCON
11/16 20:48:34 yS1 found action string: ``+FCON''
11/16 20:48:34 yS1 start fax receiver...
11/16 20:48:34 yS1 fax receiver: entry
11/16 20:48:34 yS1 fax_wait_for(OK)
11/16 20:49:49 ##### failed dev=ttyS1, pid=1136, got signal 15, exiting
11/16 20:49:49 yS1 removing lock file
----------------------------------------------------------------------
The installed packages are mgetty and mgetty-fax version 1.1.8-1.
Any help would be appreciated.
Thanks,
--Amos
--Amos Shapira | "Of course Australia was marked for
133 Shlomo Ben-Yosef st. | glory, for its people had been chosen
Jerusalem 93 805 | by the finest judges in England."
ISRAEL amos@gezernet.co.il | -- Anonymous
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: