Discussion:
sendfax
(too old to reply)
christian nordlohne
2006-06-29 11:38:35 UTC
Permalink
Hi ,

I can not get sendfax working

Hardware seems to be ok . I tried calling
with minicom and atz gives ok and on atdt 123
the modem starts dialing.

sendfax 902550856 fax*.g3 -x 5

dose not respond

Trying fax device '/dev/ttyS0'... OK.
The modem doesn't respond!

log says :

06/02 18:48:24 reading default configuration
06/02 18:48:24 reading /etc/mgetty/sendfax.config...
06/02 18:48:24 conf lib: read: 'verbose y'
06/02 18:48:24 conf lib: read: 'debug 6'
06/02 18:48:24 conf lib: read: 'fax-devices ttyS0'
06/02 18:48:24 conf lib: read: 'fax-id +34 902 55 08 56'
06/02 18:48:24 conf lib: read: 'dial-prefix ATDT'
06/02 18:48:24 conf lib: read: 'max-tries 3'
06/02 18:48:24 conf lib: read: 'max-tries-continue y'
06/02 18:48:24 key: 'fax-devices', type=1, flags=3, data=ttyS0
06/02 18:48:24 key: 'fax-devices', type=1, flags=4, data=(ignored)
06/02 18:48:24 key: 'modem-init', type=1, flags=0, data=(empty)
06/02 18:48:24 key: 'modem-handshake', type=1, flags=0, data=(empty)
06/02 18:48:24 key: 'modem-type', type=1, flags=1, data=auto
06/02 18:48:24 key: 'modem-quirks', type=0, flags=0, data=(empty)
06/02 18:48:24 key: 'fax-send-flow', type=4, flags=1, data=7
06/02 18:48:24 key: 'fax-rec-flow', type=4, flags=1, data=7
06/02 18:48:24 key: 'max-tries', type=0, flags=3, data=3
06/02 18:48:24 key: 'max-tries-continue', type=3, flags=3, data=TRUE
06/02 18:48:24 key: 'speed', type=0, flags=1, data=38400
06/02 18:48:24 key: 'switchbd', type=0, flags=1, data=0
06/02 18:48:24 key: 'open-delay', type=0, flags=0, data=(empty)
06/02 18:48:24 key: 'ignore-carrier', type=3, flags=1, data=TRUE
06/02 18:48:24 key: 'dial-prefix', type=1, flags=3, data=ATDT
06/02 18:48:24 key: 'fax-id', type=1, flags=3, data=+34 902 55 08 56
06/02 18:48:24 key: 'poll-dir', type=1, flags=1, data=.
06/02 18:48:24 key: 'normal-res', type=3, flags=1, data=FALSE
06/02 18:48:24 key: 'fax-min-speed', type=0, flags=1, data=0
06/02 18:48:24 key: 'fax-max-speed', type=0, flags=1, data=14400
06/02 18:48:24 key: 'debug', type=0, flags=2, data=5
06/02 18:48:24 key: 'verbose', type=3, flags=3, data=TRUE
06/02 18:48:24 key: '', type=3, flags=1, data=FALSE
06/02 18:48:24 key: 'page-header', type=1, flags=0, data=(empty)
06/02 18:48:24 key: '', type=3, flags=1, data=FALSE
06/02 18:48:24 key: '', type=3, flags=1, data=FALSE
06/02 18:48:24 key: '', type=1, flags=1, data=
06/02 18:48:24 sendfax: interim release 1.1.33-Apr10
06/02 18:48:24 sendfax.c compiled at May 12 2005, 16:30:25
06/02 18:48:24 sending fax to 902550856
06/02 18:48:24 checking fax1.g3
06/02 18:48:24 makelock(ttyS0) called
06/02 18:48:24 do_makelock: lock='/var/lock/LCK..ttyS0'
06/02 18:48:24 lock made
06/02 18:48:24 tss: set speed to 38400 (017)
06/02 18:48:24 tio_set_flow_control( HARD )
06/02 18:48:24 yS0 fax_open_device succeeded, ttyS0 -> 4
06/02 18:48:24 yS0 reading specific data for port 'ttyS0'
06/02 18:48:24 yS0 reading /etc/mgetty/sendfax.config...
06/02 18:48:24 yS0 conf lib: read: 'verbose y'
06/02 18:48:24 yS0 conf lib: read: 'debug 6'
06/02 18:48:24 yS0 conf lib: read: 'fax-devices ttyS0'
06/02 18:48:24 yS0 conf lib: read: 'fax-id +34 902 55 08 56'
06/02 18:48:24 yS0 conf lib: read: 'dial-prefix ATDT'
06/02 18:48:24 yS0 conf lib: read: 'max-tries 3'
06/02 18:48:24 yS0 conf lib: read: 'max-tries-continue y'
06/02 18:48:24 yS0 key: 'fax-devices', type=1, flags=4, data=(ignored)
06/02 18:48:24 yS0 key: 'modem-init', type=1, flags=0, data=(empty)
06/02 18:48:24 yS0 key: 'modem-handshake', type=1, flags=0, data=(empty)
06/02 18:48:24 yS0 key: 'modem-type', type=1, flags=1, data=auto
06/02 18:48:24 yS0 key: 'modem-quirks', type=0, flags=0, data=(empty)
06/02 18:48:24 yS0 key: 'fax-send-flow', type=4, flags=1, data=7
06/02 18:48:24 yS0 key: 'fax-rec-flow', type=4, flags=1, data=7
06/02 18:48:24 yS0 key: 'max-tries', type=0, flags=3, data=3
06/02 18:48:24 yS0 key: 'max-tries-continue', type=3, flags=3, data=TRUE
06/02 18:48:24 yS0 key: 'speed', type=0, flags=1, data=38400
06/02 18:48:24 yS0 key: 'switchbd', type=0, flags=1, data=0
06/02 18:48:24 yS0 key: 'open-delay', type=0, flags=0, data=(empty)
06/02 18:48:24 yS0 key: 'ignore-carrier', type=3, flags=1, data=TRUE
06/02 18:48:24 yS0 key: 'dial-prefix', type=1, flags=3, data=ATDT
06/02 18:48:24 yS0 key: 'fax-id', type=1, flags=3, data=+34 902 55 08 56
06/02 18:48:24 yS0 key: 'poll-dir', type=1, flags=1, data=.
06/02 18:48:24 yS0 key: 'normal-res', type=3, flags=1, data=FALSE
06/02 18:48:24 yS0 key: 'fax-min-speed', type=0, flags=1, data=0
06/02 18:48:24 yS0 key: 'fax-max-speed', type=0, flags=1, data=14400
06/02 18:48:24 yS0 key: 'debug', type=0, flags=2, data=5
06/02 18:48:24 yS0 key: 'verbose', type=3, flags=3, data=TRUE
06/02 18:48:24 yS0 key: '', type=3, flags=1, data=FALSE
06/02 18:48:24 yS0 key: 'page-header', type=1, flags=0, data=(empty)
06/02 18:48:24 yS0 key: '', type=3, flags=1, data=FALSE
06/02 18:48:24 yS0 key: '', type=3, flags=1, data=FALSE
06/02 18:48:24 yS0 key: '', type=1, flags=1, data=
06/02 18:48:24 yS0 tss: set speed to 38400 (017)
06/02 18:48:25 yS0 mdm_send: 'ATV1Q0'
06/02 18:48:35 yS0 Warning: got alarm signal!
06/02 18:48:35 yS0 mdm_read_byte: read returned -1: Interrupted system call
06/02 18:48:35 yS0 mdm_get_line: cannot read byte, return: Interrupted system
call -> ERROR
06/02 18:48:35 yS0 mdm_send: 'ATV1Q0'
06/02 18:48:45 yS0 Warning: got alarm signal!
06/02 18:48:45 yS0 mdm_read_byte: read returned -1: Interrupted system call
06/02 18:48:45 yS0 mdm_get_line: cannot read byte, return: Interrupted system
call -> ERROR
06/02 18:48:45 ##### failed initializing modem, dev=ttyS0, acct=""


