HylaFAX The world's most advanced open source fax server

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

Re: Problems setting up USRobotics SportserFlash Modem



-----BEGIN PGP SIGNED MESSAGE-----


Then, Dr. Vigna, I don't know. I'm working on a Linux setup myself
with a USR Sportster 33.6 modem, and have had some other
difficulties. I'll be bringing home a 56 K modem soon and trying that
to see if the problem is in fact USR and not the software.

Someone posted this recently for their USR sportster modem: I include
it in case it helps.

   From owner-flexfax-outbound@celestial.com Tue May 27 12:39:34 1997
   Date: Tue, 27 May 1997 08:22:41 -0700
   From: "Adrian J. Blakey" <ajb@alameda.net>
   To: flexfax@sgi.com
   Subject: USR intermittently accepts dial-in?

   I am successfully running Hylafax on Linux 2.0.30. I can Xmit faxes. I
   have mfaxgetty and getty configured to accept dial-ups. When I get an
   incoming call my modem answers and I get the login prompt. However, if I
   drop the connection and try a subsequent dial-in the modem does not
   answer and the line sounds dead. (not dial-tone, no ringing tone). After
   a subsequent transmittal the modem will again accept connections. I
   presume that something is not resetting the modem correctly. 

   Could someone suggest what I could so to get some repeatable dial-in
   success?


   I have a USR 28.8 Sportster. The config file looks like this:


   CountryCode:            1
   AreaCode:               510
   FAXNumber:              +1.510.xxx.xxxx
   LongDistancePrefix:     1
   InternationalPrefix:    011
   DialStringRules:        "etc/dialrules"
   ServerTracing:          1
   SessionTracing:         11
   RecvFileMode:           0600
   LogFileMode:            0600
   DeviceMode:             0600
   RingsBeforeAnswer:      1
   SpeakerVolume:          on
   GettyArgs:              "-h %l dx_%s"
   LocalIdentifier:        xxxx
   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.0        # use class 2.0 interface
   ModemRate:              38400           # DCE-DTE communication rate
   ModemFlowControl:       rtscts          # XON/XOFF flow control assumed
   #
   ModemNoFlowCmd:         AT&H0&I0&R1     # setup modem for no flow
   control
   ModemHardFlowCmd:       AT&H1&I0&R2     # setup modem for hardware flow
   control
   ModemSoftFlowCmd:       AT&H2&I2&R1     # setup modem for software flow
   control
   #
   ModemSetupDTRCmd:       ATS13=1&D2      # setup so DTR drop resets modem
   ModemSetupDCDCmd:       AT&C1           # setup so DCD reflects carrier
   (or not)
   ModemResultCodesCmd:    ATQ0X4          # enable extended result codes
   #
   # NB: adaptive answer only seems to work properly when
   #     the modem is left idling in Class 2.0
   #
   ModemSetupAACmd:        AT+FAA=1
   #
   # Set modem speaker volume commands: OFF QUIET LOW MEDIUM HIGH.
   # Note that we both turn the speaker on/off and set volume.
   #
   ModemSetVolumeCmd:      "ATM0 ATM1 ATM1 ATM1 ATM1"
   #
   # Modem does not support HDLC frame tracing; we add this just
   # to eliminate spurious ERROR results that confuse the naive.
   #
   Class2BUGCmd:           AT+FBU=0
   #
   # The modem doesn't support copy quality checking, even though it
   # returns (0-2,0-2) for AT+FCQ=?; therefore we override the query
   # response so that the server will do copy quality checking.
   #
   Class2CQQueryCmd:       !(0),(0)        # override modem response

   Gettydefs looks like:

   # default/virtual console entry:
   #
   vc# B9600 SANE # B9600 SANE -ISTRIP CLOCAL #@S login: #vc

   #  38400 fixed speed with hardware flow control
   #
   dx_38400# B38400 CS8 CRTSCTS # B38400 SANE -ISTRIP HUPCL CRTSCTS #@S @L
   @B login: #dx_38400

   #  19200 fixed speed with hardware flow control
   #
   dx_19200# B19200 CS8 CRTSCTS # B19200 SANE -ISTRIP HUPCL CRTSCTS #@S @L
   @B login: #dx_19200

   #  9600 fixed speed with hardware flow control
   #
   dx_9600# B9600 CS8 CRTSCTS # B9600 SANE -ISTRIP HUPCL CRTSCTS #@S @L @B
   login: #dx_9600

   /etc/default/getty.ttyS0

   DEBUG=010
   CLEAR=NO
   HANGUP=NO
   INIT="" ATZS13=1\r OK
   WAITFOR=RING
   CONNECT="" ATA\r CONNECT \s\A

   and the line in /etc/inittab

   d1:2345:respawn:/usr/local/sbin/faxgetty ttyS0

   Set serial, sets the UART to spd_vhi

   This looks like a successful log session:

   May 25 22:10:08.46: [ 3062]: SESSION BEGIN 00000121 15104314342
   May 25 22:10:08.52: [ 3062]: <-- [4:ATA\r]
   May 25 22:10:23.65: [ 3062]: --> [4:+FDM]
   May 25 22:10:23.72: [ 3062]: ANSWER: DATA CONNECTION
   May 25 22:10:23.73: [ 3062]: GETTY: START "/sbin/getty -h ttyS0
   dx_38400", pid 3658
   May 25 22:10:26.52: [ 3062]: GETTY: exit status 0400
   May 25 22:10:26.52: [ 3062]: SESSION END


   -- 
   Adrian Blakey
   blakey@objfocus.com




-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface

iQCUAwUBM5Wa1T/+ItycgIJRAQEcNQP4kFcy3MdjI27dQEU9n+aRRQIfqwiSRT7S
yERdPgBONYY3ymcsiPjuHAS4DUf3wF8tRbwCkPJB2wHgGV/AQdGd1z657c0ExIER
PAMzrNVHFGnEcCW+fRJ+IlRWsgU2UP+KSsZKp0LYnpeep0aAfcfzpN+VK5GwUyG4
ZRhl694CCA==
=sEWW
-----END PGP SIGNATURE-----




Project hosted by iFAX Solutions