[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hylafax
Subject:    HyLaFAX configuration for V.34 Supra FAXmodem 288 (PC edition)
From:       "Ronald F. Guilmette" <rfg () segfault ! us ! com>
Date:       1995-07-28 4:44:47
[Download RAW message or body]


I've just bought a brand new Supra V.34 28.8 FAXmodem, PC version
(part # 50-V34E-PC) and I'm really rather impressed with it.  It
was a breeze to replace my old Telebit Worldblazer with this new
modem, and I've already been using it with the UNIX `cu' program
and also with PPP from my Sparc/Solaris-2.4 system.

(The only thing that wasn't immediately obvious about this modem,
and how to configure it, was that you need to use AT&F2 to get it
to act rationally... i.e. to use _some_ kind of error correction
whilst running at high speeds.  But when I had trouble with it,
after first plugging it in, I called Supra's tech support line
and I was bracing myself for the usual 5-level deep phone-keypad
menu walk, followed by the obligatory 20 minutes of MUZAK that is
typical of tech support lines in this industry... when, low and
behold, I was astonished to find that a real live humam being
actually answered the phone after the first ring!  And believe
it or not he was actually a tech support guy... not a ``pre-screener''!
And believe it or not, he actually _knew_ what he was talking about!
Even though I went blathering on about DTE-DCE speeds, he solved
my problem in under two minutes by just telling me to use AT&F2.
In case it ain't obvious, I'm VERY impressed with Supra's tech
support, and with my new modem generally, and would recommend this
brand to others.)

Anyway, on to hylafax...

I also had virtually no trouble getting my new Supra V.34 modem to
work with HyLaFAX.  (I'm including the configuration file that I
created below, just in case someone else might find it useful.)

Regaring the one small glitch I faced while configuring HyLaFAX...

This has nothing to do with the modem (as far as I can tell) but
for some inexplicable reason... perhaps that last Solaris patch I
added... the faxaddmodem command was hanging when I tried to
specify /dev/ttya as the line to the modem.  (I didn't experience
this problem back when I did the earlier faxaddmodem step for my
telebit.)  Anyway, on Solaris, if you are only _sending_ FAXes and
not receiving them through your modem (as in my case) then I think
that you really want to be using /dev/cua/a or /dev/cua/b (or some-
thing like that) as your line to the modem, as these devices names
are specifically intended as ``dial out'' devices.  (See the `zs' manpage
under Solaris for further info.)  The problem with using /dev/cua/a
or /dev/cua/b however is that the faxaddmodem script doesn't want to
have pathname delimiters (i.e. /'s) in the tail part of the /dev device
name that you give it because it uses this tail part to form a new
filename of the form config.foobar where the `foobar' is the tail
part of the /dev device name that you give it.  This problem was
easy to work around however.  I just did:

	cd /dev
	ln -s cua/a cua-a

and then used the name `cua-a' as the device name I gave to the
faxaddmodem script while setting up my new modem.  This worked just
fine, and it also caused the hangs I was getting while running the
faxaddmodem script (and giving it `ttya' as a /dev device name) to
go away.

Oh yea... and before I forget, let me say that the manual that comes
with the Supra V.34 modem (external, PC version) is generally OK,
but it doesn't include _any_ information about any of the FAX commands.
Thus, I was forced to accept quite a lot of defaults when running the
HyLaFAX faxaddmodem command.  Fortunately, Sam (or whoever) did a
wonderful job of getting all of these defaults in and setup correctly,
cuz all the ones I used seem to be working just fine.  In short,
getting HyLaFAX configured to use my new Supra Modem was a piece of
cake.  My kudos to everyone all around.

Ron Guilmette
RG Consulting
Roseville, California


cut here for config.cua-a file...
===========================================================================
# $Header: /usr/people/sam/fax/./config/RCS/class2,v 1.20 1995/04/08 21:25:03 sam Rel $
#
# HylaFAX Facsimile Software
#
# Copyright (c) 1990-1995 Sam Leffler
# Copyright (c) 1991-1995 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.
#

#
# Generic Class 2 modem configuration.
#
# EDIT THIS CONFIGURATION TO REFLECT YOUR SETUP
#
CountryCode:		1
AreaCode:		415
FAXNumber:		+1.415.965.7824
LongDistancePrefix:	1
InternationalPrefix:	011
DialStringRules:	etc/dialrules
ServerTracing:		1
SessionTracing:		15
RecvFileMode:		0600
LogFileMode:		0600
DeviceMode:		0600
RingsBeforeAnswer:	1
SpeakerVolume:		off
GettyArgs:		"-h %l dx_%s"
LocalIdentifier:	+14159657824
LogFacility:		local0
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:		Class2		# use this to supply a hint
ModemRate:		38400
ModemFlowControl:	rtscts
ModemSetupDTRCmd:	AT&D2		# setup so DTR drop resets modem
ModemSetupDCDCmd:	AT&C1		# setup so DCD reflects carrier (or not)
#
# 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:	ATE
ModemVerboseResultsCmd:	ATV1		# enable verbose command results
ModemResultCodesCmd:	ATQ
ModemOnHookCmd:		ATH
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
#
# Configuration parameters for Class 2 modems.
#
Class2Cmd:		AT+FCLASS=2	# command to enter class 2
Class2BORCmd:		AT+FBOR=0	# bit order for phase B/C/D (direct)
Class2RELCmd:		AT+FREL=1	# byte-align EOL codes on recv
Class2CQCmd:		""		# commands to enable copy quality proc.
Class2AbortCmd:		AT+FK		# abort session command
Class2CQQueryCmd:	AT+FCQ=?	# query for copy quality capabilities
Class2DCCQueryCmd:	AT+FDCC=?	# query for modem capabilities
Class2TBCCmd:		AT+FTBC=0	# setup stream mode
Class2CRCmd:		AT+FCR=1	# enable capability to receive
Class2PHCTOCmd:		AT+FPHCTO=30	# set phase C timeout parameter
Class2BUGCmd:		AT+FBUG=1	# enable HDLC frame tracing
Class2LIDCmd:		AT+FLID		# set local identifier command
Class2DCCCmd:		AT+FDCC		# set modem capabilities command
Class2DISCmd:		AT+FDIS		# set session parameters command
Class2DDISCmd:		""		# disable pre-dial DIS command hack
Class2CIGCmd:		AT+FCIG		# set polling identifier command
Class2PTSCmd:		AT+FPTS		# set post-page status command
Class2SPLCmd:		AT+FSPL		# set polling indicator command
#
# If Class2RecvDataTrigger is not set, then it is set to DC1
#
Class2RecvDataTrigger:	""		# character sent to modem to start recv
Class2XmitWaitForXON:	yes		# if true, wait for XON before send

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic