hylafax-user
2009-05-27 12:31:04 UTC
This is a multi-part message in MIME format.
--Boundary_(ID_UlMe4A0dlruVJFkUTd1EXw)
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7BIT
Hi,
is calling here - read: what was compiled in as FAX_NOTIFY_PROGRAM.
a "README.1st". Guess what this is for :-)
I don't have the source bundle. I did read the README.1st and clicked
through the link to mgetty.greenie.net reading the receiving faxes
section which again points to policy.h or policy.h-dist.
I changed debug from 8 to 9 but don't see any difference in the log when
I receive faxes.
I reloaded mgetty after changing the /etc/mgetty+sendfax/mgetty.config
Here's the log:
05/27 08:16:22 ##### failed dev=ttyS0, pid=7497, got signal 15, exiting
--
05/27 08:16:41 yS0 mgetty: experimental test release 1.1.30-Dec16
05/27 08:16:41 yS0 check for lockfiles
05/27 08:16:41 yS0 locking the line
05/27 08:16:41 yS0 lowering DTR to reset Modem
05/27 08:16:42 yS0 send: \dATQ0V1H0[0d]
05/27 08:16:42 yS0 waiting for ``OK'' ** found **
05/27 08:16:43 yS0 send: ATS0=0Q0&D3&C1[0d]
05/27 08:16:43 yS0 waiting for ``OK'' ** found **
05/27 08:16:43 yS0 mdm_send: 'ATI'
05/27 08:16:43 yS0 USR Courier/Sportster 56k detected
05/27 08:16:43 yS0 mdm_send: 'ATI3'
05/27 08:16:43 yS0 additional info: 'U.S. Robotics 56K FAX EXT V5.11.6'
05/27 08:16:43 yS0 mdm_send: 'AT+FCLASS=2.0' -> OK
05/27 08:16:43 yS0 mdm_send: 'AT+FAA=1;+FCR=1' -> OK
05/27 08:16:44 yS0 mdm_send: 'AT+FBO=1' -> OK
05/27 08:16:44 yS0 mdm_send: 'AT+FNR=1,1,1,0' -> OK
05/27 08:16:44 yS0 mdm_send: 'AT+FLI="973 697 4443"' -> OK
05/27 08:16:44 yS0 mdm_send: 'AT+FCC=1,5,0,2,0,0,0,0' -> OK
05/27 08:16:45 yS0 waiting...
05/27 08:17:54 yS0 wfr: waiting for ``RING''
05/27 08:17:54 yS0 send: ATA[0d]
05/27 08:17:54 yS0 waiting for ``CONNECT''
05/27 08:18:00 yS0 found action string: ``+FCO_''
05/27 08:18:00 yS0 start fax receiver...
05/27 08:18:00 yS0 fax_wait_for(OK)
05/27 08:18:02 yS0 fax_id: '+FTI:" removed.Corp."'
05/27 08:18:02 yS0 transmission par.: '+FCS:1,5,0,2,0,0,0,0'** found **
05/27 08:18:02 yS0 mdm_send: 'AT+FLO=2' -> OK
05/27 08:18:02 yS0 fax_send: 'AT+FDR'
05/27 08:18:02 yS0 fax_wait_for(CONNECT)** found **
05/27 08:18:07 yS0 fax_get_page_data: receiving
/var/spool/fax/incoming/ffa1d2f72S0-Behringer-Corp.01...
05/27 08:18:32 yS0 fax_get_page_data: page end, bytes received: 44318
05/27 08:18:32 yS0 fax_wait_for(OK)
05/27 08:18:32 yS0 page status: +FPS:1,2163,0,0,0** found **
05/27 08:18:33 yS0 fax_send: 'AT+FDR'
05/27 08:18:33 yS0 fax_wait_for(CONNECT)
05/27 08:18:37 yS0 connection hangup: '+FHS:00'** found **
05/27 08:18:37 ##### fax dev=ttyS0, pid=8328, caller='none', name='',
id='removed.', +FHNG=000, pages=1/0, time=00:00:43
05/27 08:18:37 yS0 system() failed: No such file or directory
05/27 08:18:39 yS0 mdm_send: 'ATH0' -> OK
--
05/27 08:18:39 yS0 mgetty: experimental test release 1.1.30-Dec16
05/27 08:18:39 yS0 check for lockfiles
05/27 08:18:39 yS0 locking the line
05/27 08:18:39 yS0 lowering DTR to reset Modem
05/27 08:18:40 yS0 send: \dATQ0V1H0[0d]
05/27 08:18:41 yS0 waiting for ``OK'' ** found **
05/27 08:18:41 yS0 send: ATS0=0Q0&D3&C1[0d]
05/27 08:18:41 yS0 waiting for ``OK'' ** found **
05/27 08:18:41 yS0 mdm_send: 'ATI'
05/27 08:18:41 yS0 USR Courier/Sportster 56k detected
05/27 08:18:41 yS0 mdm_send: 'ATI3'
05/27 08:18:41 yS0 additional info: 'U.S. Robotics 56K FAX EXT V5.11.6'
05/27 08:18:41 yS0 mdm_send: 'AT+FCLASS=2.0' -> OK
05/27 08:18:42 yS0 mdm_send: 'AT+FAA=1;+FCR=1' -> OK
05/27 08:18:42 yS0 mdm_send: 'AT+FBO=1' -> OK
05/27 08:18:42 yS0 mdm_send: 'AT+FNR=1,1,1,0' -> OK
05/27 08:18:42 yS0 mdm_send: 'AT+FLI="973 697 4443"' -> OK
05/27 08:18:42 yS0 mdm_send: 'AT+FCC=1,5,0,2,0,0,0,0' -> OK
05/27 08:18:43 yS0 waiting...[***@vrod log]#
Here's the mgetty.config
cat mgetty.config
#
# mgetty configuration file
#
# this is a sample configuration file, see mgetty.info for details
#
# comment lines start with a "#", empty lines are ignored
# ----- global section -----
#
# In this section, you put the global defaults, per-port stuff is below
# set the global debug level to "4" (default from policy.h)
# set the local fax station id
# access the modem(s) with 38400 bps
# use these options to make the /dev/tty-device owned by "uucp.uucp"
# and mode "rw-rw-r--" (0664). *LEADING ZERO NEEDED!*
#port-owner uucp
#port-group uucp
#port-mode 0664
# use these options to make incoming faxes owned by "root.uucp"
# and mode "rw-r-----" (0640). *LEADING ZERO NEEDED!*
#fax-owner root
#fax-group uucp
#fax-mode 0640
# ----- port specific section -----
#
# Here you can put things that are valid only for one line, not the others
#
# Zoom V.FX 28.8, connected to ttyS0: don't do fax, less logging
#
#port ttyS0
# debug 3
# data-only y
# some other Rockwell modem, needs "switchbd 19200" to receive faxes
# properly (otherwise it will fail with "timeout").
#
#port ttyS1
# speed 38400
# switchbd 19200
# ZyXEL 2864, connected to ttyS2: maximum debugging, grab statistics
#
#port ttyS2
# debug 8
# init-chat "" \d\d\d+++\d\d\dAT&FS2=255 OK ATN3S0=0S13.2=1 OK
# statistics-chat "" AT OK ATI2 OK
# statistics-file /var/log/statistics.ttyS2
# modem-type cls2
# direct connection of a VT100 terminal which doesn't like DTR drops
#
#port ttyS3
# direct y
# speed 19200
# toggle-dtr n
fax-id 973 697 4443
fax-owner root
port /dev/modem
debug 9
fax-id 973 697 4443
speed 115200
init-chat ATM0DT
port-owner ppp
port-group pppusers
port-mode 0664
-------- Original Message --------
Subject: fax from Behringer Corp.
Date: Wed, 27 May 2009 08:18:37 -0400
From: ***@vrod.rownetco.com (Fax Getty)
To: ***@vrod.rownetco.com
A fax was successfully received:
Sender ID: removed Corp.
Pages received: 1
Modem device: ttyS0
Communication parameters: +FCS:1,5,0,2,0,0,0,0
Resolution : fine
Bit Rate : 14400
Page Width : 1728 pixels
Page Length: unlimited
Compression: 0 (1d mod Huffman)
Error Corr.: none
Scan Time : 0
Reception Time : 00:43
Spooled G3 fax files:
/var/spool/fax/incoming/ffa1d2f72S0-removed-Corp.01
regards, your modem subsystem.
--Boundary_(ID_UlMe4A0dlruVJFkUTd1EXw)
Content-type: text/html; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<pre wrap="">Hi,
On Wed, May 27, 2009 at 07:18:38AM -0400, hylafax-user wrote: </pre> <blockquote type="cite"> <pre wrap=""><span class="moz-txt-citetags">> </span>7:10:43 system() failed: No such file or directory.
</pre>
</blockquote>
<pre wrap=""><!---->
Increase the log level ("debug 9"). It will tell you what program mgetty
is calling here - read: what was compiled in as FAX_NOTIFY_PROGRAM. </pre> <blockquote type="cite"> <pre wrap=""><span class="moz-txt-citetags">> </span>A policy.h file sounds like it would be used in compiling a new version <span class="moz-txt-citetags">> </span>of Mgetty. Since I don't have policy.h where would I add the <span class="moz-txt-citetags">> </span>FAX_NOTIFY_PROGRAM line?
</pre>
</blockquote>
<pre wrap=""><!---->
If you have the source bundle, you have a policy.h-dist, and you have
a "README.1st". Guess what this is for <span class="moz-smiley-s1"><span> :-) </span></span>
</pre>
<br>
I don't have the source bundle. I did read the README.1st and clicked
through the link to mgetty.greenie.net reading the receiving faxes
section which again points to policy.h or policy.h-dist.<br>
I changed debug from 8 to 9 but don't see any difference in the log
when I receive faxes.<br>
<br>
I reloaded mgetty after changing the /etc/mgetty+sendfax/mgetty.config<br>
<br>
Here's the log:<br>
<br>
05/27 08:16:22 ##### failed dev=ttyS0, pid=7497, got signal 15, exiting<br>
--<br>
05/27 08:16:41 yS0 mgetty: experimental test release 1.1.30-Dec16<br>
05/27 08:16:41 yS0 check for lockfiles<br>
05/27 08:16:41 yS0 locking the line<br>
05/27 08:16:41 yS0 lowering DTR to reset Modem<br>
05/27 08:16:42 yS0 send: \dATQ0V1H0[0d]<br>
05/27 08:16:42 yS0 waiting for ``OK'' ** found **<br>
05/27 08:16:43 yS0 send: ATS0=0Q0&D3&C1[0d]<br>
05/27 08:16:43 yS0 waiting for ``OK'' ** found **<br>
05/27 08:16:43 yS0 mdm_send: 'ATI'<br>
05/27 08:16:43 yS0 USR Courier/Sportster 56k detected<br>
05/27 08:16:43 yS0 mdm_send: 'ATI3'<br>
05/27 08:16:43 yS0 additional info: 'U.S. Robotics 56K FAX EXT V5.11.6'<br>
05/27 08:16:43 yS0 mdm_send: 'AT+FCLASS=2.0' -> OK<br>
05/27 08:16:43 yS0 mdm_send: 'AT+FAA=1;+FCR=1' -> OK<br>
05/27 08:16:44 yS0 mdm_send: 'AT+FBO=1' -> OK<br>
05/27 08:16:44 yS0 mdm_send: 'AT+FNR=1,1,1,0' -> OK<br>
05/27 08:16:44 yS0 mdm_send: 'AT+FLI="973 697 4443"' -> OK<br>
05/27 08:16:44 yS0 mdm_send: 'AT+FCC=1,5,0,2,0,0,0,0' -> OK<br>
05/27 08:16:45 yS0 waiting...<br>
05/27 08:17:54 yS0 wfr: waiting for ``RING''<br>
05/27 08:17:54 yS0 send: ATA[0d]<br>
05/27 08:17:54 yS0 waiting for ``CONNECT''<br>
05/27 08:18:00 yS0 found action string: ``+FCO_''<br>
05/27 08:18:00 yS0 start fax receiver...<br>
05/27 08:18:00 yS0 fax_wait_for(OK)<br>
05/27 08:18:02 yS0 fax_id: '+FTI:" removed.Corp."'<br>
05/27 08:18:02 yS0 transmission par.: '+FCS:1,5,0,2,0,0,0,0'** found **<br>
05/27 08:18:02 yS0 mdm_send: 'AT+FLO=2' -> OK<br>
05/27 08:18:02 yS0 fax_send: 'AT+FDR'<br>
05/27 08:18:02 yS0 fax_wait_for(CONNECT)** found **<br>
05/27 08:18:07 yS0 fax_get_page_data: receiving
/var/spool/fax/incoming/ffa1d2f72S0-Behringer-Corp.01...<br>
05/27 08:18:32 yS0 fax_get_page_data: page end, bytes received: 44318<br>
05/27 08:18:32 yS0 fax_wait_for(OK)<br>
05/27 08:18:32 yS0 page status: +FPS:1,2163,0,0,0** found **<br>
05/27 08:18:33 yS0 fax_send: 'AT+FDR'<br>
05/27 08:18:33 yS0 fax_wait_for(CONNECT)<br>
05/27 08:18:37 yS0 connection hangup: '+FHS:00'** found **<br>
05/27 08:18:37 ##### fax dev=ttyS0, pid=8328, caller='none', name='',
id='removed.', +FHNG=000, pages=1/0, time=00:00:43<br>
05/27 08:18:37 yS0 system() failed: No such file or directory<br>
05/27 08:18:39 yS0 mdm_send: 'ATH0' -> OK<br>
--<br>
05/27 08:18:39 yS0 mgetty: experimental test release 1.1.30-Dec16<br>
05/27 08:18:39 yS0 check for lockfiles<br>
05/27 08:18:39 yS0 locking the line<br>
05/27 08:18:39 yS0 lowering DTR to reset Modem<br>
05/27 08:18:40 yS0 send: \dATQ0V1H0[0d]<br>
05/27 08:18:41 yS0 waiting for ``OK'' ** found **<br>
05/27 08:18:41 yS0 send: ATS0=0Q0&D3&C1[0d]<br>
05/27 08:18:41 yS0 waiting for ``OK'' ** found **<br>
05/27 08:18:41 yS0 mdm_send: 'ATI'<br>
05/27 08:18:41 yS0 USR Courier/Sportster 56k detected<br>
05/27 08:18:41 yS0 mdm_send: 'ATI3'<br>
05/27 08:18:41 yS0 additional info: 'U.S. Robotics 56K FAX EXT V5.11.6'<br>
05/27 08:18:41 yS0 mdm_send: 'AT+FCLASS=2.0' -> OK<br>
05/27 08:18:42 yS0 mdm_send: 'AT+FAA=1;+FCR=1' -> OK<br>
05/27 08:18:42 yS0 mdm_send: 'AT+FBO=1' -> OK<br>
05/27 08:18:42 yS0 mdm_send: 'AT+FNR=1,1,1,0' -> OK<br>
05/27 08:18:42 yS0 mdm_send: 'AT+FLI="973 697 4443"' -> OK<br>
05/27 08:18:42 yS0 mdm_send: 'AT+FCC=1,5,0,2,0,0,0,0' -> OK<br>
05/27 08:18:43 yS0 waiting...[***@vrod log]# <br>
<br>
<br>
Here's the mgetty.config<br>
<br>
cat mgetty.config<br>
#<br>
# mgetty configuration file<br>
#<br>
# this is a sample configuration file, see mgetty.info for details<br>
#<br>
# comment lines start with a "#", empty lines are ignored<br>
<br>
<br>
# ----- global section -----<br>
#<br>
# In this section, you put the global defaults, per-port stuff is below<br>
<br>
<br>
# set the global debug level to "4" (default from policy.h)<br>
<br>
# set the local fax station id<br>
<br>
# access the modem(s) with 38400 bps<br>
<br>
# use these options to make the /dev/tty-device owned by "uucp.uucp"<br>
# and mode "rw-rw-r--" (0664). *LEADING ZERO NEEDED!*<br>
#port-owner uucp<br>
#port-group uucp<br>
#port-mode 0664<br>
<br>
# use these options to make incoming faxes owned by "root.uucp"<br>
# and mode "rw-r-----" (0640). *LEADING ZERO NEEDED!*<br>
#fax-owner root<br>
#fax-group uucp<br>
#fax-mode 0640<br>
<br>
<br>
# ----- port specific section -----<br>
#<br>
# Here you can put things that are valid only for one line, not the
others<br>
#<br>
<br>
# Zoom V.FX 28.8, connected to ttyS0: don't do fax, less logging<br>
#<br>
#port ttyS0<br>
# debug 3<br>
# data-only y<br>
<br>
# some other Rockwell modem, needs "switchbd 19200" to receive faxes<br>
# properly (otherwise it will fail with "timeout").<br>
#<br>
#port ttyS1<br>
# speed 38400<br>
# switchbd 19200<br>
<br>
# ZyXEL 2864, connected to ttyS2: maximum debugging, grab statistics<br>
#<br>
#port ttyS2<br>
# debug 8<br>
# init-chat "" \d\d\d+++\d\d\dAT&FS2=255 OK ATN3S0=0S13.2=1 OK<br>
# statistics-chat "" AT OK ATI2 OK<br>
# statistics-file /var/log/statistics.ttyS2<br>
# modem-type cls2<br>
<br>
# direct connection of a VT100 terminal which doesn't like DTR drops<br>
#<br>
#port ttyS3<br>
# direct y<br>
# speed 19200<br>
# toggle-dtr n<br>
fax-id 973 697 4443<br>
fax-owner root<br>
port /dev/modem<br>
debug 9<br>
fax-id 973 697 4443<br>
speed 115200<br>
init-chat ATM0DT<br>
port-owner ppp<br>
port-group pppusers<br>
port-mode 0664<br>
<br>
<br>
-------- Original Message --------
<table class="moz-email-headers-table" border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<th align="right" nowrap="nowrap" valign="baseline">Subject: </th>
<td>fax from Behringer Corp.</td>
</tr>
<tr>
<th align="right" nowrap="nowrap" valign="baseline">Date: </th>
<td>Wed, 27 May 2009 08:18:37 -0400</td>
</tr>
<tr>
<th align="right" nowrap="nowrap" valign="baseline">From: </th>
<td><a class="moz-txt-link-abbreviated" href="mailto:***@vrod.rownetco.com">***@vrod.rownetco.com</a> (Fax Getty)</td>
</tr>
<tr>
<th align="right" nowrap="nowrap" valign="baseline">To: </th>
<td><a class="moz-txt-link-abbreviated" href="mailto:***@vrod.rownetco.com">***@vrod.rownetco.com</a></td>
</tr>
</tbody>
</table>
<br>
<br>
<pre>A fax was successfully received:
Sender ID: removed Corp.
Pages received: 1
Modem device: ttyS0
Communication parameters: +FCS:1,5,0,2,0,0,0,0
Resolution : fine
Bit Rate : 14400
Page Width : 1728 pixels
Page Length: unlimited
Compression: 0 (1d mod Huffman)
Error Corr.: none
Scan Time : 0
Reception Time : 00:43
Spooled G3 fax files:
/var/spool/fax/incoming/ffa1d2f72S0-removed-Corp.01
regards, your modem subsystem.
</pre>
</body>
</html>
--Boundary_(ID_UlMe4A0dlruVJFkUTd1EXw)--
--Boundary_(ID_UlMe4A0dlruVJFkUTd1EXw)
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7BIT
Hi,
7:10:43 system() failed: No such file or directory.
Increase the log level ("debug 9"). It will tell you what program mgettyis calling here - read: what was compiled in as FAX_NOTIFY_PROGRAM.
A policy.h file sounds like it would be used in compiling a new version
of Mgetty. Since I don't have policy.h where would I add the
FAX_NOTIFY_PROGRAM line?
If you have the source bundle, you have a policy.h-dist, and you haveof Mgetty. Since I don't have policy.h where would I add the
FAX_NOTIFY_PROGRAM line?
a "README.1st". Guess what this is for :-)
I don't have the source bundle. I did read the README.1st and clicked
through the link to mgetty.greenie.net reading the receiving faxes
section which again points to policy.h or policy.h-dist.
I changed debug from 8 to 9 but don't see any difference in the log when
I receive faxes.
I reloaded mgetty after changing the /etc/mgetty+sendfax/mgetty.config
Here's the log:
05/27 08:16:22 ##### failed dev=ttyS0, pid=7497, got signal 15, exiting
--
05/27 08:16:41 yS0 mgetty: experimental test release 1.1.30-Dec16
05/27 08:16:41 yS0 check for lockfiles
05/27 08:16:41 yS0 locking the line
05/27 08:16:41 yS0 lowering DTR to reset Modem
05/27 08:16:42 yS0 send: \dATQ0V1H0[0d]
05/27 08:16:42 yS0 waiting for ``OK'' ** found **
05/27 08:16:43 yS0 send: ATS0=0Q0&D3&C1[0d]
05/27 08:16:43 yS0 waiting for ``OK'' ** found **
05/27 08:16:43 yS0 mdm_send: 'ATI'
05/27 08:16:43 yS0 USR Courier/Sportster 56k detected
05/27 08:16:43 yS0 mdm_send: 'ATI3'
05/27 08:16:43 yS0 additional info: 'U.S. Robotics 56K FAX EXT V5.11.6'
05/27 08:16:43 yS0 mdm_send: 'AT+FCLASS=2.0' -> OK
05/27 08:16:43 yS0 mdm_send: 'AT+FAA=1;+FCR=1' -> OK
05/27 08:16:44 yS0 mdm_send: 'AT+FBO=1' -> OK
05/27 08:16:44 yS0 mdm_send: 'AT+FNR=1,1,1,0' -> OK
05/27 08:16:44 yS0 mdm_send: 'AT+FLI="973 697 4443"' -> OK
05/27 08:16:44 yS0 mdm_send: 'AT+FCC=1,5,0,2,0,0,0,0' -> OK
05/27 08:16:45 yS0 waiting...
05/27 08:17:54 yS0 wfr: waiting for ``RING''
05/27 08:17:54 yS0 send: ATA[0d]
05/27 08:17:54 yS0 waiting for ``CONNECT''
05/27 08:18:00 yS0 found action string: ``+FCO_''
05/27 08:18:00 yS0 start fax receiver...
05/27 08:18:00 yS0 fax_wait_for(OK)
05/27 08:18:02 yS0 fax_id: '+FTI:" removed.Corp."'
05/27 08:18:02 yS0 transmission par.: '+FCS:1,5,0,2,0,0,0,0'** found **
05/27 08:18:02 yS0 mdm_send: 'AT+FLO=2' -> OK
05/27 08:18:02 yS0 fax_send: 'AT+FDR'
05/27 08:18:02 yS0 fax_wait_for(CONNECT)** found **
05/27 08:18:07 yS0 fax_get_page_data: receiving
/var/spool/fax/incoming/ffa1d2f72S0-Behringer-Corp.01...
05/27 08:18:32 yS0 fax_get_page_data: page end, bytes received: 44318
05/27 08:18:32 yS0 fax_wait_for(OK)
05/27 08:18:32 yS0 page status: +FPS:1,2163,0,0,0** found **
05/27 08:18:33 yS0 fax_send: 'AT+FDR'
05/27 08:18:33 yS0 fax_wait_for(CONNECT)
05/27 08:18:37 yS0 connection hangup: '+FHS:00'** found **
05/27 08:18:37 ##### fax dev=ttyS0, pid=8328, caller='none', name='',
id='removed.', +FHNG=000, pages=1/0, time=00:00:43
05/27 08:18:37 yS0 system() failed: No such file or directory
05/27 08:18:39 yS0 mdm_send: 'ATH0' -> OK
--
05/27 08:18:39 yS0 mgetty: experimental test release 1.1.30-Dec16
05/27 08:18:39 yS0 check for lockfiles
05/27 08:18:39 yS0 locking the line
05/27 08:18:39 yS0 lowering DTR to reset Modem
05/27 08:18:40 yS0 send: \dATQ0V1H0[0d]
05/27 08:18:41 yS0 waiting for ``OK'' ** found **
05/27 08:18:41 yS0 send: ATS0=0Q0&D3&C1[0d]
05/27 08:18:41 yS0 waiting for ``OK'' ** found **
05/27 08:18:41 yS0 mdm_send: 'ATI'
05/27 08:18:41 yS0 USR Courier/Sportster 56k detected
05/27 08:18:41 yS0 mdm_send: 'ATI3'
05/27 08:18:41 yS0 additional info: 'U.S. Robotics 56K FAX EXT V5.11.6'
05/27 08:18:41 yS0 mdm_send: 'AT+FCLASS=2.0' -> OK
05/27 08:18:42 yS0 mdm_send: 'AT+FAA=1;+FCR=1' -> OK
05/27 08:18:42 yS0 mdm_send: 'AT+FBO=1' -> OK
05/27 08:18:42 yS0 mdm_send: 'AT+FNR=1,1,1,0' -> OK
05/27 08:18:42 yS0 mdm_send: 'AT+FLI="973 697 4443"' -> OK
05/27 08:18:42 yS0 mdm_send: 'AT+FCC=1,5,0,2,0,0,0,0' -> OK
05/27 08:18:43 yS0 waiting...[***@vrod log]#
Here's the mgetty.config
cat mgetty.config
#
# mgetty configuration file
#
# this is a sample configuration file, see mgetty.info for details
#
# comment lines start with a "#", empty lines are ignored
# ----- global section -----
#
# In this section, you put the global defaults, per-port stuff is below
# set the global debug level to "4" (default from policy.h)
# set the local fax station id
# access the modem(s) with 38400 bps
# use these options to make the /dev/tty-device owned by "uucp.uucp"
# and mode "rw-rw-r--" (0664). *LEADING ZERO NEEDED!*
#port-owner uucp
#port-group uucp
#port-mode 0664
# use these options to make incoming faxes owned by "root.uucp"
# and mode "rw-r-----" (0640). *LEADING ZERO NEEDED!*
#fax-owner root
#fax-group uucp
#fax-mode 0640
# ----- port specific section -----
#
# Here you can put things that are valid only for one line, not the others
#
# Zoom V.FX 28.8, connected to ttyS0: don't do fax, less logging
#
#port ttyS0
# debug 3
# data-only y
# some other Rockwell modem, needs "switchbd 19200" to receive faxes
# properly (otherwise it will fail with "timeout").
#
#port ttyS1
# speed 38400
# switchbd 19200
# ZyXEL 2864, connected to ttyS2: maximum debugging, grab statistics
#
#port ttyS2
# debug 8
# init-chat "" \d\d\d+++\d\d\dAT&FS2=255 OK ATN3S0=0S13.2=1 OK
# statistics-chat "" AT OK ATI2 OK
# statistics-file /var/log/statistics.ttyS2
# modem-type cls2
# direct connection of a VT100 terminal which doesn't like DTR drops
#
#port ttyS3
# direct y
# speed 19200
# toggle-dtr n
fax-id 973 697 4443
fax-owner root
port /dev/modem
debug 9
fax-id 973 697 4443
speed 115200
init-chat ATM0DT
port-owner ppp
port-group pppusers
port-mode 0664
-------- Original Message --------
Subject: fax from Behringer Corp.
Date: Wed, 27 May 2009 08:18:37 -0400
From: ***@vrod.rownetco.com (Fax Getty)
To: ***@vrod.rownetco.com
A fax was successfully received:
Sender ID: removed Corp.
Pages received: 1
Modem device: ttyS0
Communication parameters: +FCS:1,5,0,2,0,0,0,0
Resolution : fine
Bit Rate : 14400
Page Width : 1728 pixels
Page Length: unlimited
Compression: 0 (1d mod Huffman)
Error Corr.: none
Scan Time : 0
Reception Time : 00:43
Spooled G3 fax files:
/var/spool/fax/incoming/ffa1d2f72S0-removed-Corp.01
regards, your modem subsystem.
--Boundary_(ID_UlMe4A0dlruVJFkUTd1EXw)
Content-type: text/html; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<pre wrap="">Hi,
On Wed, May 27, 2009 at 07:18:38AM -0400, hylafax-user wrote: </pre> <blockquote type="cite"> <pre wrap=""><span class="moz-txt-citetags">> </span>7:10:43 system() failed: No such file or directory.
</pre>
</blockquote>
<pre wrap=""><!---->
Increase the log level ("debug 9"). It will tell you what program mgetty
is calling here - read: what was compiled in as FAX_NOTIFY_PROGRAM. </pre> <blockquote type="cite"> <pre wrap=""><span class="moz-txt-citetags">> </span>A policy.h file sounds like it would be used in compiling a new version <span class="moz-txt-citetags">> </span>of Mgetty. Since I don't have policy.h where would I add the <span class="moz-txt-citetags">> </span>FAX_NOTIFY_PROGRAM line?
</pre>
</blockquote>
<pre wrap=""><!---->
If you have the source bundle, you have a policy.h-dist, and you have
a "README.1st". Guess what this is for <span class="moz-smiley-s1"><span> :-) </span></span>
</pre>
<br>
I don't have the source bundle. I did read the README.1st and clicked
through the link to mgetty.greenie.net reading the receiving faxes
section which again points to policy.h or policy.h-dist.<br>
I changed debug from 8 to 9 but don't see any difference in the log
when I receive faxes.<br>
<br>
I reloaded mgetty after changing the /etc/mgetty+sendfax/mgetty.config<br>
<br>
Here's the log:<br>
<br>
05/27 08:16:22 ##### failed dev=ttyS0, pid=7497, got signal 15, exiting<br>
--<br>
05/27 08:16:41 yS0 mgetty: experimental test release 1.1.30-Dec16<br>
05/27 08:16:41 yS0 check for lockfiles<br>
05/27 08:16:41 yS0 locking the line<br>
05/27 08:16:41 yS0 lowering DTR to reset Modem<br>
05/27 08:16:42 yS0 send: \dATQ0V1H0[0d]<br>
05/27 08:16:42 yS0 waiting for ``OK'' ** found **<br>
05/27 08:16:43 yS0 send: ATS0=0Q0&D3&C1[0d]<br>
05/27 08:16:43 yS0 waiting for ``OK'' ** found **<br>
05/27 08:16:43 yS0 mdm_send: 'ATI'<br>
05/27 08:16:43 yS0 USR Courier/Sportster 56k detected<br>
05/27 08:16:43 yS0 mdm_send: 'ATI3'<br>
05/27 08:16:43 yS0 additional info: 'U.S. Robotics 56K FAX EXT V5.11.6'<br>
05/27 08:16:43 yS0 mdm_send: 'AT+FCLASS=2.0' -> OK<br>
05/27 08:16:43 yS0 mdm_send: 'AT+FAA=1;+FCR=1' -> OK<br>
05/27 08:16:44 yS0 mdm_send: 'AT+FBO=1' -> OK<br>
05/27 08:16:44 yS0 mdm_send: 'AT+FNR=1,1,1,0' -> OK<br>
05/27 08:16:44 yS0 mdm_send: 'AT+FLI="973 697 4443"' -> OK<br>
05/27 08:16:44 yS0 mdm_send: 'AT+FCC=1,5,0,2,0,0,0,0' -> OK<br>
05/27 08:16:45 yS0 waiting...<br>
05/27 08:17:54 yS0 wfr: waiting for ``RING''<br>
05/27 08:17:54 yS0 send: ATA[0d]<br>
05/27 08:17:54 yS0 waiting for ``CONNECT''<br>
05/27 08:18:00 yS0 found action string: ``+FCO_''<br>
05/27 08:18:00 yS0 start fax receiver...<br>
05/27 08:18:00 yS0 fax_wait_for(OK)<br>
05/27 08:18:02 yS0 fax_id: '+FTI:" removed.Corp."'<br>
05/27 08:18:02 yS0 transmission par.: '+FCS:1,5,0,2,0,0,0,0'** found **<br>
05/27 08:18:02 yS0 mdm_send: 'AT+FLO=2' -> OK<br>
05/27 08:18:02 yS0 fax_send: 'AT+FDR'<br>
05/27 08:18:02 yS0 fax_wait_for(CONNECT)** found **<br>
05/27 08:18:07 yS0 fax_get_page_data: receiving
/var/spool/fax/incoming/ffa1d2f72S0-Behringer-Corp.01...<br>
05/27 08:18:32 yS0 fax_get_page_data: page end, bytes received: 44318<br>
05/27 08:18:32 yS0 fax_wait_for(OK)<br>
05/27 08:18:32 yS0 page status: +FPS:1,2163,0,0,0** found **<br>
05/27 08:18:33 yS0 fax_send: 'AT+FDR'<br>
05/27 08:18:33 yS0 fax_wait_for(CONNECT)<br>
05/27 08:18:37 yS0 connection hangup: '+FHS:00'** found **<br>
05/27 08:18:37 ##### fax dev=ttyS0, pid=8328, caller='none', name='',
id='removed.', +FHNG=000, pages=1/0, time=00:00:43<br>
05/27 08:18:37 yS0 system() failed: No such file or directory<br>
05/27 08:18:39 yS0 mdm_send: 'ATH0' -> OK<br>
--<br>
05/27 08:18:39 yS0 mgetty: experimental test release 1.1.30-Dec16<br>
05/27 08:18:39 yS0 check for lockfiles<br>
05/27 08:18:39 yS0 locking the line<br>
05/27 08:18:39 yS0 lowering DTR to reset Modem<br>
05/27 08:18:40 yS0 send: \dATQ0V1H0[0d]<br>
05/27 08:18:41 yS0 waiting for ``OK'' ** found **<br>
05/27 08:18:41 yS0 send: ATS0=0Q0&D3&C1[0d]<br>
05/27 08:18:41 yS0 waiting for ``OK'' ** found **<br>
05/27 08:18:41 yS0 mdm_send: 'ATI'<br>
05/27 08:18:41 yS0 USR Courier/Sportster 56k detected<br>
05/27 08:18:41 yS0 mdm_send: 'ATI3'<br>
05/27 08:18:41 yS0 additional info: 'U.S. Robotics 56K FAX EXT V5.11.6'<br>
05/27 08:18:41 yS0 mdm_send: 'AT+FCLASS=2.0' -> OK<br>
05/27 08:18:42 yS0 mdm_send: 'AT+FAA=1;+FCR=1' -> OK<br>
05/27 08:18:42 yS0 mdm_send: 'AT+FBO=1' -> OK<br>
05/27 08:18:42 yS0 mdm_send: 'AT+FNR=1,1,1,0' -> OK<br>
05/27 08:18:42 yS0 mdm_send: 'AT+FLI="973 697 4443"' -> OK<br>
05/27 08:18:42 yS0 mdm_send: 'AT+FCC=1,5,0,2,0,0,0,0' -> OK<br>
05/27 08:18:43 yS0 waiting...[***@vrod log]# <br>
<br>
<br>
Here's the mgetty.config<br>
<br>
cat mgetty.config<br>
#<br>
# mgetty configuration file<br>
#<br>
# this is a sample configuration file, see mgetty.info for details<br>
#<br>
# comment lines start with a "#", empty lines are ignored<br>
<br>
<br>
# ----- global section -----<br>
#<br>
# In this section, you put the global defaults, per-port stuff is below<br>
<br>
<br>
# set the global debug level to "4" (default from policy.h)<br>
<br>
# set the local fax station id<br>
<br>
# access the modem(s) with 38400 bps<br>
<br>
# use these options to make the /dev/tty-device owned by "uucp.uucp"<br>
# and mode "rw-rw-r--" (0664). *LEADING ZERO NEEDED!*<br>
#port-owner uucp<br>
#port-group uucp<br>
#port-mode 0664<br>
<br>
# use these options to make incoming faxes owned by "root.uucp"<br>
# and mode "rw-r-----" (0640). *LEADING ZERO NEEDED!*<br>
#fax-owner root<br>
#fax-group uucp<br>
#fax-mode 0640<br>
<br>
<br>
# ----- port specific section -----<br>
#<br>
# Here you can put things that are valid only for one line, not the
others<br>
#<br>
<br>
# Zoom V.FX 28.8, connected to ttyS0: don't do fax, less logging<br>
#<br>
#port ttyS0<br>
# debug 3<br>
# data-only y<br>
<br>
# some other Rockwell modem, needs "switchbd 19200" to receive faxes<br>
# properly (otherwise it will fail with "timeout").<br>
#<br>
#port ttyS1<br>
# speed 38400<br>
# switchbd 19200<br>
<br>
# ZyXEL 2864, connected to ttyS2: maximum debugging, grab statistics<br>
#<br>
#port ttyS2<br>
# debug 8<br>
# init-chat "" \d\d\d+++\d\d\dAT&FS2=255 OK ATN3S0=0S13.2=1 OK<br>
# statistics-chat "" AT OK ATI2 OK<br>
# statistics-file /var/log/statistics.ttyS2<br>
# modem-type cls2<br>
<br>
# direct connection of a VT100 terminal which doesn't like DTR drops<br>
#<br>
#port ttyS3<br>
# direct y<br>
# speed 19200<br>
# toggle-dtr n<br>
fax-id 973 697 4443<br>
fax-owner root<br>
port /dev/modem<br>
debug 9<br>
fax-id 973 697 4443<br>
speed 115200<br>
init-chat ATM0DT<br>
port-owner ppp<br>
port-group pppusers<br>
port-mode 0664<br>
<br>
<br>
-------- Original Message --------
<table class="moz-email-headers-table" border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<th align="right" nowrap="nowrap" valign="baseline">Subject: </th>
<td>fax from Behringer Corp.</td>
</tr>
<tr>
<th align="right" nowrap="nowrap" valign="baseline">Date: </th>
<td>Wed, 27 May 2009 08:18:37 -0400</td>
</tr>
<tr>
<th align="right" nowrap="nowrap" valign="baseline">From: </th>
<td><a class="moz-txt-link-abbreviated" href="mailto:***@vrod.rownetco.com">***@vrod.rownetco.com</a> (Fax Getty)</td>
</tr>
<tr>
<th align="right" nowrap="nowrap" valign="baseline">To: </th>
<td><a class="moz-txt-link-abbreviated" href="mailto:***@vrod.rownetco.com">***@vrod.rownetco.com</a></td>
</tr>
</tbody>
</table>
<br>
<br>
<pre>A fax was successfully received:
Sender ID: removed Corp.
Pages received: 1
Modem device: ttyS0
Communication parameters: +FCS:1,5,0,2,0,0,0,0
Resolution : fine
Bit Rate : 14400
Page Width : 1728 pixels
Page Length: unlimited
Compression: 0 (1d mod Huffman)
Error Corr.: none
Scan Time : 0
Reception Time : 00:43
Spooled G3 fax files:
/var/spool/fax/incoming/ffa1d2f72S0-removed-Corp.01
regards, your modem subsystem.
</pre>
</body>
</html>
--Boundary_(ID_UlMe4A0dlruVJFkUTd1EXw)--