> At this point  if i launch "ppp call adsl updetach" the connection cannot be 
> completed with this error:
> 
> #Plugin pppoatm.so loaded.
> #connect(8.35): Address already in use
> 
> The ppp0 interface is still active. It didn't recognize the modem 
> disconnection.
> 
> So, now i kill the pppd daemon.
> 
> The error now is:
> 
> #Plugin pppoatm.so loaded.
> #connect(8.35): No such device
> 
> This is the thing i can't figure out.
> 
> The only way i found to reestabilish the connection is the reboot of the 
> computer.

Hi Vouno, try applying the following patch to pppd's pppoatm.c:

--- pppoatm.c   6 Nov 2004 11:36:54 -0000       1.1
+++ pppoatm.c   13 Nov 2005 15:48:03 -0000
@@ -75,7 +75,7 @@ static int setdevname_pppoatm(const char
        //info("PPPoATM setdevname_pppoatm: '%s'", cp);
        memset(&addr, 0, sizeof addr);
        if (text2atm(cp, (struct sockaddr *) &addr, sizeof(addr),
-           T2A_PVC | T2A_NAME) < 0) {
+           T2A_PVC | T2A_NAME | T2A_WILDCARD) < 0) {
                if(doit)
                    info("atm does not recognize: %s", cp);
                return 0;

Then, in your pppd options file, change the VPI.VCI you use
to *.VPI.VCI, for example if you used 8.35 before, now put
*.8.35

If you have a recent kernel, this will hopefully fix your
problem.  If you have an older kernel then either it will
work or it will crash your kernel...  so be prepared for
bad things.

Ciao,

Duncan.

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

        

Reply via email to