Hi Allen,

Allen Harvie wrote:
> 
> Hi All,
> 
> I have installed diald-0.99.1-2 onto a RedHat 6.1 computer with an
> existing working ppp setup.
> 
> PPP dials and connects fine but is diald is closing the connection
> once it is estabished. It believes it to have time out.
> 
> Please what have I missed ?
> /etc/diald.conf
>               mode ppp
>               connect /etc/ppp/ppp-on

Your ppp-on is running pppd itself.  Diald expects the connect script to
just establish the connection and exit, and then diald will run pppd. 
Your ppp-on never exits, and after 60 seconds diald kills it. (default
setting of connect-timeout)


>              device /dev/ttyS0
>              speed 115200
>              modem
>              lock
>              crtscts
>              noauth

This should be "pppd-options noauth asyncmap 20A0000 escape FF debug"

>              local 192.168.2.2
>              remote 192.168.2.1
>              defaultroute
> 
> dynamic
> start-ppd-timeout 90

This should be start-pppd-timeout :-)  It probably doesn't need to be
that long though...

You might have to add "fifo /etc/diald/diald.ctl" in diald.conf to avoid
a bug that will cause chat to fail and log "chat - Can't get terminal
attributes - Invalid argument" or something similar.

> (modified) contents of etc/ppp/ppp-on,
> exec /usr/sbin/pppd debug asyncmap 20A0000 escape FF kdebug
> 0 $LOCAL_IP:$REMOTE_IP noipdefault netmask $NETMASK
> connect $DIALER_SCRIPT
> 

Just use your $DIALER_SCRIPT as a connect script in diald.conf

> 
> Allen Harvie
> Systems Engineer
> Dawn Technologies P/L
> Phone: 61 3 9690 5611
> Fax:   61 3 9690 5633
> 

Regards, Mark.

-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to