Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
Re: Sharing Fax and Data line
Hi,
Short question:
which device uses ppp to dial out?
If it uses /dev/modem or /dev/cua1 that is the problem.
It must use /dev/ttyS1 if it shall coexist with HylaFAX
cause otherwise device locking will fail, resulting in HylaFAX
reinitialising the modem and killing your ppp-process....
hope this helps
Christoph
"Carl B. Davis" schrieb:
>
> Greetings:
>
> I have recently installed hylafax 4.1beta1-1 rpm on my RedHat 6.0
> system.
>
> I setup faxgetty to run on ttyS1 to which my modem is attached. I can
> fax from the linux command line and I will receive it on my fax.
> However, when I try to use the modem for data, it resets itself, but is,
> apparently, superseded by the fax program. I have pp. set up for demand
> dialing connection to my internet provider. I thought that faxgetty
> would supervise my modem and allow outgoing data connections, or faxes.
>
> >From the logs and configurations, is appears that the dialup sequence
> tells the modem to reset, which it does, but then it gets interrupted by
> a reply through faxgetty that identifies the modem, which is not the
> answer the script is looking for. I am attaching selected portions of
> my /var/log/messages file, the config.ttyS1 file and the chat file for
> connecting to my ISP.
>
> I have searched in the archives and manual for what is causing my
> problem, but I can't put my finger on it. What do I need to change to
> allow the data and fax lines to share the modem? Is that what the
> discussion about using mgetty with faxgetty is all about? Thanks for
> your help.
>
> Carl
>
> Attached are some of the messages I get from /var/log/messages when I
> try to bring up the ppp connection to my ISP. :
>
> Dec 23 08:56:10 bigserver pppd[646]: Starting link
> Dec 23 08:56:11 bigserver chat[4186]: abort on (BUSY)
> Dec 23 08:56:11 bigserver chat[4186]: abort on (NO CARRIER)
> Dec 23 08:56:11 bigserver chat[4186]: abort on (VOICE)
> Dec 23 08:56:11 bigserver chat[4186]: abort on (NO DIALTONE)
> Dec 23 08:56:11 bigserver chat[4186]: abort on (NO DIAL TONE)
> Dec 23 08:56:11 bigserver chat[4186]: abort on (NO ANSWER)
> Dec 23 08:56:11 bigserver chat[4186]: send (ATZ^M)
> Dec 23 08:56:11 bigserver chat[4186]: expect (OK)
> Dec 23 08:56:20 bigserver FaxGetty[4131]: MODEM ROCKWELL
> AC/K56/V2.083-K56_2M_DLS
> Dec 23 08:56:41 bigserver FaxGetty[4188]: Unknown speaker volume "on";
> using "quiet"
> Dec 23 08:56:41 bigserver FaxGetty[4189]: OPEN /dev/ttyS1
> Dec 23 08:56:42 bigserver FaxGetty[4131]: ANSWER: Can not lock modem
> device
> Dec 23 08:56:42 bigserver chat[4186]: A^M
> Dec 23 08:56:42 bigserver chat[4186]: OK
> Dec 23 08:56:42 bigserver chat[4186]: -- got it
> Dec 23 08:56:42 bigserver chat[4186]: send (AT&F&C1&D3%C3^M)
> Dec 23 08:56:42 bigserver chat[4186]: send (ATDT,9,265-4638^M)
> Dec 23 08:56:42 bigserver chat[4186]: expect (CONNECT)
> Dec 23 08:56:42 bigserver chat[4186]: ^M
> Dec 23 08:56:42 bigserver chat[4186]: AT&F&C1&D3%C3^M^M
> Dec 23 08:56:42 bigserver chat[4186]: OK^M
> Dec 23 08:56:45 bigserver chat[4186]: ATDT,9,265-4638^M^M
> Dec 23 08:56:45 bigserver chat[4186]: OK^M
> Dec 23 08:56:49 bigserver chat[4186]: ^M
> Dec 23 08:56:49 bigserver chat[4186]: OK^M
> Dec 23 08:56:52 bigserver chat[4186]: ATE0V1Q0S0=0H0^M^M
> Dec 23 08:56:52 bigserver chat[4186]: OK^M
> Dec 23 08:56:57 bigserver FaxGetty[4189]: /dev/ttyS1: Can not initialize
> modem.
> Dec 23 08:57:14 bigserver FaxGetty[4131]: MODEM ROCKWELL
> AC/K56/V2.083-K56_2M_DLS
> Dec 23 08:57:27 bigserver FaxGetty[4131]: ANSWER: Can not lock modem
> device
> Dec 23 08:57:27 bigserver chat[4186]: ^M^M
> Dec 23 08:57:27 bigserver chat[4186]: OK^M
> Dec 23 08:57:27 bigserver chat[4186]: alarm
> Dec 23 08:57:27 bigserver chat[4186]: Failed
> Dec 23 08:57:27 bigserver pppd[646]: Connect script failed
>
> HERE IS THE CHAT FILE:
>
> ABORT BUSY
> ABORT "NO CARRIER"
> ABORT VOICE
> ABORT "NO DIALTONE"
> ABORT "NO DIAL TONE"
> ABORT "NO ANSWER"
> "" ATZ
> # OK AT&F&C1&D3%C3%G0\J0-M0\N6\Q2\V2S7=60
> OK AT&F&C1&D3%C3
> "" ATDT,9,261-4338
> CONNECT "\c"
> ^M
>
> HERE IS THE config.ttyS1 file:
> CountryCode: 1
> AreaCode: 312
> FAXNumber: 1.312.995.2829
> LongDistancePrefix: 1
> InternationalPrefix: 011
> DialStringRules: etc/dialrules
> ServerTracing: 1
> SessionTracing: 11
> RecvFileMode: 0600
> LogFileMode: 0600
> DeviceMode: 0600
> RingsBeforeAnswer: 0
> SpeakerVolume: on
> GettyArgs: "-h %l dx_%s"
> LocalIdentifier: "FaxData Line"
> 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 # use class 2 interface
> ModemRate: 38400
> ModemFlowControl: rtscts # default
> #
> #ModemResetCmds: AT&F2 # what you want for a
> Supra
> #ModemResetCmds: ATZ # ADDED BY CD
> 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
> #
> # 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