has anybody a hint where to start searching ?
--
viele gruesse un saludo

christian nordlohne

dipl. informatiker

licenciado en informatica

c/ fula 99
e-35118 arinaga
http://www.experia.de

email : ***@experia.de

fon (+34) 902 55 08 55
fax (+34) 902 55 08 56
mobil (+34) 676 448 087
voip (+49) 1212 392 004008

Este mensaje puede contener informacion confidencial destinada para ser leida
unicamente por el destinatario. Nadie excepto el podra leer, usar, publicar o
reproducir el contenido parcial o total de este mensaje. En caso de recibir
un mensaje por error, por favor notifiquelo al remitente lo antes posible.

This message may contain confidential information destined to be read only by
the intended recipient. No other persons should read, use, publish or
reproduce the content of this message. If you receive this message by
mistake, please notify the sender immediately.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Gert Doering
2006-06-29 16:53:22 UTC
Permalink
Hi,
Post by christian nordlohne
I can not get sendfax working
Hardware seems to be ok . I tried calling
with minicom and atz gives ok and on atdt 123
the modem starts dialing.
sendfax 902550856 fax*.g3 -x 5
Try different port speeds. Maybe your modem is locked to the speed that
minicom uses, and does not respond to other port speeds.

gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany ***@greenie.muc.de
fax: +49-89-35655025 ***@net.informatik.tu-muenchen.de

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Loading...