My problem is that there are disconnections very often..i think the driver
stops communicating with the modem. I tried to put debug=1 in pppoa.c but
verbose level didn't go up.

How can i increase verbosity of the driver ?

-----------------

To handle deconnections i found a "trick" in ppp options i put

lcp-echo-interval 5
lcp-echo-failure 3

So when pppd can not communicate with peer, it terminates (at first i
thought that was what caused disconnections to me, but in fact it's the
modem/driver)

And in ip-down script, which is called when pppd dies i added

killall pppoa2
pppd call adsl

And of course i removed persist in ppp options.

That should handle all disconnections.

----- Original Message -----
From: "Benoit PAPILLAULT" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 20, 2001 2:30 AM
Subject: [speedtouch] Re: timeout


>
> Connection & disconnection are not correctly handled. Maybe someone should
> investigate this subject.
>
> Here are the info I have:
>  - pppoa2 forks : the father process is used for reading from the pppd and
> writing to USB and the child does the opposite (or vice-versa)
>  - if the connection is terminated by LCP (LCP-Terminate message), the
> driver detects nothing so does nothing. So you can't reconnect.
>  - if the connection is terminated by the ADSL (unplugging phone line),
> nothing is detected either, so no reconnection takes places
>  - if you kill pppd manualy, the process reading from pppd will detect
> that its terminal has been closed and exit. However, the other pppoa2
> reading from USB is blocked in reading from USB and keeps running.
>
> That's all I can say. I someone knows the proper way to handle all those
> cases, tell us.
>
> Benoit
>
> On Thu, 19 Apr 2001, CentaureZ wrote:
>
> > Hi Benoit,
> >
> > when i'm disconnected (cf other messages)
> >
> > i got that
> >
> > Apr 19 22:08:20 gateway pppd[3020]: Script /usr/local/bin/pppoa2 -vpi
8 -vci
> > 35 finished (pid 3024), status = 0x0
> >
> > So i think the driver "timeouts" how can i change timeout delay in the
.c ?
> >
> >
> >
> >
> >
____________________________________________________________________________
__
> > ifrance.com, l'email gratuit le plus complet de l'Internet !
> > vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
> > http://www.ifrance.com/_reloc/email.emailif
> >
> >
> >
> > Liste de diffusion modem ALCATEL SpeedTouch USB
> > Pour se désinscrire :
mailto:[EMAIL PROTECTED]?subject=unsubscribe
> >
> >
> >
>
>
> Liste de diffusion modem ALCATEL SpeedTouch USB
> Pour se désinscrire :
mailto:[EMAIL PROTECTED]?subject=unsubscribe
>
>

 
______________________________________________________________________________
ifrance.com, l'email gratuit le plus complet de l'Internet !
vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
http://www.ifrance.com/_reloc/email.emailif



Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]?subject=unsubscribe

        

Reply via email to