Size: 3042
Comment: imported from the old wiki
|
Size: 2436
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
= UKSpeedtouchDSLHowTo = |
|
Line 5: | Line 3: |
This document explains how to set up a DSL broadband connection for people living in the UK using a Thomson Speedtouch 330 USB modem. The instructions below assume that you have physically connected the modem correctly. | This document explains how to set up a DSL broadband connection for people living in the UK using a Thomson Speedtouch 330 USB modem or other similar modems supported by the {{{speedtch}}} driver. |
Line 9: | Line 7: |
* Install the package {{{speedtouch}}} from the ''universe'' repository. * Download the GNU/Linux firmware from [http://www.speedtouchdsl.com/driver_upgrade_lx_3.0.1.2.htm http://www.speedtouchdsl.com/driver_upgrade_lx_3.0.1.2.htm]. * Create a directory called {{{/usr/local/lib/speedtouch}}}. * Unpack the zip, and put the file {{{ZZZL_3.012}}} in the above directory. * Copy the /usr/share/doc/speedtouch/examples/peers-pppoa file to /etc/ppp/peers/adsl * Edit /etc/ppp/peers/adsl to include the username given to you by your ISP and the following vpi and vci codes: -vpi 0 -vci 38 * Update the {{{pap-secrets}}} and {{{chap-secrets}}} in {{{/etc/ppp}}} with the username and password provided by your ISP by adding a line to each in this format: "USERNAME" "*" "PASSWORD" "*" * Create a file /etc/default/speedtouch that says PPPD_PEER="adsl" * Append the line "speedtch" to the /etc/hotplug/blacklist file. This excludes the kernel technique of handling your modem. If you do not do this then the kernel technique will conflict with the userland technique described here (this results in the error message "pusb_claim_interface 1 failed", which we don't want!). * When the computer sees the modem (when the computer boots up, or when the USB lead is plugged into the computer), it should set up the connection. |
* With modern kernels (>= 2.6.10) you do not need anything other than the {{{ppp}}} and {{{libatm1}}} packages. The {{{speedtouch}}} package is '''not''' needed. |
Line 20: | Line 9: |
== Credits == | * Download the modem firmware from [http://www.speedtouch.com/download/drivers/USB/SpeedTouch330_firmware_3012.zip the Alcatel web site] (site down - [http://www.martinp23.com/SpeedTouch330_firmware_3012.zip mirror to zip]) and unpack it with the [http://www.linux-usb.org/SpeedTouch/firmware/firmware-extractor firmware extractor]. If this looks complex, you can just download and install [http://people.debian.org/~md/ an unofficial firmware package] [http://ftp.linux.it/pub/People/md/warez/speedtouch-firmware.tgz speedtouch-firmware.tgz] or [http://ubudsl.googlepages.com/speedtouch-firmware_0.1-7_all.deb speedtouch-firmware_0.1-7_all.deb]. {{{ sudo wget http://ftp.linux.it/pub/People/md/warez/speedtouch-firmware.tgz sudo tar xfvz speedtouch-firmware.tgz }}} * Copy firmware for the (silver) revision 4 modem. {{{ cd firmware sudo cp speedtch-1.bin.4 /lib/firmware/speedtch-1.bin sudo cp speedtch-2.bin.4 /lib/firmware/speedtch-2.bin }}} * After installing the firmware you may unplug and replug the modem to load it. * Copy the /usr/share/doc/ppp/examples/peers-pppoa file to e.g. /etc/ppp/peers/adsl. The following command will preform this action: {{{ sudo cp /usr/share/doc/ppp/examples/peers-pppoa /etc/ppp/peers/adsl }}} * Edit with {{{ sudo gedit /etc/ppp/peers/adsl }}} to include the username given to you by your ISP and the VP and VC identifiers 0.38 (Poland, TPSA neostrada tp 0.35) (they may differ for other ISPs). * Edit the {{{ sudo gedit /etc/ppp/pap-secrets }}} file (in /etc/ppp/) and update them with the username and password provided by your ISP by adding to each a line in the format {{{ "USERNAME@ISP" "*" "PASSWORD" }}} and/or {{{ sudo cp /etc/ppp/pap-secrets /etc/ppp/chap-secrets }}} * After the boot, you will be able to start the connection with the usual commands {{{ pon adsl }}} * ('''FIXME''': ''document how to create an udev script to automatically start the connection after the modem has been initialised.'') |
Line 22: | Line 49: |
* I got most of the information from [http://linux-usb.sourceforge.net/SpeedTouch/ Linux USB (SpeedTouch)], especially the [http://linux-usb.sourceforge.net/SpeedTouch/docs/sargehowto.html Debian install page]. * See /usr/share/doc/speedtouch/README.Debian for more information about the driver. From NathanWeston Tue Feb 22 12:20:44 +0000 2005 From: Nathan Weston Date: Tue, 22 Feb 2005 12:20:44 +0000 Subject: speedtouch-setup Message-ID: <20050222122044+0000@https://www.ubuntulinux.org> Alternatively, you can run speedtouch-setup, which does (I think) all of that for you :) You still have to know the vci/vpi codes, but I had it going first time after running that. From Marcod'Itri Wed Feb 23 20:45:16 +0000 2005 From: Marco d'Itri Date: Wed, 23 Feb 2005 20:45:16 +0000 Subject: user space driver considered harmful Message-ID: <20050223204516+0000@https://www.ubuntulinux.org> There is no reason to prefer the user space driver. If the speedtouch package is derived from the debian one then the hotplug script is smart enough to detect that the kernel driver has been loaded and will automatically do what it needs to do in this situation. Also, on kernels >= 2.6.10 the kernel driver can load the firmware files by itself (but not in the form described in this page) and no other packages are needed. http://people.debian.org/~md/ points to the right place. |
CategoryDocumentation |
Introduction
This document explains how to set up a DSL broadband connection for people living in the UK using a Thomson Speedtouch 330 USB modem or other similar modems supported by the speedtch driver.
Instructions
With modern kernels (>= 2.6.10) you do not need anything other than the ppp and libatm1 packages. The speedtouch package is not needed.
Download the modem firmware from [http://www.speedtouch.com/download/drivers/USB/SpeedTouch330_firmware_3012.zip the Alcatel web site] (site down - [http://www.martinp23.com/SpeedTouch330_firmware_3012.zip mirror to zip]) and unpack it with the [http://www.linux-usb.org/SpeedTouch/firmware/firmware-extractor firmware extractor]. If this looks complex, you can just download and install [http://people.debian.org/~md/ an unofficial firmware package]
[http://ftp.linux.it/pub/People/md/warez/speedtouch-firmware.tgz speedtouch-firmware.tgz] or [http://ubudsl.googlepages.com/speedtouch-firmware_0.1-7_all.deb speedtouch-firmware_0.1-7_all.deb].
sudo wget http://ftp.linux.it/pub/People/md/warez/speedtouch-firmware.tgz sudo tar xfvz speedtouch-firmware.tgz
- Copy firmware for the (silver) revision 4 modem.
cd firmware sudo cp speedtch-1.bin.4 /lib/firmware/speedtch-1.bin sudo cp speedtch-2.bin.4 /lib/firmware/speedtch-2.bin
- After installing the firmware you may unplug and replug the modem to load it.
- Copy the /usr/share/doc/ppp/examples/peers-pppoa file to e.g. /etc/ppp/peers/adsl. The following command will preform this action:
sudo cp /usr/share/doc/ppp/examples/peers-pppoa /etc/ppp/peers/adsl
- Edit with
sudo gedit /etc/ppp/peers/adsl
to include the username given to you by your ISP and the VP and VC identifiers 0.38 (Poland, TPSA neostrada tp 0.35) (they may differ for other ISPs).
- Edit the
sudo gedit /etc/ppp/pap-secrets
file (in /etc/ppp/) and update them with the username and password provided by your ISP by adding to each a line in the format
"USERNAME@ISP" "*" "PASSWORD"
and/or
sudo cp /etc/ppp/pap-secrets /etc/ppp/chap-secrets
- After the boot, you will be able to start the connection with the usual commands
pon adsl
(FIXME: document how to create an udev script to automatically start the connection after the modem has been initialised.)