HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
faxgetty won't start on my linux system
Hello folks,
I have hylafax 4.0.pl1 on a Linux system (2.0.23 kernel).
This is what my modem claims to be when I query it with 'AT I4':
Telepath 2 14,400/FAX/Voice RS Rev. 2.0
(it's supposed to be a USRSportster 14400 fax class 1.0. it's got a
gateway seal on it)
I am trying to set up faxgetty as my standard getty program and never
get it to work:
This is the entry I added to inittab:
# Serial lines
s1:45:respawn:/usr/local/sbin/faxgetty cua1
then I 'init q'
I get this on /var/adm/messages:
Apr 15 18:05:55 pcastro7 init: Re-reading inittab
Apr 15 18:06:40 pcastro7 FaxGetty[975]: Unable to setup modem on /dev/cua1; giving up after 2 attempts
Apr 15 18:06:40 pcastro7 FaxGetty[975]: CLOSE /dev/cua1
Apr 15 18:06:41 pcastro7 FaxGetty[990]: OPEN /dev/cua1
Apr 15 18:07:59 pcastro7 FaxGetty[990]: Unable to setup modem on /dev/cua1; giving up after 2 attempts
Apr 15 18:07:59 pcastro7 FaxGetty[990]: CLOSE /dev/cua1
Apr 15 18:08:00 pcastro7 FaxGetty[992]: OPEN /dev/cua1
Apr 15 18:08:06 pcastro7 FaxGetty[992]: /dev/cua1: Can not initialize modem.
And this on /var/adm/syslog:
Apr 15 18:06:40 pcastro7 FaxGetty[975]: MODEM /dev/cua1 appears to be wedged
Apr 15 18:07:59 pcastro7 FaxGetty[990]: MODEM /dev/cua1 appears to be wedged
I strongly suspect I am doing something awfully stupid, but can't find
what is wrong. I had similar problems trying to use uu_getty and
mgetty.
I use my modem routinely for a PPP connection. I also use it with
kermit and can connect to another machine and transfer data.
Hope somebody has had a similar experience and can share the solution
(hope not the grief) with me. Thanks,
Antonio Kanaan
Antonio Kanaan
Astronomy Postdoc
Instituto de Fisica - Universidade Federal do Rio Grande do Sul
kanaan@if.ufrgs.br
phone = 55.51.3166432
fax = 55.51.3191762
ps. My config file reads:
(/var/spool/fax/etc/config.cua1)
# $Id: class1,v 1.23 1996/06/24 02:58:32 sam Rel $
#
#
# Generic Class 1 modem configuration.
#
# EDIT THIS CONFIGURATION TO REFLECT YOUR SETUP
#
CountryCode: 55
AreaCode: 51
FAXNumber: +55.51.3386595
LongDistancePrefix: 0
InternationalPrefix: 00
DialStringRules: etc/dialrules
ServerTracing: 1
SessionTracing: 11
RecvFileMode: 0600
LogFileMode: 0600
DeviceMode: 0600
RingsBeforeAnswer: 1
SpeakerVolume: off
GettyArgs: "-h %l dx_%s"
LocalIdentifier: "NothingSetup"
TagLineFont: etc/lutRS18.pcf
TagLineFormat: "From %%l|%c|Page %%p of %%t"
QualifyTSI: etc/tsi
MaxRecvPages: 25
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType: Class1 # use this to supply a hint
ModemRate: 9600
ModemFlowControl: xonxoff # XON/XOFF flow control assumed
#
ModemSetupDTRCmd: AT&D2 # setup so DTR drop resets modem
ModemSetupDCDCmd: AT&C1 # setup so DCD follows carrier
GettyArgs: "-h %l dx_%s" # modem must auto-detect fax/data
#
# We normally append the "@" symbol to the dial string so that
# the modem will wait 5 seconds before attempting to connect
# and return result codes that distinguish between no carrier
# and no answer. This makes it possible to avoid problems with
# repeatedly dialing a number that doesn't have a fax machine
# (kudos to Stuart Lynne for this trick.)
#
# NB: If you need to prefix phone numbers to get through a PBX,
# put it in the ModemDialCmd; e.g. "DT9%s@".
#
ModemDialCmd: ATDT%s@ # T for tone dialing, @ for silence
#
# Other possible configuration stuff. The default strings are
# shown below. Only those that are different from the defaults
# need to be included in the configuration file.
#
ModemResetCmds: "" # stuff to do when modem is reset
ModemAnswerCmd: ATA # use this to answer phone
ModemNoFlowCmd: AT&K # disable flow control cmd
ModemHardFlowCmd: AT&K3 # hardware flow control cmd
ModemSoftFlowCmd: AT&K4 # software flow control cmd
ModemNoAutoAnswerCmd: ATS0=0 # disable auto-answer
#
# Set modem speaker volume commands: OFF QUIET LOW MEDIUM HIGH.
# Note that we both turn the speaker on/off and set volume.
#
ModemSetVolumeCmd: "ATM0 ATL0M1 ATL1M1 ATL2M1 ATL3M1"
ModemEchoOffCmd: ATE0 # disable command echo
ModemVerboseResultsCmd: ATV1 # enable verbose command results
ModemResultCodesCmd: ATQ0 # enable result codes
ModemOnHookCmd: ATH0 # place phone on hook (hangup)
ModemSoftResetCmd: ATZ # do soft reset of modem
ModemWaitTimeCmd: ATS7=60 # wait 60 seconds for carrier
ModemCommaPauseTimeCmd: ATS8=2 # comma pause time is 2 seconds
ModemRecvFillOrder: LSB2MSB # bit order of received facsimile
ModemSendFillOrder: LSB2MSB # bit order modem expects for transmit
#
Class1Cmd: AT+FCLASS=1 # command to enter class 1
Class1TCFResponseDelay: 75 # 75ms delay between recv TCF & response
Class1SendPPMDelay: 75 # 75ms delay before sending PPM
Class1SendTCFDelay: 75 # 75ms delay between sending DCS & TCF
Class1TrainingRecovery: 1500 # 1.5sec delay after training failure
Class1RecvAbortOK: 200 # wait 200ms for abort response
Class1FrameOverhead: 4 # 4 byte overhead in recvd HDLC frames
Class1RecvIdentTimer: 40000 # 35+5secs waiting for ident frames
Class1TCFMaxNonZero: 10 # max 10% of data may be non-zero
Class1TCFMinRun: 1000 # min run is 2/3rds of TCF duration