----- Original Message ----- 
From: "Lee Sanders" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 17, 2004 5:27 PM
Subject: [speedtouch] Re: Problem connecting a Speedtouch 530 via USB to
Debian Sarge


>
> btw I have this working now via the eth but I would still like to use this
> device on USB and free the eth on the gateway for other use.
>
> As an aside the line needed to auto load the pppoe module seems to be
> plugin rp-pppoe.so eth1
> or at least thats what pppoeconf put it as.

I think it will not work like that. You can't use eth1 as it is only for an
ethernet card (or a modem modeled like an ethernet device : eagle-usb
driver)
You have to choose kernel-mode driver (with speedtch ) or user-mode program
(with pppoa3)
before call the pppoe procedure :
- with the kernel driver, you need to use br2684ctl (and br2684 kernel
module) to set a bridge with a 'nas0' interface
in perl, I do
   my $itf='0';
   my $device = "nas$itf";
   if (open(FILE, ">${swroot}/red/device")) { print FILE $device; close
FILE; }
   $netsettings{'RED_DEV'} = $device;
   if (system ('/bin/ps -ef | /bin/grep -q [b]r2684ctl')) {
    system ('/sbin/modprobe br2684');
    system ('/usr/bin/br2684ctl', '-b', '-c', "$itf", '-e',
$pppsettings{'ENCAP'}, '-a',
"$itf.$pppsettings{'VPI'}.$pppsettings{'VCI'}");
    sleep 3;
   }
   system ('/sbin/ifconfig',"$device",'up');
- with the user-mode program, you need to use tun/tap to set a tap0
interface
in bash script, I do
   /sbin/insmod tun
   /usr/sbin/pppoa3 -b -c -m 1 -vpi $VPI -vci $VCI
>
> > Moreover, the speedtouch does an automatic detection of the proper
> > firmware to use with the "Rev=" field. We currently recognize "Rev=
> > 0.00", "Rev= 2.00" and "Rev= 4.00". So obviously, some work is needed to
> > make your modem work.
> As someone who hasn't played with the driver, can you give a little more
> detail on what "work" is needed here so I can look into it further.
>
You could try to play with -r option of modem_run. This will simulate
Rev=0.00 or Rev=2.00.
I suppose you can try with -r 2 but I am unsure of the result, display of
cat /proc/bus/usb/devices look somewhere different than with a Rev 2.00 (and
I don't know too much about usb interfaces)
I suppose that if 530 has exactly the same usb interface than a Rev 2.00, it
would have not be numbered with Rev 3.00


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

        

Reply via email to