El Miércoles, 3 de Enero de 2007 09:12, Camaleón escribió:
El 3/01/07, Octavio Ávalos escribió:
Acabo de poner la siguiente linea en /etc/inittab
# S0:34:respawn:/usr/lib/mgetty+senfax -n 6 -x 3 ttyS1
Supongo que "en teoría" inicia el módem (¿también faxrunqd?)
El resultado que obtuve fue el siguiente, a parte de recibir un correo
linux:~ # faxrunq processing F000001/JOB... /usr/sbin/sendfax -v 981XXXXXX f1.g3 Trying fax device '/dev/ttyS1'... OK. The modem doesn't respond! command exited with status 3 send mail to OCTAVIO-AVALOS@terra.es... linux:~ #
Lo mismo de ayer. El problema lo debes de tener en el archivo de configuración. Si no es muy extenso puedes enviarlo a la lista a ver qué parámetros pone (oculta tus datos personales como el número de fax, nombre, etc...).
No te olvides de ver el registro /var/log/messages y /var/log/warn para ver más sobre el módem, si esta bloqueado o algún error adicional.
Saludos,
A continuación os pongo parte del fichero sendfax.log -- 01/03 03:55:15 sendfax: interim release 1.1.33-Apr10 01/03 03:55:15 sendfax.c compiled at Nov 28 2006, 00:09:17 01/03 03:55:15 sending fax to 981397712 01/03 03:55:15 checking f1.g3 01/03 03:55:15 makelock(ttyS1) called 01/03 03:55:15 do_makelock: lock='/var/lock/LCK..ttyS1' 01/03 03:55:15 lock made 01/03 03:55:15 tss: set speed to 38400 (017) 01/03 03:55:15 tio_set_flow_control( HARD ) 01/03 03:55:15 yS1 fax_open_device succeeded, ttyS1 -> 4 01/03 03:55:15 yS1 reading specific data for port 'ttyS1' 01/03 03:55:15 yS1 reading /etc/mgetty+sendfax/sendfax.config... 01/03 03:55:15 yS1 conf lib: read: 'verbose y' 01/03 03:55:15 yS1 conf lib: read: 'debug 5' 01/03 03:55:15 yS1 conf lib: read: 'fax-devices ttyS1:ttyS2' 01/03 03:55:15 yS1 conf lib: read: 'fax-id 49 115 xxxxxxxx' 01/03 03:55:15 yS1 conf lib: read: 'max-tries 3' 01/03 03:55:15 yS1 conf lib: read: 'max-tries-continue y' 01/03 03:55:15 yS1 key: 'fax-devices', type=1, flags=4, data=(ignored) 01/03 03:55:15 yS1 key: 'modem-init', type=1, flags=0, data=(empty) 01/03 03:55:15 yS1 key: 'modem-handshake', type=1, flags=0, data=(empty) 01/03 03:55:15 yS1 key: 'modem-type', type=1, flags=1, data=auto 01/03 03:55:15 yS1 key: 'modem-quirks', type=0, flags=0, data=(empty) 01/03 03:55:15 yS1 key: 'fax-send-flow', type=4, flags=1, data=7 01/03 03:55:15 yS1 key: 'fax-rec-flow', type=4, flags=1, data=7 01/03 03:55:15 yS1 key: 'max-tries', type=0, flags=3, data=3 01/03 03:55:15 yS1 key: 'max-tries-continue', type=3, flags=3, data=TRUE 01/03 03:55:15 yS1 key: 'speed', type=0, flags=1, data=38400 01/03 03:55:15 yS1 key: 'switchbd', type=0, flags=1, data=0 01/03 03:55:15 yS1 key: 'open-delay', type=0, flags=0, data=(empty) 01/03 03:55:15 yS1 key: 'ignore-carrier', type=3, flags=1, data=TRUE 01/03 03:55:15 yS1 key: 'dial-prefix', type=1, flags=1, data=ATD 01/03 03:55:15 yS1 key: 'fax-id', type=1, flags=3, data=49 115 xxxxxxxx 01/03 03:55:15 yS1 key: 'poll-dir', type=1, flags=1, data=. 01/03 03:55:15 yS1 key: 'normal-res', type=3, flags=1, data=FALSE 01/03 03:55:15 yS1 key: 'fax-min-speed', type=0, flags=1, data=0 01/03 03:55:15 yS1 key: 'fax-max-speed', type=0, flags=1, data=14400 01/03 03:55:15 yS1 key: 'debug', type=0, flags=3, data=5 01/03 03:55:15 yS1 key: 'verbose', type=3, flags=2, data=TRUE 01/03 03:55:15 yS1 key: '', type=3, flags=1, data=FALSE 01/03 03:55:15 yS1 key: 'page-header', type=1, flags=0, data=(empty) 01/03 03:55:15 yS1 key: '', type=3, flags=1, data=FALSE 01/03 03:55:15 yS1 key: '', type=3, flags=1, data=FALSE 01/03 03:55:15 yS1 key: '', type=1, flags=1, data= 01/03 03:55:15 yS1 tss: set speed to 38400 (017) 01/03 03:55:15 yS1 mdm_send: 'ATV1Q0' 01/03 03:55:25 yS1 Warning: got alarm signal! 01/03 03:55:25 yS1 mdm_read_byte: read returned -1: Interrupted system call 01/03 03:55:25 yS1 mdm_get_line: cannot read byte, return: Interrupted system call -> ERROR 01/03 03:55:25 yS1 mdm_send: 'ATV1Q0' 01/03 03:55:35 yS1 Warning: got alarm signal! 01/03 03:55:35 yS1 mdm_read_byte: read returned -1: Interrupted system call 01/03 03:55:35 yS1 mdm_get_line: cannot read byte, return: Interrupted system call -> ERROR 01/03 03:55:35 ##### failed initializing modem, dev=ttyS1, acct="" 01/03 03:55:35 yS1 removing lock file -- 01/03 03:55:50 sendfax: interim release 1.1.33-Apr10 01/03 03:55:50 sendfax.c compiled at Nov 28 2006, 00:09:17 01/03 03:55:50 sending fax to 981397712 01/03 03:55:50 checking f1.g3 01/03 03:55:50 makelock(ttyS1) called 01/03 03:55:50 do_makelock: lock='/var/lock/LCK..ttyS1' 01/03 03:55:50 lock made 01/03 03:55:50 tss: set speed to 38400 (017) 01/03 03:55:50 tio_set_flow_control( HARD ) 01/03 03:55:50 yS1 fax_open_device succeeded, ttyS1 -> 4 01/03 03:55:50 yS1 reading specific data for port 'ttyS1' 01/03 03:55:50 yS1 reading /etc/mgetty+sendfax/sendfax.config... 01/03 03:55:50 yS1 conf lib: read: 'verbose y' 01/03 03:55:50 yS1 conf lib: read: 'debug 5' 01/03 03:55:50 yS1 conf lib: read: 'fax-devices ttyS1:ttyS2' 01/03 03:55:50 yS1 conf lib: read: 'fax-id 49 115 xxxxxxxx' 01/03 03:55:50 yS1 conf lib: read: 'max-tries 3' 01/03 03:55:50 yS1 conf lib: read: 'max-tries-continue y' 01/03 03:55:50 yS1 key: 'fax-devices', type=1, flags=4, data=(ignored) 01/03 03:55:50 yS1 key: 'modem-init', type=1, flags=0, data=(empty) 01/03 03:55:50 yS1 key: 'modem-handshake', type=1, flags=0, data=(empty) 01/03 03:55:50 yS1 key: 'modem-type', type=1, flags=1, data=auto 01/03 03:55:50 yS1 key: 'modem-quirks', type=0, flags=0, data=(empty) 01/03 03:55:50 yS1 key: 'fax-send-flow', type=4, flags=1, data=7 01/03 03:55:50 yS1 key: 'fax-rec-flow', type=4, flags=1, data=7 01/03 03:55:50 yS1 key: 'max-tries', type=0, flags=3, data=3 01/03 03:55:50 yS1 key: 'max-tries-continue', type=3, flags=3, data=TRUE 01/03 03:55:50 yS1 key: 'speed', type=0, flags=1, data=38400 01/03 03:55:50 yS1 key: 'switchbd', type=0, flags=1, data=0 01/03 03:55:50 yS1 key: 'open-delay', type=0, flags=0, data=(empty) 01/03 03:55:50 yS1 key: 'ignore-carrier', type=3, flags=1, data=TRUE 01/03 03:55:50 yS1 key: 'dial-prefix', type=1, flags=1, data=ATD 01/03 03:55:50 yS1 key: 'fax-id', type=1, flags=3, data=49 115 xxxxxxxx 01/03 03:55:50 yS1 key: 'poll-dir', type=1, flags=1, data=. 01/03 03:55:50 yS1 key: 'normal-res', type=3, flags=1, data=FALSE 01/03 03:55:50 yS1 key: 'fax-min-speed', type=0, flags=1, data=0 01/03 03:55:50 yS1 key: 'fax-max-speed', type=0, flags=1, data=14400 01/03 03:55:50 yS1 key: 'debug', type=0, flags=3, data=5 01/03 03:55:50 yS1 key: 'verbose', type=3, flags=2, data=TRUE 01/03 03:55:50 yS1 key: '', type=3, flags=1, data=FALSE 01/03 03:55:50 yS1 key: 'page-header', type=1, flags=0, data=(empty) 01/03 03:55:50 yS1 key: '', type=3, flags=1, data=FALSE 01/03 03:55:50 yS1 key: '', type=3, flags=1, data=FALSE 01/03 03:55:50 yS1 key: '', type=1, flags=1, data= 01/03 03:55:50 yS1 tss: set speed to 38400 (017) 01/03 03:55:50 yS1 mdm_send: 'ATV1Q0' 01/03 03:56:00 yS1 Warning: got alarm signal! 01/03 03:56:00 yS1 mdm_read_byte: read returned -1: Interrupted system call 01/03 03:56:00 yS1 mdm_get_line: cannot read byte, return: Interrupted system call -> ERROR 01/03 03:56:01 yS1 mdm_send: 'ATV1Q0' 01/03 03:56:11 yS1 Warning: got alarm signal! 01/03 03:56:11 yS1 mdm_read_byte: read returned -1: Interrupted system call 01/03 03:56:11 yS1 mdm_get_line: cannot read byte, return: Interrupted system call -> ERROR 01/03 03:56:11 ##### failed initializing modem, dev=ttyS1, acct="" 01/03 03:56:11 yS1 removing lock file -- 01/03 08:50:16 sendfax: interim release 1.1.33-Apr10 01/03 08:50:16 sendfax.c compiled at Nov 28 2006, 00:09:17 01/03 08:50:16 sending fax to 981397712 01/03 08:50:16 checking f1.g3 01/03 08:50:16 makelock(ttyS1) called 01/03 08:50:16 do_makelock: lock='/var/lock/LCK..ttyS1' 01/03 08:50:16 lock made 01/03 08:50:16 tss: set speed to 38400 (017) 01/03 08:50:16 tio_set_flow_control( HARD ) 01/03 08:50:16 yS1 fax_open_device succeeded, ttyS1 -> 4 01/03 08:50:16 yS1 reading specific data for port 'ttyS1' 01/03 08:50:16 yS1 reading /etc/mgetty+sendfax/sendfax.config... 01/03 08:50:16 yS1 conf lib: read: 'verbose y' 01/03 08:50:16 yS1 conf lib: read: 'debug 5' 01/03 08:50:16 yS1 conf lib: read: 'fax-devices ttyS1:ttyS2' 01/03 08:50:16 yS1 conf lib: read: 'fax-id 49 115 xxxxxxxx' 01/03 08:50:16 yS1 conf lib: read: 'max-tries 3' 01/03 08:50:16 yS1 conf lib: read: 'max-tries-continue y' 01/03 08:50:16 yS1 key: 'fax-devices', type=1, flags=4, data=(ignored) 01/03 08:50:16 yS1 key: 'modem-init', type=1, flags=0, data=(empty) 01/03 08:50:16 yS1 key: 'modem-handshake', type=1, flags=0, data=(empty) 01/03 08:50:16 yS1 key: 'modem-type', type=1, flags=1, data=auto 01/03 08:50:16 yS1 key: 'modem-quirks', type=0, flags=0, data=(empty) 01/03 08:50:16 yS1 key: 'fax-send-flow', type=4, flags=1, data=7 01/03 08:50:16 yS1 key: 'fax-rec-flow', type=4, flags=1, data=7 01/03 08:50:16 yS1 key: 'max-tries', type=0, flags=3, data=3 01/03 08:50:16 yS1 key: 'max-tries-continue', type=3, flags=3, data=TRUE 01/03 08:50:16 yS1 key: 'speed', type=0, flags=1, data=38400 01/03 08:50:16 yS1 key: 'switchbd', type=0, flags=1, data=0 01/03 08:50:16 yS1 key: 'open-delay', type=0, flags=0, data=(empty) 01/03 08:50:16 yS1 key: 'ignore-carrier', type=3, flags=1, data=TRUE 01/03 08:50:16 yS1 key: 'dial-prefix', type=1, flags=1, data=ATD 01/03 08:50:16 yS1 key: 'fax-id', type=1, flags=3, data=49 115 xxxxxxxx 01/03 08:50:16 yS1 key: 'poll-dir', type=1, flags=1, data=. 01/03 08:50:16 yS1 key: 'normal-res', type=3, flags=1, data=FALSE 01/03 08:50:16 yS1 key: 'fax-min-speed', type=0, flags=1, data=0 01/03 08:50:16 yS1 key: 'fax-max-speed', type=0, flags=1, data=14400 01/03 08:50:16 yS1 key: 'debug', type=0, flags=3, data=5 01/03 08:50:16 yS1 key: 'verbose', type=3, flags=2, data=TRUE 01/03 08:50:16 yS1 key: '', type=3, flags=1, data=FALSE 01/03 08:50:16 yS1 key: 'page-header', type=1, flags=0, data=(empty) 01/03 08:50:16 yS1 key: '', type=3, flags=1, data=FALSE 01/03 08:50:16 yS1 key: '', type=3, flags=1, data=FALSE 01/03 08:50:16 yS1 key: '', type=1, flags=1, data= 01/03 08:50:16 yS1 tss: set speed to 38400 (017) 01/03 08:50:16 yS1 mdm_send: 'ATV1Q0' 01/03 08:50:26 yS1 Warning: got alarm signal! 01/03 08:50:26 yS1 mdm_read_byte: read returned -1: Interrupted system call 01/03 08:50:26 yS1 mdm_get_line: cannot read byte, return: Interrupted system call -> ERROR 01/03 08:50:27 yS1 mdm_send: 'ATV1Q0' 01/03 08:50:37 yS1 Warning: got alarm signal! 01/03 08:50:37 yS1 mdm_read_byte: read returned -1: Interrupted system call 01/03 08:50:37 yS1 mdm_get_line: cannot read byte, return: Interrupted system call -> ERROR 01/03 08:50:37 ##### failed initializing modem, dev=ttyS1, acct="" 01/03 08:50:37 yS1 removing lock file Un saludo -- Octavio Ávalos --------------------------------------------------------------------- Para dar de baja la suscripción, mande un mensaje a: opensuse-es+unsubscribe@opensuse.org Para obtener el resto de direcciones-comando, mande un mensaje a: opensuse-es+help@opensuse.org