Subject: Re: HylaFAX (working dialin/out configs for i386)
To: None <randy@zyzzyva.com>
From: John Kohl <jtk@kolvir.blrc.ma.us>
List: current-users
Date: 03/12/1995 14:11:06
>>>>> "Randy" == Randy Terbush <randy@zyzzyva.com> writes:
Randy> Could someone on the list who is using hylafax with dialin/dialout
Randy> configuration give some clues as to how you are starting faxq, faxgetty,
Randy> etc.? This shared port stuff was working fine with flexfax. When
Randy> will I every learn?....
OK, here's what I use (with hylafax 3.0 beta 096, on a NetBSD/i386
-current system). I have a SupraFAXModem v.32bis. [note: There have
been reports recently about patches/diddling required for dev_t and/or
mode_t in faxgetty for non-i386 ports. I haven't had problems myself on
my i386 box.]
/etc/rc.local:
echo -n 'starting local daemons:'
echo -n ' fax queue manager'; /usr/local/libexec/faxq
/etc/ttys:
tty04 "/usr/local/libexec/faxgetty -d" unknown on secure rtscts
/var/spool/fax/etc/config :
# $Header: /usr/people/sam/fax/config/RCS/rockwell-xon,v 1.22 1994/10/07 17:00:47 sam Exp $
#
ServerTracing: 0x201
SessionTracing: 0x203
TimeOfDay: 0700-2300
DestControls: etc/destcontrols.kolvir
MaxSendPages: 25
LogFacility: local1
MaxDials: 10
#### Z@#$RJ@!O#$%I@O#J$O@#$!#$!
CountryCode: 1
AreaCode: 617
LongDistancePrefix: 1
InternationalPrefix: 011
### XXX XXX !!!
DialStringRules: etc/dialrules.tty04
Use2D: no
/var/spool/fax/etc/config.tty04 :
# $Header: /usr/people/sam/fax/config/RCS/rockwell-xon,v 1.22 1994/10/07 17:00:47 sam Exp $
#
# Configuration for a Rockwell-based Class 2 modem.
# Boca M1440E firmware V1.270 or newer
# Dallas Fax (throw it away!)
# Hayes Optima 24+Fax96 firmware TR00-J260-001 XXX or newer
# SupraFAX v.32bis firmware V1.200-C or newer
# Twincom 144/DF firmware revision V1.200 or newer
# (and others)
#
# This configuration file sets up the modem to run at 19.2 for
# sending and for receiving. XON/XOFF flow control is used on
# the tty port. RTS/CTS can be used by switching the flow control
# setup, but beware of modems that do not support it during
# facsimile operations. Also beware that the adaptive-answer
# facility, when supported, is usually unreliable.
#
#
CountryCode: 1
AreaCode: 617
FAXNumber: +1.617.643.xxxx
LongDistancePrefix: 1
InternationalPrefix: 011
DialStringRules: etc/dialrules.tty04
## removed 0x200 flags
ServerTracing: 0x201
SessionTracing: 0x203
RecvFileMode: 0644
LogFileMode: 0600
DeviceMode: 0600
RingsBeforeAnswer: 1
SpeakerVolume: low
GettyArgs: "dialup.%s -"
LocalIdentifier: Kohl+1.617.643.xxxx
ContCoverPage: etc/cover.kolvir
TagLineFont: etc/lutRS18.pcf
TagLineFormat: "From %%l|%c|Page %%p of %%t"
#QualifyTSI: etc/tsi
TimeOfDay: 0700-2300
DestControls: etc/destcontrols.kolvir
MaxRecvPages: 25
MaxSendPages: 25
MaxBadCalls: 5
JobReqNoCarrier: 600
JobReqNoAnswer: 600
LogFacility: local1
ClocalAsRoot: no
MaxDials: 10
NoCarrierRetrys: 1
#
Use2D: no
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType: Class2 # use class 2 interface
ModemRate: 19200 # fax send&recv is locked at 19.2
#ModemResetCmds: AT&F2 # what you want for a Supra
ModemFlowControl: xonxoff
ModemFlowControlCmd: AT&K4 # software flow control
ModemSetupDTRCmd: AT&D3 # DTR off causes modem to reset
ModemSetupDCDCmd: AT&C1 # DCD follows carrier
ModemSetupAACmd: AT+FAA=1 # enable in current class
#
ModemSendFillOrder: LSB2MSB # as expected
ModemRecvFillOrder: MSB2LSB # opposite of what makes sense
#
ModemDialCmd: AT+FCLASS=2;DT%s@
#
# Caller ID configuration setup for Supra.
#
#QualifyCID: etc/cid # CID access control list file
#CIDNumber: "NMBR = " # pattern string for phone number info
#CIDName: "NAME = " # pattern string for identity info
###
### local stuff:
AnswerRotary: "fax data"
AnswerBias: 1
ModemAnswerDataCmd: "<57600><rts>AT+FCLASS=0;+FAA=1;&K3NS37=0A"
ModemAnswerFaxCmd: "<19200><xon>AT+FCLASS=2;+FAA=0;A"
UUCPLockTimeout: 10000