Diff for "UKSpeedtouchDSLHowTo"


Differences between revisions 1 and 6 (spanning 5 versions)
Revision 1 as of 2005-05-28 20:25:34
Size: 3042
Editor: adsl-213-190-44-43
Comment: imported from the old wiki
Revision 6 as of 2006-11-02 06:15:42
Size: 1607
Editor: gizmo05
Comment: Fixed link for firmware extractor.
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.speedtouchdsl.com/driver_upgrade_lx_3.0.1.2.htm the Alcatel web site] 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] (e.g.: {{{dpkg -i speedtouch-firmware_0.3012k.deb}}}).
 * 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.
 * Edit /etc/ppp/peers/adsl to include the username given to you by your ISP and the VP and VC identifiers 0.38 (they may differ for other ISPs).
 * Update the {{{pap-secrets}}} and/or {{{chap-secrets}}} files in {{{/etc/ppp/}}} with the username and password provided by your ISP by adding to each a line in the format {{{"USERNAME" "*" "PASSWORD"}}}.
 * After the boot, you will be able to start the connection with the usual commands (e.g. {{{pon adsl}}}).
 * ('''FIXME''': ''document how to create an udev script to automatically start the connection after the modem has been initialised.'')
Line 22: Line 17:
 * 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.speedtouchdsl.com/driver_upgrade_lx_3.0.1.2.htm the Alcatel web site] 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] (e.g.: dpkg -i speedtouch-firmware_0.3012k.deb).

  • 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.
  • Edit /etc/ppp/peers/adsl to include the username given to you by your ISP and the VP and VC identifiers 0.38 (they may differ for other ISPs).
  • Update the pap-secrets and/or chap-secrets files in /etc/ppp/ with the username and password provided by your ISP by adding to each a line in the format "USERNAME" "*" "PASSWORD".

  • After the boot, you will be able to start the connection with the usual commands (e.g. pon adsl).

  • (FIXME: document how to create an udev script to automatically start the connection after the modem has been initialised.)

CategoryDocumentation

UKSpeedtouchDSLHowTo (last edited 2009-11-12 19:58:48 by 5ad3428a)