s i s t e m a o p e r a c i o n a l m a g n u x l i n u x | ~/ · documentação · suporte · sobre |
9. Appendix: The Alcatel SpeedTouch USB ADSL ModemAuthor: Chris Jones <chris@black-sun.co.uk>, copyright © 2001 with minor edits by Hal Burgiss <hal@foobox.net>. 9.1. IntroductionInstallation, configuration and use of the Alcatel SpeedTouch USB ADSL modem with Linux. French translation available http://www.linuxdude.co.uk/docs/Alcatel-Speedtouch-USB-mini-HOWTO-FR.txt. 9.1.1. PrefaceThis is an adaptation of Chris Jones' Alcatel-Speedtouch-USB-mini-HOWTO. The current version of this document can be found at http://www.linuxdude.co.uk/docs/Alcatel-Speedtouch-USB-mini-HOWTO/. As always with Linux, there is more than one way to skin a cat. This document takes one approach that is a working model. There are other ways, and there may be some contradictions to the INSTALL instructions as included by Alcatel. One notable example: The Alcatel driver supports both PPPoE and PPPoA. Alcatel suggests PPPoE as easier, but many are finding PPPoA more stable even if maybe a little more work to get going. Also, this driver has just recently been released as of March 2001. It is highly dependent on experimental code and is not battle tested yet. Do not expect it to be as stable as ethernet modem solutions. Hopefully, this should change quickly as more users are able to provide feedback to the developers. The driver also requires a 2.4.x kernel. If you are now running a 2.2 kernel, this will require a major upgrade -- of not just the kernel itself, but related packages such as modutils as well. You can find what all is required by reading /usr/src/linux/Documentation/Changes in the 2.4 kernel source tree. I would further suggest that you get a plain vanilla 2.4 system up and running stably before attempting the process below.
9.1.2. BackgroundThe Alcatel SpeedTouch USB ADSL modem has become a popular choice for providing low cost, widely available ADSL services, particularly in the UK, where BT Ignite (a division of British Telecom) install it for use over their ADSL network. Although BT plan to move to a new ADSL router soon, the SpeedTouch USB is still used by a large number of people, many of whom wish to use Linux, rather than Windows to access the Internet. Initially the SpeedTouch USB was only useful to people running either Windows 2000 or Windows 98. Alcatel recently released a MacOS driver and have now released a Linux driver. This document will show you, as simply as possible, how to configure a Linux machine to connect to the Internet using a SpeedTouch USB. 9.1.3. AssumptionsSeveral assumptions are made by this document:
The first assumption is merely because I use Red Hat 7.0 and so that is what I've had to use to get it working. I would like to cover other distributions, so if you spot any differences, please email me and I'll amend the HOWTO. The second assumption is far more critical than the first - you MUST be running AT LEAST 2.4.1, but I have found 2.4.2 to be more stable and the SpeedTouch USB driver works fine with it. 9.1.4. CaveatUnfortunately, much of the software required for this setup is beta quality and you may experience crashes, random oopses, etc. Hopefully work on the driver will bring its stability up to scratch and everyone can be happy. 9.2. Patching the kernelFor this section you will need the following items. (Please note that by the time you read this, the versions may have changed, so adjust accordingly.)
Once you have all of these pre-requisites, we can start patching. Patching Procedure
9.3. Configuring the kernelFor this section you will need:
9.3.1. ConfigurationTo configure the kernel, load your favorite kernel configuration method: (e.g. cd /usr/src/linux; make xconfig) You need to select the following kernel options:
Now compile and install the kernel and modules as you would normally. 9.4. Installing the softwareFor this section you will need the items listed below. (Again, be aware of possible version updates.)
9.4.1. Installing pppdInstall whichever ppp package you need. You might have to create the file /dev/ppp yourself, which can be done with the following commands:
If your distribution does not include the MAKEDEV script, or it fails to create the correct device, you can use the following command:
9.4.2. Installing speedmgmtExtract the Alcatel binary driver tarball (speedmgmt.tar.gz) and install it as per its included instructions. 9.5. Configuring the softwareFor this section you will need:
9.5.1. Configuring pppdEdit the file /etc/ppp/options and replace its contents with the following: lock
Edit the file /etc/ppp/chap-secrets and replace its contents with the following: # Secrets for authentication using CHAP Now put the same contents in /etc/ppp/pap-secrets.
9.5.2. Final configuration
9.5.3. ConnectingIf all of the software is installed and configured correctly, you should be able to initiate your ADSL connection with the command: pppd Again, it would be useful to watch /var/log/messages so you can read pppd's output. Ideally you will connect, authenticate and be on the Internet. At this point you are on your own. Assuming everything works you should see output from pppd similar to the following: Mar 22 23:54:42 zanshin pppd[2076]: Plugin /usr/lib/pppd/plugins/pppoatm.so loaded. 9.6. Known problemsThe management application will most likely make your computer freeze when you try to reboot. There is no known workaround for this as yet, as killing it manually will often make it hang too. 9.7. Revision History
9.8. CreditsMany thanks to all the people who send me ideas, corrections and additions for this HOWTO. Special thanks must go to Telsa Gwynne for her outstanding help in the conversion of this document from a feeble HTML file to a glorious, spangly Docbook SGML file. |