HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

[hylafax-users] Waiting for modem to come ready



I'm having problems with a replacement external modem (our may have died, or
it is the same problem, but external is easier to watch the modem)

I checked the archives

Running Hylfax 4.2.1 on Suse Enterprise Server 9
System had been working just fine with an internal modem until we had a
power outage.
This modem works fine with minicom, I can dial out just fine though that.
I have tried two external modems, one boca 33.6 fax modem and now a
MultiTech fax modem.  Reran faxaddmodem between modem swaps.

I know it is set to class 2, faxaddmodem did that, that should affect if the
modem will work at all, should it?  Our old internal was class 1 (usr that
worked well for us, before sitting at the same status)

I do not know of any system changes recently.

Have faxgetty in the inittab file as
m0:2345:respawn:/usr/local/sbin/faxgetty ttyS0

Here is my config.ttyS0 file:
# $Id: mt-1432,v 1.3 2003/01/15 00:02:57 tim Exp $
#
# HylaFAX Facsimile Software
#
# Copyright (c) 1990-1996 Sam Leffler
# Copyright (c) 1991-1996 Silicon Graphics, Inc.
# HylaFAX is a trademark of Silicon Graphics, Inc.
#
# Permission to use, copy, modify, distribute, and sell this software and
# its documentation for any purpose is hereby granted without fee, provided
# that (i) the above copyright notices and this permission notice appear in
# all copies of the software and related documentation, and (ii) the names
of
# Sam Leffler and Silicon Graphics may not be used in any advertising or
# publicity relating to the software without the specific, prior written
# permission of Sam Leffler and Silicon Graphics.
#
# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
#
# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
# OF THIS SOFTWARE.
#

#
# Configuration for a Multi-Tech MT1432, MT224BA, and MT1932ZDX modems.
#
# MT1432        firmware rev 0307 I or newer
# MT132BG       rev 0109A
# MT1932ZDX     rev 0109H
# MT2834ZDX     rev 0316A or newer
# MT2834ZDXb    rev 0317G or newer
#
# Note that MT1432 modems come in several varieties:
#
# MT1432BA      uses Rockwell data pump
# MT1432BA/A    uses AT&T data pump
# MT1432BG      MT1432BA tweaked for German FCC
# MT1432MK      (for UK?)
#
# The modem has been tried with both XON/XOFF and RTS/CTS flow
# control; this configuration is for hardware flow control.
#
#
CountryCode:            1
AreaCode:               608
FAXNumber:              608.643.1602
LongDistancePrefix:     1
InternationalPrefix:    011
DialStringRules:        etc/dialrules
ServerTracing:          1
SessionTracing:         11
RecvFileMode:           0600
LogFileMode:            0600
DeviceMode:             0600
RingsBeforeAnswer:      1
SpeakerVolume:          low
GettyArgs:              "-h %l dx_%s"
LocalIdentifier:        "MilwaukeeValve PDS"
TagLineFont:            etc/lutRS18.pcf
TagLineFormat:          "From %%l|%c|Page %%P of %%T"
MaxRecvPages:           25
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType:              Class2          # use class 2 interface
ModemRate:              38400           # lock rate for DCE-DTE
communication
ModemFlowControl:       rtscts          # default
#
ModemHardFlowCmd:       AT&E4           # hardware flow control
ModemSoftFlowCmd:       AT&E5           # software flow control
ModemSetupDTRCmd:       AT&D3           # setup so DTR drop resets modem
ModemSetupDCDCmd:       AT&C1           # setup so DCD reflects carrier (or
not)
# The MT2834ZDX (and other newer models) may be more robust with this.
#ModemSetupDCDCmd:      AT&C4           # setup so DCD resets modem on
#                                       # carrier drop
#
ModemSetupAACmd:        AT+FAA=1        # enable adaptive-answer in class 2
#
# NB: some models get confused by @ in ModemDialCmd
# NB: the @ causes some multifunction fax units to not go into fax mode.
#
ModemDialCmd:           ATDT%s          # T for tone dialing
#
Class2RecvDataTrigger:  "\022"          # character sent to modem to start
recv
#
# The MT2834ZDX (and other newer models) can take advantage of these.
#Class2APQueryCmd:      AT              # AT+FAP=? not supported on this
modem
#Class2NFLOCmd:         AT+FLO=0        # Class 2: no flow control
#Class2SFLOCmd:         AT+FLO=1        # Class 2: software flow control
#Class2HFLOCmd:         AT+FLO=2        # Class 2: hardware flow control
#Class2XmitWaitForXON:  no
#




