Benoît Papillault, Last update: 2001-12-22
Warning
This page is outdated and is kept only for historical reasons, you can
find the latest speedtouch driver on sourceforge, at the
following address:
http://speedtouch.sourceforge.net/.
There are two drivers for Speedtouch USB/330 modem under Linux:
Driver installation for the Alcatel SpeedTouch USB modem
This page describes the installation of a driver developed with the
goal of being able to use the modem without recompiling the linux
kernel.
If you were searching for a tutorial concerning installation of
the Alcatel drivers, I direct you to Johan
Verrept's tutorial.
Download
The driver is currently available in source form only:
Requirements
You should always prefer latest linux kernel, since USB support is
getting more & more stable. At present time, this is kernel 2.4.5. All
the following options are normally present in pre-compiled kernel. So
don't worry with this long list of options.
- USB support
Make sure your kernel has been compiled with the following
options:
Support for USB (CONFIG_USB) [M]
Preliminary USB device filesystem (CONFIG_USB_DEVICEFS) [Y]
UHCI (Intel PIIX4, VIA, ...) support (CONFIG_USB_UHCI) [M]
UHCI Alternate Driver (JE) support (CONFIG_USB_UHCI_ALT) [M]
OHCI (Compaq, iMacs, OPTi, SiS, ALi, ...) support (CONFIG_USB_OHCI) [M]
To check it, mount should give you something similar to:
none on /proc/bus/usb type usbdevfs (rw)
Otherwise, just type:
mount -t usbdevfs none /proc/bus/usb
Next, to check that your modem is "seen" by the system, type the command:
cat /proc/bus/usb/devices
This should gives you something similar to:
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=e800
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=e400
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 4 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=ff(vend.) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=06b9 ProdID=4061 Rev= 0.00
S: Manufacturer=ALCATEL
S: Product=Speed Touch USB
S: SerialNumber=0090D013AAB8
C:* #Ifs= 3 Cfg#= 1 Atr=80 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=usbdevfs
E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl= 50ms
I: If#= 1 Alt= 0 #EPs= 0 Cls=ff(vend.) Sub=00 Prot=00 Driver=usbdevfs
I: If#= 1 Alt= 1 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=usbdevfs
E: Ad=06(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
E: Ad=07(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
E: Ad=87(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
I: If#= 1 Alt= 2 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=usbdevfs
E: Ad=06(O) Atr=02(Bulk) MxPS= 32 Ivl= 0ms
E: Ad=07(O) Atr=02(Bulk) MxPS= 32 Ivl= 0ms
E: Ad=87(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
I: If#= 1 Alt= 3 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=usbdevfs
E: Ad=06(O) Atr=02(Bulk) MxPS= 16 Ivl= 0ms
E: Ad=07(O) Atr=02(Bulk) MxPS= 16 Ivl= 0ms
E: Ad=87(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
I: If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
E: Ad=05(O) Atr=02(Bulk) MxPS= 8 Ivl= 0ms
E: Ad=85(I) Atr=02(Bulk) MxPS= 8 Ivl= 0ms
- PPP support
Make sure your kernel has been compiled with the following options:
PPP (point-to-point protocol) support (CONFIG_PPP) [M]
PPP support for sync tty ports (CONFIG_PPP_SYNC_TTY) [M]
If pppd gives you the following error message:
pppd: This system lacks kernel support for PPP. This could be because
the PPP kernel module could not be loaded, or because PPP was not
included in the kernel configuration. If PPP was included as a
module, try `/sbin/modprobe -v ppp'. If that fails, check t
try modprobe ppp_generic
If pppd gives you the following error message:
Couldn't set tty to PPP discipline: Invalid parameter
try modprobe ppp_synctty.
To automatically load the appropriate modules, add those lines to
/etc/modules.conf:
alias char-major-108 ppp_generic
alias tty-ldisc-14 ppp_synctty
- HDLC support
Make sure your kernel has been compiled with the following options:
Character devices --->
[*] Non-standard serial port support
<M> HDLC line discipline support
[*] Unix98 PTY support
You must load modprobe n_hdlc or add the following line to your
/etc/modules.conf:
alias tty-ldisc-13 n_hdlc
- Official Alcatel drivers
You can download whatever version you want (Windows or Linux).
Download them at
http://www.alcatel.com/consumer/dsl/supuser.htm. You need
to extract them (running the self-extracting .exe for Windows
or tar zxvf for Linux), but DO NOT INSTALL the Alcatel linux
drivers!
Copy 'mgmt', 'mgmt.o' or 'alcaudsl.sys' (maybe located under
C:\WINNT\SYSTEM32\DRIVERS) to a convenient place.
Compilation
This driver is GPL software, so best distributed in source
form. That means you have to compile it before using it.
First of all, you should have the source of your running kernel in
/usr/src/linux (it may be a symlink to your real kernel sources). In
fact, you just need the headers (maybe there is a rpm package on your
distribution containing only kernel headers. On a Mandrake 7.2, you
need packages kernel-2.2.17-21mdk.i586.rpm &
kernel-headers-2.2.17-21mdk.i586.rpm).
Then type:
make
And as root:
make install
Configuration
You need the following information:
- your login (in the form fti/xxx@fti for instance)
- your password
- your vpi.vci couple (example: 0.38 for the UK)
- the location of mgmt.o (or equivalent)
To configure pppd, you can create a file
/etc/ppp/peers/adsl for instance, with the following content:
debug
kdebug 1
noipdefault
defaultroute
pty "/usr/local/bin/pppoa2 -vpi your_vpi -vci your_vci"
sync
user "your_login"
novjccomp
noaccomp
nopcomp
nomagic
noccp
asyncmap 0
usepeerdns
holdoff 1
persist
maxfail 0
Don't forget to add your login/password in the file
/etc/ppp/chap-secrets.
# Secrets for authentication using CHAP
# client server secret IP addresses
your_login * your_password
To connect, just run the following commands (as root, replacing
/path/to/mgmt.o by the real location of your file, which may be mgmt,
mgmt.o, alcaudsl.sys or anything containing Alcatel's
microcode). Those files are located in the Alcatel's drivers.
/usr/local/bin/modem_run -f /path/to/mgmt.o -m
pppd call adsl
You still need to configure your DNS, usually by making a symlink to
/etc/ppp/resolv.conf:
ln -s /etc/ppp/resolv.conf /etc/resolv.conf
You should be connected now! If not, read the FAQ!
If you have any questions, feel free to contact the mailing list
speedtouch@ml.free.fr
or myself
benoit.papillault@free.fr.
|