sendfax won't work
eule (eule@halifax.rwth-aachen.de)
Mon, 24 Jan 2000 14:14:26 +0100
Hi!
I tried to install mgetty and sendfax under RH6.1 to be able to send
faxes. My problem starts, when sendfax should start to dial: either the
program stopps with "initializing modem" or "cannot set fax station ID".
Though i have never worked with a modem before, i don't know if it's a
problen with the modem or with my configuration. I hope someone can give
me a hint.
thanks
joe
my modem: creatix joe 33.6
OS : RH6.1
the errorlog:
01/24 14:39:48 sendfax: experimental test release 1.1.21-Jul24
01/24 14:39:48 sendfax.c compiled at Jan 24 2000, 13:46:18
01/24 14:39:48 sending fax to 0xxxyyyyy #i changed the numbers ...
01/24 14:39:48 checking f1.g3
01/24 14:39:48 checking f2.g3
01/24 14:39:48 checking f3.g3
01/24 14:39:48 checking f4.g3
01/24 14:39:48 checking f5.g3
01/24 14:39:48 makelock(ttyS1) called
01/24 14:39:48 do_makelock: lock='/var/lock/LCK..ttyS1'
01/24 14:39:48 lock made
01/24 14:39:48 tss: set speed to 38400 (017)
01/24 14:39:48 tio_set_flow_control( HARD )
01/24 14:39:48 yS1 fax_open_device succeeded, ttyS1 -> 4
01/24 14:39:48 yS1 reading specific data for port 'ttyS1'
01/24 14:39:48 yS1 reading /etc/mgetty+sendfax/sendfax.config...
01/24 14:39:48 yS1 conf lib: read: 'verbose y'
01/24 14:39:48 yS1 conf lib: read: 'debug 8'
01/24 14:39:48 yS1 conf lib: read: 'fax-devices ttyS1'
01/24 14:39:48 yS1 conf lib: read: 'fax-id +45xxxxx'
01/24 14:39:48 yS1 conf lib: read: 'dial-prefix ATD'
01/24 14:39:48 yS1 conf lib: read: 'max-tries 3'
01/24 14:39:48 yS1 conf lib: read: 'max-tries-continue y'
01/24 14:39:48 yS1 conf lib: read: 'port ttyS1'
01/24 14:39:48 yS1 section: port ttyS1, **found**
01/24 14:39:48 yS1 conf lib: read: 'modem-type cls2'
01/24 14:39:48 yS1 key: 'fax-devices', type=1, flags=4, data=(ignored)
01/24 14:39:48 yS1 key: 'modem-init', type=1, flags=0, data=(empty)
01/24 14:39:48 yS1 key: 'modem-handshake', type=1, flags=0,
data=(empty)
01/24 14:39:48 yS1 key: 'modem-type', type=1, flags=3, data=cls2
01/24 14:39:48 yS1 key: 'modem-quirks', type=0, flags=0, data=(empty)
01/24 14:39:48 yS1 key: 'fax-send-flow', type=4, flags=1, data=7
01/24 14:39:48 yS1 key: 'fax-rec-flow', type=4, flags=1, data=7
01/24 14:39:48 yS1 key: 'max-tries', type=0, flags=3, data=3
01/24 14:39:48 yS1 key: 'max-tries-continue', type=3, flags=3,
data=TRUE
01/24 14:39:48 yS1 key: 'speed', type=0, flags=1, data=38400
01/24 14:39:48 yS1 key: 'switchbd', type=0, flags=1, data=0
01/24 14:39:48 yS1 key: 'open-delay', type=0, flags=0, data=(empty)
01/24 14:39:48 yS1 key: 'ignore-carrier', type=3, flags=1, data=TRUE
01/24 14:39:48 yS1 key: 'dial-prefix', type=1, flags=3, data=ATD
01/24 14:39:48 yS1 key: 'fax-id', type=1, flags=3, data=+45xxxxx
01/24 14:39:48 yS1 key: 'poll-dir', type=1, flags=1, data=.
01/24 14:39:48 yS1 key: 'normal-res', type=3, flags=1, data=FALSE
01/24 14:39:48 yS1 key: 'fax-min-speed', type=0, flags=1, data=0
01/24 14:39:48 yS1 key: 'fax-max-speed', type=0, flags=1, data=14400
01/24 14:39:48 yS1 key: 'debug', type=0, flags=3, data=8
01/24 14:39:48 yS1 key: 'verbose', type=3, flags=2, data=TRUE
01/24 14:39:48 yS1 key: '', type=3, flags=1, data=FALSE
01/24 14:39:48 yS1 key: 'page-header', type=1, flags=0, data=(empty)
01/24 14:39:48 yS1 key: '', type=3, flags=1, data=FALSE
01/24 14:39:48 yS1 key: '', type=3, flags=1, data=FALSE
01/24 14:39:48 yS1 key: '', type=1, flags=1, data=
01/24 14:39:48 yS1 tss: set speed to 38400 (017)
01/24 14:39:49 yS1 mdm_send: 'ATV1Q0'
01/24 14:39:49 yS1 got:
01/24 14:39:59 yS1 Warning: got alarm signal!
01/24 14:39:59 yS1 mdm_read_byte: read returned -1: Interrupted system
call
01/24 14:39:59 yS1 mdm_get_line: cannot read byte, return: Interrupted
system call -> ERROR
01/24 14:39:59 yS1 mdm_send: 'ATV1Q0'
01/24 14:39:59 yS1 got:ATV1Q0[0d]
01/24 14:40:08 yS1 mdm_command: string 'ATV1Q0'
01/24 14:40:08 yS1 got:[0d][0a]OK[0d]
01/24 14:40:08 yS1 mdm_command: string 'OK' -> OK
01/24 14:40:08 yS1 retry succeded, dev=ttyS1
01/24 14:40:09 yS1 mdm_send: 'AT+FCLASS=2'
01/24 14:40:09 yS1 got:[0a]ATV1Q0[0d]
01/24 14:40:18 yS1 mdm_command: string 'ATV1Q0'
01/24 14:40:18 yS1 got:[0d][0a]OK[0d]
01/24 14:40:18 yS1 mdm_command: string 'OK' -> OK
01/24 14:40:19 yS1 mdm_send: 'AT+FLID="+45xxxxx"'
01/24 14:40:19 yS1 got:[0a]ATT+FCLASS=2[0d]
01/24 14:40:28 yS1 mdm_command: string 'ATT+FCLASS=2'
01/24 14:40:28 yS1 got:[0d][0a]OK
01/24 14:40:29 yS1 Warning: got alarm signal!
01/24 14:40:29 yS1 mdm_read_byte: read returned -1: Interrupted system
call
01/24 14:40:29 yS1 mdm_get_line: cannot read byte, return: Interrupted
system call -> ERROR
01/24 14:40:29 yS1 cannot set local fax id. Huh?
01/24 14:40:29 ##### failed: cannot set fax station ID, dev=ttyS1
01/24 14:40:29 yS1 fax_send: 'AT+FCLASS=0'
01/24 14:40:29 yS1 removing lock file