----- Original Message ----- 
From: "Duncan Sands" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, March 10, 2005 10:47 AM
Subject: [speedtouch] Re: Automating loading of pppoatm module -
Kernel2.6.11


>
> > > I thought pppd did the modprobe itself... which version of pppd are
you
> > > using?
> >
> > No it doesn't - it loads the shared library from /usr/lib/pppd/2.4.2 of
course.
>
> Mine has this in pppoatm.c:
>
> static int connect_pppoatm(void)
> {
>         int fd;
>         struct atm_qos qos;
>
>         system ("/sbin/modprobe pppoatm");
>
> So let me ask again: which pppd?
>
> D.
>
There is too a patch floating around (I don't remember where I find it) with
diff -ruN ppp.orig/pppd/plugins/pppoatm.c ppp/pppd/plugins/pppoatm.c
--- ppp.orig/pppd/plugins/pppoatm.c 2003-10-17 22:03:40.000000000 +0200
+++ ppp/pppd/plugins/pppoatm.c 2003-10-17 22:03:27.000000000 +0200
@@ -148,7 +148,9 @@
  int fd;
  struct atm_qos qos;

+/*
  system ("/sbin/modprobe pppoatm");
+*/

  if (!device_got_set)
   no_device_given_pppoatm();

I don't know what is the interest of this patch

Gilles


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

        

Reply via email to