[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-date: Thu Jan 8 14:05:33 2004 -->
- <!--x-from-r13: Fbznf.[nmhxan ng qrygn.pbz ([nmhxan, Fbznf) -->
- <!--x-message-id: FA95D937E0C6C14FA29D7FE31505D10E012B9A45@satlrccdlmb03.delta.rl.delta.com -->
- <!--x-subject: [ale] HELP ! FAX receiving troubles -->
- <li><em>date</em>: Thu Jan 8 14:05:33 2004</li>
- <li><em>from</em>: Tomas.Mazukna at delta.com (Mazukna, Tomas)</li>
- <li><em>subject</em>: [ale] HELP ! FAX receiving troubles</li>
Here is the config for modem...
port ttyS0
# speed 38400
# switchbd 0
switchbd 19200
fax-only y
modem-type c2.0
init-chat "" \dATQ0V1H0 OK ATS0=0Q0&D3&C1 OK AT#CID=1 OK
answer-chat "" ATA CONNECT \c \r
Looks like it is not setting speed correctly ....
01/08 13:54:22 yS0 select returned 1
01/08 13:54:22 yS0 checking lockfiles, locking the line
01/08 13:54:22 yS0 makelock(ttyS0) called
01/08 13:54:22 yS0 do_makelock: lock='/var/lock/LCK..ttyS0'
01/08 13:54:22 yS0 lock made
01/08 13:54:22 yS0 wfr: waiting for ``RING''
01/08 13:54:22 yS0 got: [0a][0d][0a]RING[0d]
01/08 13:54:22 yS0 CND: RING
01/08 13:54:22 yS0 wfr: rc=0, drn=0
01/08 13:54:22 yS0 CND: check no: 'none'
01/08 13:54:22 yS0 send: ATA[0d]
01/08 13:54:22 yS0 waiting for ``CONNECT''
01/08 13:54:22 yS0 got: ATA[0d]
01/08 13:54:22 yS0 CND: OKATA[0d][0a]+FCO[0d]
01/08 13:55:04 yS0 CND: +FCO
01/08 13:55:04 yS0 found action string: ``+FCO_''
01/08 13:55:04 yS0 start fax receiver...
01/08 13:55:04 yS0 fax receiver: entry
01/08 13:55:04 yS0 tss: set speed to 19200 (016)
01/08 13:55:04 yS0 fax_wait_for(OK)
01/08 13:55:04 yS0 got:[0a][0a]i[a8][dc]z_[f8]I[0c][cc][09][9e]?[09]
01/08 13:57:04 yS0 Warning: got alarm signal!
01/08 13:57:04 yS0 mdm_read_byte: read returned -1: Interrupted system
call
01/08 13:57:04 yS0 mdm_get_line: cannot read byte, return: Interrupted
system call
01/08 13:57:04 yS0 >> The problem seen above might be caused by a wrong
value of the
01/08 13:57:04 yS0 >> 'switchbd' option in 'mgetty.config' (currently
set to '19200')
01/08 13:57:04 yS0 >> try using 'switchbd 0'
01/08 13:57:04 yS0 looking for utmp entry... (my PID: 17023)
01/08 13:57:04 yS0 utmp + wtmp entry made
01/08 13:57:04 yS0 tio_set_flow_control( HARD XON_IN )
01/08 13:57:04 yS0 mdm_send: 'AT+FLO=2'
01/08 13:57:04 yS0 got:AT+FLO=2[0d]
01/08 13:57:04 yS0 mdm_command: string 'AT+FLO=2'
01/08 13:57:04 yS0 got:[0d][0a]OK[0d]
01/08 13:57:04 yS0 mdm_command: string 'OK' -> OK
01/08 13:57:04 yS0 98357 Mb free on /var/spool/fax/incoming
01/08 13:57:04 yS0 fax_get_pages: no pages to receive
01/08 13:57:04 yS0 fax receiver: hangup & end
01/08 13:57:04 yS0 fax_notify_mail: sending mail to: root
01/08 13:57:05 yS0 notify: '/etc/mgetty/new_fax -6 '' 0 >/dev/console
2>&1 </dev/null'
01/08 13:57:05 yS0 setenv: 'CALLER_ID=none'
01/08 13:57:05 yS0 setenv: 'CALLED_ID='
01/08 13:57:05 yS0 setenv: 'CONNECT='
01/08 13:57:05 yS0 setenv: 'DEVICE=ttyS0'
01/08 13:57:05 ##### fax dev=ttyS0, pid=17023, caller='none', name='',
id='', +FHNG=-06, pages=0/0, time=00:02:42
-----Original Message-----
From: Geoffrey [<a rel="nofollow" href="mailto:esoteric">mailto:esoteric</a> at 3times25.net]
Sent: Thursday, January 08, 2004 1:50 PM
To: Atlanta Linux Enthusiasts
Subject: Re: [ale] HELP ! FAX receiving troubles
Mazukna, Tomas wrote:
> I do not have init-chat in /etc/mgetty/mgetty.config
> Should I? how should it look ?
Assuming you have a /etc/mgetty/mgetty.config file, you should look at
setting the various options you'll find there. Here is my init-chat
from y USR faxmodem. It's an earlier version than yours, but I suspect
it may work:
init-chat "" \dATQ0V1H0 OK ATS0=0Q0&D3&C1 OK AT#CID=1 OK
Here is my answer-chat entry:
answer-chat "" ATA CONNECT \c \r
This is also where I use callerid to control who is permitted to send me
a fax. :) If you're interested in such options, check out cnd-program
option.
--
Until later, Geoffrey esoteric at 3times25.net
Building secure systems inspite of Microsoft
_______________________________________________
Ale mailing list
Ale at ale.org
<a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00266" href="msg00266.html">[ale] HELP ! FAX receiving troubles</a></strong>
<ul><li><em>From:</em> esoteric at 3times25.net (Geoffrey)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00264.html">[ale] OT: Cheap part hight shipping</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00266.html">[ale] HELP ! FAX receiving troubles</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00263.html">[ale] HELP ! FAX receiving troubles</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00266.html">[ale] HELP ! FAX receiving troubles</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00265"><strong>Date</strong></a></li>
<li><a href="threads.html#00265"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>