HylaFAX The world's most advanced open source fax server

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

Re: Adaptive answer using PPP as getty under Linux



Sbragion Denis wrote:
    
    Hello,
    
    I'm trying to setup hylafax to do adaptive answer under Linux. Hylafax is
    configured to use the hardware modem adaptive answer features (modem is
    Rockwell based). With fax calls everything works well. With data calls
    everithing seems to work well to i.e. the modem and hylafax correctly
    detect the data call, hylafax starts pppd correctly connected to the tty
    device (pppd correctly reports /dev/cua0 as the tty device). Anyway ppp

There were various notes in the mailing-list about not using
/dev/cua* (I can't comment on these because I'm not unsing HylaFAX
on Linux); check the mailing-list archives vor it;

    seems to be unable to communicate with the modem i.e. even if it tries to
    send LCP echo requests they never reach the modem (leds on the modem don't
    flash). 
    
    PPPD reports :
    
    Dec 20 10:14:11 Server pppd[15792]: LCP: timeout sending Config-Requests
    Dec 20 10:14:11 Server pppd[15792]: Receive serial link is not 8-bit clean:
    Dec 20 10:14:11 Server pppd[15792]: Problem: nothing was received
    
    I think the "not 8-bit clean" message should be the problem but I don't
    know how to correct it.
    
    The hylafax log seems to be ok:
    
    Dec 20 10:13:22.27: [15791]: SESSION BEGIN 00000081 2324054
    Dec 20 10:13:22.27: [15791]: <-- [4:ATA\r]
    Dec 20 10:13:40.90: [15791]: --> [4:DATA]

Try also using ModemWaitForConnect: in the modem-config file
if the modem says also "CONNECT" after "DATA" -- you may
check this with a terminal program (like kermit or cu)
connected to the modem while a call comes in.

    Dec 20 10:13:40.90: [15791]: ANSWER: DATA CONNECTION
    Dec 20 10:13:40.90: [15791]: GETTY: START "/usr/sbin/pppd -detach debug
    modem crtscts proxyarp +chap 192.168.1.254:192.168.1.253", pid 15792
    ^^^^^^^^^^^^^

try removing these two parameters (pppd should just
use the line on stdin unchanged);

	matthias

    Dec 20 10:14:11.16: [15791]: GETTY: exit status 0
    Dec 20 10:14:11.16: [15791]: SESSION END
    
    Any hint ?
    
    TIA !
    
    	Sbragion Denis
    	InfoTecna
    	Tel, Fax: ++39 39 2324054
    	URL: http://space.tin.it/internet/dsbragio




Project hosted by iFAX Solutions