HylaFAX The world's most advanced open source fax server

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

Re: modem: Texas Instruments-Chipset



Dmitry Bely wrote:
> 
> Ekkard Gerlach <SPS_Gerlach@online.de> writes:
> 
> 
> >    -faxgetty recognises always FAX CONNECTION
> >     although it is a data call.
> 
> Do you have
> ModemSetupAACmd: AT+FAA=1
> in your config.<device>? Have you read "Adaptive answer support" chapter in
> the docs?
> 

Thank you very much. I have read the setup documentation 
file:///usr/doc/packages/hylafax/html/setup.php   half a
year ago but I didnīt read the chapter "Data Service":

: By default HylaFAX does not enable support for inbound data calls.
:
: To enable inbound data service the modem configuration file must be
setup to 
: accept data calls and to invoke the normal system getty program to
process 
: the incoming call.
...

After 2 hours I found the master 
file:///usr/doc/packages/hylafax/html/toc.php
where all sub-documents are accessible. Wonderful!
I discovered a chapter "Adaptive Answer Support"
once again !
Half a year ago I found setup.php only ! Is the docu
hidden on purpose ???  (hylafax-v4.0pl2-52)

I inserted  
     "ModemSetupAACmd:        AT+FAA=1"
into my config file and my modem recognises a data
call! Wonderful !

Feb 14 21:29:33 rex FaxGetty[5579]: MODEM input buffering enabled
Feb 14 21:29:44 rex FaxGetty[5579]: ANSWER: DATA CONNECTION
Feb 14 21:29:44 rex FaxGetty[5579]: GETTY: START "/usr/sbin/mgetty 
                            -r -b -s 19200 ttyS1", pid 5602 




******************************************************
Perhaps you or somebody else can tell me why no ppp-
connection is enabled with my ppp-up skripts: 

The skript of the caller: 
ppp-options: 
   /dev/ttyS1
   19200
   modem
   crtscts
   lock
   debug
   192.168.0.21:192.168.0.22

ppp-chat:
   TIMEOUT 30
   ABORT "NO CARRIER"
   ABORT BUSY
   ABORT "NO DIALTONE"
   ABORT ERROR
   "" +++ATZ
   OK ATM1L1
   OK ATX1DT1111
   CONNECT ""
   ogin:--ogin: gerlach
   word: secret

/var/log/messages of the caller:

Feb 13 03:26:09 berti pppd[472]: pppd 2.3.5 started by gerlach, uid 0
Feb 13 03:26:35 berti pppd[472]: Serial connection established.
Feb 13 03:26:36 berti pppd[472]: Using interface ppp0
Feb 13 03:26:36 berti pppd[472]: Connect: ppp0 <--> /dev/ttyS1
Feb 13 03:26:36 berti pppd[472]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic
0xd7b8ef45> <pcomp> <accomp>]
Feb 13 03:26:36 berti pppd[472]: rcvd [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic
0xd7b8ef45> <pcomp> <accomp>]
Feb 13 03:26:36 berti pppd[472]: sent [LCP ConfNak id=0x1 <magic
0x8ec30a8c>]  
Feb 13 03:26:39 berti pppd[472]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic
0xd7b8ef45> <pcomp> <accomp>]
Feb 13 03:26:39 berti pppd[472]: rcvd [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic
0xd7b8ef45> <pcomp> <accomp>]

...
magic-YX discussion for ten times ! 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...

Feb 13 03:27:48 berti pppd[472]: sent [LCP ConfNak id=0xa <magic
0xbc5b170c>]  
Feb 13 03:27:51 berti pppd[472]: sent [LCP ConfReq id=0xa <asyncmap 0x0>
<magic
0x5c422016> <pcomp> <accomp>]
Feb 13 03:27:51 berti pppd[472]: rcvd [LCP ConfReq id=0xa <asyncmap 0x0>
<magic
0x5c422016> <pcomp> <accomp>]
Feb 13 03:27:51 berti pppd[472]: sent [LCP ConfNak id=0xa <magic
0xa5fc16f2>]
Feb 13 03:27:51 berti pppd[472]: rcvd [LCP ConfNak id=0xa <magic
0xa5fc16f2>]  
Feb 13 03:27:51 berti pppd[472]: Serial line is looped back.
Feb 13 03:27:51 berti pppd[472]: sent [LCP TermReq id=0xb "Loopback
detected"] 
Feb 13 03:27:54 berti pppd[472]: sent [LCP TermReq id=0xc "Loopback
detected"]
Feb 13 03:27:54 berti pppd[472]: rcvd [LCP TermReq id=0xc "Loopback
detected"] 
Feb 13 03:27:54 berti pppd[472]: sent [LCP TermAck id=0xc]
Feb 13 03:27:57 berti pppd[472]: Connection terminated.
Feb 13 03:27:58 berti pppd[472]: Exit.


Der receiver rests cool (please donīt consider the timestamp):
^^^^^^^^^^^^^^^^^^^^^^^^

Feb 13 15:40:02 rex FaxGetty[2042]: GETTY: START "/usr/sbin/mgetty -r -b
-s 19200
 ttyS1", pid 2278
Feb 13 15:40:51 rex FaxGetty[2042]: GETTY: exit status 01


What could be my fault ?


thx
Ekkard




Project hosted by iFAX Solutions