Below are the fax entries from my messages log when I set servertracing
0xfff.
(Retrieved with grep -i fax /var/log/messages)

Sep 23 09:14:52 iris FaxGetty[28088]: OPEN /dev/ttyS0  HylaFAX (tm) Version
4.2.1
Sep 23 09:14:52 iris FaxGetty[28088]: Purge stale UUCP lock
/var/lock/LCK..ttyS0
Sep 23 09:14:53 iris FaxGetty[28088]: MODEM set DTR OFF
Sep 23 09:14:53 iris FaxGetty[28088]: DELAY 75 ms
Sep 23 09:14:53 iris FaxGetty[28088]: MODEM set DTR ON
Sep 23 09:14:53 iris FaxGetty[28088]: DELAY 2600 ms
Sep 23 09:14:57 iris FaxGetty[28088]: MODEM set baud rate: 38400 baud, input
flow RTS/CTS, output flow RTS/CTS
Sep 23 09:14:57 iris FaxGetty[28088]: DELAY 10 ms
Sep 23 09:14:57 iris FaxGetty[28088]: MODEM flush i/o
Sep 23 09:14:57 iris FaxGetty[28088]: <-- [4:ATZ\r]
Sep 23 09:15:27 iris FaxGetty[28088]: MODEM TIMEOUT: reading line from modem
Sep 23 09:15:27 iris FaxGetty[28088]: MODEM <Timeout>
Sep 23 09:15:27 iris FaxGetty[28088]: MODEM set DTR OFF
Sep 23 09:15:27 iris FaxGetty[28088]: DELAY 75 ms
Sep 23 09:15:27 iris FaxGetty[28088]: MODEM set DTR ON
Sep 23 09:15:27 iris FaxGetty[28088]: DELAY 2600 ms
Sep 23 09:15:30 iris FaxGetty[28088]: MODEM set baud rate: 38400 baud, input
flow RTS/CTS, output flow RTS/CTS
Sep 23 09:15:30 iris FaxGetty[28088]: DELAY 10 ms
Sep 23 09:15:30 iris FaxGetty[28088]: MODEM flush i/o
Sep 23 09:15:30 iris FaxGetty[28088]: <-- [4:ATZ\r]
Sep 23 09:16:00 iris FaxGetty[28088]: MODEM TIMEOUT: reading line from modem
Sep 23 09:16:00 iris FaxGetty[28088]: MODEM <Timeout>
Sep 23 09:16:00 iris FaxGetty[28088]: MODEM set DTR OFF
Sep 23 09:16:00 iris FaxGetty[28088]: /dev/ttyS0: Can not initialize modem.
Sep 23 09:16:00 iris FaxGetty[28088]: STATE CHANGE: BASE -> MODEMWAIT
(timeout 30)
Sep 23 09:16:31 iris FaxGetty[28088]: MODEM set DTR OFF
Sep 23 09:16:31 iris FaxGetty[28088]: DELAY 75 ms
Sep 23 09:16:31 iris FaxGetty[28088]: MODEM set DTR ON
Sep 23 09:16:31 iris FaxGetty[28088]: DELAY 2600 ms
Sep 23 09:16:35 iris FaxGetty[28088]: MODEM set baud rate: 38400 baud, input
flow RTS/CTS, output flow RTS/CTS
Sep 23 09:16:35 iris FaxGetty[28088]: DELAY 10 ms
Sep 23 09:16:35 iris FaxGetty[28088]: MODEM flush i/o
Sep 23 09:16:35 iris FaxGetty[28088]: <-- [4:ATZ\r]
Sep 23 09:17:05 iris FaxGetty[28088]: MODEM TIMEOUT: reading line from modem
Sep 23 09:17:05 iris FaxGetty[28088]: MODEM <Timeout>
Sep 23 09:17:05 iris FaxGetty[28088]: MODEM set DTR OFF
Sep 23 09:17:05 iris FaxGetty[28088]: DELAY 75 ms
Sep 23 09:17:05 iris FaxGetty[28088]: MODEM set DTR ON
Sep 23 09:17:05 iris FaxGetty[28088]: DELAY 2600 ms
Sep 23 09:17:09 iris FaxGetty[28088]: MODEM set baud rate: 38400 baud, input
flow RTS/CTS, output flow RTS/CTS
Sep 23 09:17:09 iris FaxGetty[28088]: DELAY 10 ms
Sep 23 09:17:09 iris FaxGetty[28088]: MODEM flush i/o
Sep 23 09:17:09 iris FaxGetty[28088]: <-- [4:ATZ\r]
Sep 23 09:17:39 iris FaxGetty[28088]: MODEM TIMEOUT: reading line from modem
Sep 23 09:17:39 iris FaxGetty[28088]: MODEM <Timeout>
Sep 23 09:17:39 iris FaxGetty[28088]: MODEM set DTR OFF
Sep 23 09:19:17 iris FaxGetty[28088]: Unable to setup modem on /dev/ttyS0;
giving up after 2 attempts
Sep 23 09:19:17 iris FaxGetty[28088]: CLOSE /dev/ttyS0
Sep 23 09:19:17 iris FaxQueuer[12624]: MODEM /dev/ttyS0 appears to be wedged
Sep 23 09:19:17 iris FaxQueuer[12624]: MODEM WEDGED: bin/wedged "ttyS0"
"/dev/ttyS0"
Sep 23 09:19:17 iris FaxGetty[28361]: OPEN /dev/ttyS0  HylaFAX (tm) Version
4.2.1
Sep 23 09:19:17 iris FaxQueuer[12624]: NOTIFY exit status: 0 (28362)
Sep 23 09:20:05 iris sz[28456]: [root] faxgettylog/ZMODEM: 3126 Bytes, 4462
BPS
Sep 23 09:20:26 iris FaxGetty[28361]: /dev/ttyS0: Can not initialize modem.
Sep 23 09:23:42 iris FaxGetty[28361]: Unable to setup modem on /dev/ttyS0;
giving up after 2 attempts
Sep 23 09:23:42 iris FaxGetty[28361]: CLOSE /dev/ttyS0
Sep 23 09:23:42 iris FaxQueuer[12624]: MODEM /dev/ttyS0 appears to be wedged
Sep 23 09:23:42 iris FaxQueuer[12624]: MODEM WEDGED: bin/wedged "ttyS0"
"/dev/ttyS0"
Sep 23 09:23:42 iris FaxGetty[28648]: OPEN /dev/ttyS0  HylaFAX (tm) Version
4.2.1
Sep 23 09:23:42 iris FaxQueuer[12624]: NOTIFY exit status: 0 (28649)
Sep 23 09:24:51 iris FaxGetty[28648]: /dev/ttyS0: Can not initialize modem.
Sep 23 09:28:07 iris FaxGetty[28648]: Unable to setup modem on /dev/ttyS0;
giving up after 2 attempts
Sep 23 09:28:07 iris FaxGetty[28648]: CLOSE /dev/ttyS0
Sep 23 09:28:07 iris FaxQueuer[12624]: MODEM /dev/ttyS0 appears to be wedged
Sep 23 09:28:07 iris FaxQueuer[12624]: MODEM WEDGED: bin/wedged "ttyS0"
"/dev/ttyS0"
Sep 23 09:28:08 iris FaxGetty[28906]: OPEN /dev/ttyS0  HylaFAX (tm) Version
4.2.1
Sep 23 09:28:08 iris FaxQueuer[12624]: NOTIFY exit status: 0 (28907)
Sep 23 09:29:16 iris FaxGetty[28906]: /dev/ttyS0: Can not initialize modem.
Sep 23 09:32:33 iris FaxGetty[28906]: Unable to setup modem on /dev/ttyS0;
giving up after 2 attempts
Sep 23 09:32:33 iris FaxGetty[28906]: CLOSE /dev/ttyS0
Sep 23 09:32:33 iris FaxQueuer[12624]: MODEM /dev/ttyS0 appears to be wedged
Sep 23 09:32:33 iris FaxQueuer[12624]: MODEM WEDGED: bin/wedged "ttyS0"
"/dev/ttyS0"
Sep 23 09:32:33 iris FaxQueuer[12624]: NOTIFY exit status: 0 (29167)
Sep 23 09:32:33 iris FaxGetty[29166]: OPEN /dev/ttyS0  HylaFAX (tm) Version
4.2.1

Thanks for any help,
Mike


____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions