HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] cannot connect to the server



>Subject: Re: [hylafax-users] cannot connect to the server

>It doesn't look like your modem is responding properly:

>Feb  1 21:21:51 linux FaxGetty[26434]: <-- [4:ATZ\r]
>Feb  1 21:22:21 linux FaxGetty[26434]: MODEM <Timeout>
>You should look there for your answer. Try to get the modem working for you under a simple terminal program such as minicom to make the testing as simple as possible.

Thank's Darren to care for my request.
 
I tried a lot of expectations but no one permits to pass thru the problem
For now Hylafax Status is 
  Hylafax sceduler on linux.donais.ca: running
  Modem ttyS0 (999-999-9999): Initializing server
 
In   /etc/inittab what's the use uf t2 at the beginning of the line?
  # hylafax set-up
  t2:2345:respawn:/usr/sbin/faxgetty /dev/ttyS0
  /var/log/messages/ always show a hang-up after ATZ modem reset.
I didn't place the ModemResetCmds and it seem's that the ATZ command is hard coded in FaxGetty but is the there a way to avoid it's use or should I replace it by something else?  
 
  Feb  1 21:21:51 linux FaxGetty[26434]: <-- [4:ATZ\r]
  Feb  1 21:22:21 linux FaxGetty[26434]: MODEM <Timeout>
  Feb  1 21:22:21 linux FaxGetty[26434]: DELAY 75 ms
  Feb  1 21:22:22 linux FaxGetty[26434]: DELAY 2600 ms
  Feb  1 21:41:05 linux fév  1 21:41:05 FaxQueuer[26422]: QUIT

                         ================================
  /var/spoolhylafax/etc/config.ttyS0


  # $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: 450
  FAXNumber: 450-549-5266
  LongDistancePrefix: 1
  InternationalPrefix: 011
  DialStringRules: etc/dialrules
  ServerTracing: 11
  SessionTracing: 11
  RecvFileMode: 0600
  LogFileMode: 0600
  DeviceMode: 0600
  RingsBeforeAnswer: 0
  SpeakerVolume: off
  GettyArgs: "-h %l dx_%s"
  LocalIdentifier: donais.materiaux
  TagLineFont: etc/lutRS18.pcf
  TagLineFormat: "From %%l|%c|Page %%P of %%T"
  MaxRecvPages: 100
  #
  #
  # 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
  #





Project hosted by iFAX Solutions