> From the short time perspective I want to use the driver which works for 2.6.7, 
> regardless where it resides. From the long term perspective I guess an existing fix 
> or workaround of kernel-mode driver is important, there may be many users trying to 
> do same things... 
> 
> *If* this is *the* cause of failing iface claims, of course -- but this is what I 
> really do not know at this moment.

Hi Pavel, the user-mode (UM) and kernel-mode (KM) drivers both work
fine with 2.6 kernels.  As far as I can see your problem is that you are
trying to use them both at the same time!  pppoa3 is part of the UM driver.
The -k switch is for the KM driver.  The modem_run program is used by
both drivers.

If you want to use the user-mode driver, try adding the following line to
/etc/hotplug/blacklist:

speedtch

(I never tried this myself, but it should work.  Otherwise you can delete
the file /lib/modules/`uname -r`/kernel/drivers/usb/misc/speedtch.ko)

If you want to use the kernel mode driver, then you need a pppd with
pppoatm support (most distributions supply one).  You need to set some
pppd options: create a file /etc/ppp/peers/speedtch containing:

# To connect to using this configuration file, do
#       pppd call speedtch
lcp-echo-interval 10
lcp-echo-failure 3
noipdefault
defaultroute
user "username"
noauth
noaccomp
nopcomp
noccp
novj
holdoff 4
persist
maxfail 25
updetach
usepeerdns
plugin pppoatm.so
0.00

You'll need to replace username with your ADSL username.
You'll also need to add a line like this to /etc/ppp/pap-secrets
and to /etc/ppp/chap-secrets:
username        *       password

where username is the same ADSL username you used above,
and password is the password your ISP gave you.

Finally, you can launch the connection automatically by creating
a file called /etc/hotplug/usb/speedtch containing

#!/bin/bash

case $ACTION in

add)
        echo "uploading firmware"
        if /usr/sbin/modem_run -k -f /usr/lib/speedtouch/firmware.bin ; then
                sleep 10
                echo "starting pppd"
                if ! /usr/sbin/pppd call speedtch ; then
                        echo "failed to start pppd!"
                fi
        else
                echo "firmware upload failed!"
        fi
        ;;

esac

This assume that modem_run lives in /usr/sbin, and that the firmware
is in /usr/lib/speedtouch.  You'll probably want to change this line if you
have a recent "two firmware files" modem_run.  You can always start
the connection by hand by running modem_run, and then doing
pppd call speedtch when you want to bring the connection up.

I hope this helps,

Duncan.

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

        

Reply via email to