![]() |
I've just installed HylaFAX 4.0pl2 for use as occasional fax out on Linux 2.0.30 (Slackware). Installed smooth, works very nicely. Modem is a super cheap ($25) CREATIVE Rockwell chip external that was handy when the USR Sportster 33.6 proved to be wholly inadequate. Faxing out (via sendfax) works fine, can be scheduled with cron with faxq and faxgetty running. Dial-in to the modem with regular getty or uugetty also works fine. Dial-in with faxgetty does NOT work. The modem answers and there is never any login prompt. Something times out after about a minute and drops carrier. I've looked for a sample getty.ttyC0, which is where I think the problem must be, but haven't seen one. If i eliminate the WAITFOR and CONNECT entries from getty.ttyC0, it hangs up immediately after connect. I have included the ModemWaitForConnect: Yes line in config.ttyC0 as suggested in other posts. The config.ttyC0, getty.ttyC0, dial-up remote screen, and the relevant bit of /var/log/messages is included below. I'd appreciate any help. ------------minicom dialup------------------- NO CARRIER atdt4439999 CONNECT 14400/ARQ NO CARRIER -------------from /var/log/messages---------- Jul 24 15:04:41 pilot FaxGetty[106]: HELLO Jul 24 15:12:11 pilot FaxGetty[106]: CLOSE /dev/ttyC0 Jul 24 15:12:11 pilot FaxGetty[231]: OPEN /dev/ttyC0 Jul 24 15:12:18 pilot FaxGetty[231]: MODEM ROCKWELL AC/VFC/V1.0R2-CS39 VFC Jul 24 15:13:56 pilot FaxGetty[231]: ANSWER: DATA CONNECTION Jul 24 15:13:56 pilot FaxGetty[231]: GETTY: START "/sbin/getty -h ttyC0 38400", pid 235 Jul 24 15:14:33 pilot FaxGetty[231]: GETTY: exit status 0 Jul 24 15:14:37 pilot FaxGetty[231]: /dev/ttyC0: Can not initialize modem. Jul 24 15:15:13 pilot FaxGetty[231]: MODEM ROCKWELL AC/VFC/V1.0R2-CS39 VFC --------------/etc/default/getty.ttyC0-------- CLEAR = NO HANGUP=NO #INIT="" ATZ\r OK #WAITFOR=RING #CONNECT="" ATA\r CONNECT \s\A WAITFOR=CONNECT CONNECT="" #INIT="" AT\sM0\sE1\sQ0\sV1\sX4\sS0=0\r OK\r\n --------------/var/spool/fax/etc/config.ttyC0 # $Id: rockwell,v 1.2 1996/06/24 02:58:40 sam Rel $ # # 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 Rockwell-based modem not otherwise handled by # another prototype configuration file. This file assumes the modem # is compatible with the Rc144AC, RC96AC or RC144DP. # # This configuration file sets up the modem to run at 38.4 with # RTS/CTS flow control used by default. XON/XOFF is automatically # enabled for fax recv. Beware of modems that also lock sending # to 19.2; add ModemSendBeginCmd: "<19200>" if this is required. # Also beware that the adaptive-answer facility, when supported, # is often unreliable. # # CountryCode: 1 AreaCode: 406 FAXNumber: +1.406.443.1875 LongDistancePrefix: 1 InternationalPrefix: 011 DialStringRules: etc/dialrules ServerTracing: 1 SessionTracing: 11 RecvFileMode: 0600 LogFileMode: 0600 DeviceMode: 0600 RingsBeforeAnswer: 1 SpeakerVolume: off ##GettyArgs: "-h %l dx_%s" ##GettyArgs: "-h %l %s vt100" GettyArgs: "-h %l %s" LocalIdentifier: "Heritage Propane" 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 class 2 interface ModemRate: 38400 ModemFlowControl: rtscts # default # #ModemResetCmds: AT&F2 # what you want for a Supra ModemNoFlowCmd: AT&K # disable flow control cmd ModemHardFlowCmd: AT&K3 # hardware flow control cmd ModemSoftFlowCmd: AT&K4 # software flow control cmd ModemSetupDTRCmd: AT&D3 # DTR off causes modem to reset #ModemSetupDTRCmd: AT&D2S25=1S38=0 # Dynalink 1414VE needs this ModemSetupDCDCmd: AT&C1 # DCD follows carrier ModemSetupAACmd: AT+FAA=1+FCLASS=0 # enable in current class # ModemSendFillOrder: LSB2MSB # as expected ModemRecvFillOrder: MSB2LSB # opposite of what makes sense # ModemAnswerFaxBeginCmd: "<19200><xon>" # modem switches on fax receive # ModemWaitForConnect: Yes # modem switches on fax receive # # 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 -------------end config.ttyC0------------------- -- Bob Worthy bworthy@worthy.com http://www.worthy.com/ 406 443 5219 v 406 442 6665 v