How To use a Alcatel SpeedTouch™ Usb modem with a GNU/Linux Knoppix
live
cd
Version française ici
February 9, 2004 : I suggest you to use the Kaella Knoppix distro which
contains the drivers for this modem.
September 15, 2004 : As I don't own this modem no more, I stop the updates on
this webpage.
This document explains how to use a DSL modem Alcatel Speedtouch Usb with a
Knoppix distro in live cd, without hard disk drive install.
This How-To should also work with the DSL modem Thomson also called
Speedtouch Usb 330 (not tested).
November 11, 2003: this How-to works with the last version of
Knoppix V3.3-2003-09-24. Moreover, thanks to Scorpio, a script does everything almost automatically
for you !
December 23, 2003 : I have updated this page with the new version
beta3 of the driver. If it does not work, you can find an other method of
connection on this page http://christophe.delord.free.fr/en/adsl/debian.html.
The script on this page is also supposed to work with the version
speedtouch-1-2-beta3.tar.gz.
If you read french, you can also find a lot of helpful documentation on this
site :
http://knoppix-fr.org/
Required :
- a Knoppix cd
https://www.bouissou.net/ for the
MiB version or http://www.knoppix.org/
- OpenSource drivers
http://speedtouch.sourceforge.net/
- Alcatel's microcode mgmt.o for the modem
http://www.speedtouchdsl.com/support.htm
or the file firmware.bin you can get here : http://speedtouch.sourceforge.net/files/firmware.bin
and rename it in mgmt.o
(a third option is to get the file alcaudsl.sys in the windows package and
rename it in mgmt.o)
Instructions for the connection with the
script :
b>
- Put the microcode mgmt.o in /home/knoppix
- put the driver speedtouch-1.2-beta3.tar.gz in /home/knoppix (be careful to
download the driver in tar.gz)
- put this script in /home/knoppix
- open a konsole (screen with a shell in the taskbar) and type :
# su
# sh speedtouch.sh
answer the questions (in french for now !) and you will be connected
If it does not work, you can edit the file speedtouch.sh (open it with kedit
for instance) and verify the parameters are ok for your country (see vpi and
vci infra)
Instructions for a manual connection:
put the driver speedtouch-1.2-beta3 and the microcode mgmt.o
in /home/knoppix
$ mkdir speedtouch
$ tar zxvf speedtouch-1.2-beta3.tar.gz
$ cd speedtouch-1.2-beta3
$ ./configure --prefix=/home/knoppix/speedtouch
$ make
$ su
# make install
Next, create/modify files
/etc/ppp/peers/adsl /etc/ppp/chap-secrets /etc/ppp/options
We have to create or edit 3 files :
/etc/ppp/peers/adsl
/etc/ppp/chap-secrets
/etc/ppp/options
(cf speedtouch how-to)
1st file :
You should have an /etc/ppp/options file, edit it and keep these 4
lines in it (comment all extra lines with a #)
------------------ /etc/ppp/options Beginning -------------
noauth
usepeerdns
lock
noipdefault
------------------ /etc/ppp/options End ------------------
2nd file
touch /etc/ppp/peers/adsl
Copy and paste what follows (without the "---" ;) )
-------------------/etc/ppp/peers/adsl Beginning------------
#
# This file could be rename but its place is under /etc/ppp/peers
# To connect to Internet using this configuration file
# pppd call adsl, where "adsl" stands for the name of this file
#
debug
kdebug 1
noipdefault
defaultroute
pty "/home/knoppix/speedtouch/sbin/pppoa3 -m 1 -c -vpi 8 -vci 35"
sync
user "your_login_here"
noauth
noaccomp
nopcomp
noccp
novj
holdoff 4
persist
maxfail 25
usepeerdns
------------------/etc/ppp/peers/adsl EOF------------------
The parameters vpi and vci are differents depending on your country, you may
have to change their values, it's in this file you have to do it :
France, Belgium : -vpi 8 -vci 35
Netherlands : -vpi 8 -vci 48
United Kingdom : -vpi 0 -vci 38 (0 and 38 are default UK/BT for vpi and vci,
you should also try removing the line usepeerdns from the file before)
Portugal : -vpi 0 -vci 35
3rd file :
2 protocols can be used by providers to identify their users: CHAP
or PAP.
Depending on your provider, edit /etc/ppp/chap-secrets or
/etc/ppp/pap-secrets.
These fields look like this :
-------------------/etc/ppp/chap-secrets
Begining--------------
# client server secret IP addresses
"your_login_here" "*" "your_password_here" "*"
-------------------/etc/ppp/chap-secrets
End-------------------
If you don't know what protocol is used by your provider, you
can fill in both files, it won't hurt.
Next, type :
$ modprobe -r speedtch (remove the module that makes connection
fail)
$ modprobe ppp_generic
$ modprobe ppp_synctty
$ modprobe n_hdlc
(for the thomson speedtouch 330 type also : $ modprobe slhc)
Load the firmware
$ /home/knoppix/speedtouch/sbin/modem_run -m -f /home/knoppix/mgmt.o
Launch pppd
$ pppd call adsl
Check connection
$ ifconfig
If you make a persistent home and save your settings in it (K Menu
/ KNOPPIX / Configure), at your next reboot you will just have to type (as
root) :
$ modprobe ppp_generic
$ modprobe ppp_synctty
$ modprobe n_hdlc
(for the thomson speedtouch 330 type also : $ modprobe slhc)
$ /home/knoppix/speedtouch/sbin/modem_run -m -f /home/knoppix/mgmt.o
$ pppd call adsl
and you will be connected :-)
Contact
23.12.03
tested with Knoppix V3.3-2003-09-24, V3.2-2003-06-06, V3.2-2003-05-20 &
Knoppix-3.2-MiB-11b
David Abdelli
Site hébergé par Free
24 rue Émile Menier, 75116 Paris