“UbuntuHelp:UKSpeedtouchDSLHowTo”的版本间的差异
来自Ubuntu中文
小 |
小 |
||
第5行: | 第5行: | ||
=== Instructions === | === Instructions === | ||
* With modern kernels (>= 2.6.10) you do not need anything other than the <code><nowiki>ppp</nowiki></code> and <code><nowiki>libatm1</nowiki></code> packages. The <code><nowiki>speedtouch</nowiki></code> package is '''not''' needed. | * With modern kernels (>= 2.6.10) you do not need anything other than the <code><nowiki>ppp</nowiki></code> and <code><nowiki>libatm1</nowiki></code> packages. The <code><nowiki>speedtouch</nowiki></code> package is '''not''' needed. | ||
− | * Download the modem firmware from [http://www. | + | * 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]. | ||
+ | * Firmware (speedtch-*.bin.4) for the (silver) revision 4 modem. | ||
+ | <pre><nowiki> | ||
+ | wget http://ftp.linux.it/pub/People/md/warez/speedtouch-firmware.tgz | ||
+ | sudo tar xfvz speedtouch-firmware.tgz | ||
+ | cd /firmware | ||
+ | sudo cp speedtch-1.bin.4 /lib/firmware/speedtch-1.bin | ||
+ | sudo cp speedtch-2.bin.4 /lib/firmware/speedtch-2.bin | ||
+ | </nowiki></pre> | ||
+ | or | ||
+ | <pre><nowiki> | ||
+ | wget http://ubudsl.googlepages.com/speedtouch-firmware_0.1-7_all.deb | ||
+ | sudo dpkg -x speedtouch-firmware_0.1-7_all.deb ./ | ||
+ | sudo tar xfvz data.tar.gz | ||
+ | cd /lib/firmware | ||
+ | sudo cp speedtch-1.bin.4 /lib/firmware/speedtch-1.bin | ||
+ | sudo cp speedtch-2.bin.4 /lib/firmware/speedtch-2.bin | ||
+ | </nowiki></pre> | ||
* After installing the firmware you may unplug and replug the modem to load it. | * 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: | * Copy the /usr/share/doc/ppp/examples/peers-pppoa file to e.g. /etc/ppp/peers/adsl. The following command will preform this action: | ||
+ | <pre><nowiki> | ||
sudo cp /usr/share/doc/ppp/examples/peers-pppoa /etc/ppp/peers/adsl | sudo cp /usr/share/doc/ppp/examples/peers-pppoa /etc/ppp/peers/adsl | ||
− | * Edit with | + | </nowiki></pre> |
− | * Edit the < | + | * Edit with |
− | * After the boot, you will be able to start the connection with the usual commands | + | <pre><nowiki> |
+ | sudo gedit /etc/ppp/peers/adsl | ||
+ | </nowiki></pre> | ||
+ | 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 | ||
+ | <pre><nowiki> | ||
+ | sudo gedit /etc/ppp/pap-secrets | ||
+ | </nowiki></pre> | ||
+ | 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 | ||
+ | <pre><nowiki> | ||
+ | "username@isp" "*" "password" | ||
+ | </nowiki></pre> | ||
+ | and/or | ||
+ | <pre><nowiki> | ||
+ | sudo cp /etc/ppp/pap-secrets /etc/ppp/chap-secrets | ||
+ | </nowiki></pre> | ||
+ | * After the boot, you will be able to start the connection with the usual commands | ||
+ | <pre><nowiki> | ||
+ | pon adsl | ||
+ | </nowiki></pre> | ||
* ('''FIXME''': ''document how to create an udev script to automatically start the connection after the modem has been initialised.'') | * ('''FIXME''': ''document how to create an udev script to automatically start the connection after the modem has been initialised.'') | ||
[[category:CategoryDocumentation]] | [[category:CategoryDocumentation]] | ||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2008年4月23日 (三) 12:01的版本
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
andlibatm1
packages. Thespeedtouch
package is not needed. - Download the modem firmware from the Alcatel web site (site down - mirror to zip) and unpack it with the firmware extractor. If this looks complex, you can just download and install an unofficial firmware package
speedtouch-firmware.tgz or speedtouch-firmware_0.1-7_all.deb.
- Firmware (speedtch-*.bin.4) for the (silver) revision 4 modem.
wget http://ftp.linux.it/pub/People/md/warez/speedtouch-firmware.tgz sudo tar xfvz speedtouch-firmware.tgz cd /firmware sudo cp speedtch-1.bin.4 /lib/firmware/speedtch-1.bin sudo cp speedtch-2.bin.4 /lib/firmware/speedtch-2.bin
or
wget http://ubudsl.googlepages.com/speedtouch-firmware_0.1-7_all.deb sudo dpkg -x speedtouch-firmware_0.1-7_all.deb ./ sudo tar xfvz data.tar.gz cd /lib/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.)