个人工具

“UbuntuHelp:UKSpeedtouchDSLHowTo”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
 
(未显示同一用户的4个中间版本)
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/UKSpeedtouchDSLHowTo}}
 
{{From|https://help.ubuntu.com/community/UKSpeedtouchDSLHowTo}}
 
{{Languages|UbuntuHelp:UKSpeedtouchDSLHowTo}}
 
{{Languages|UbuntuHelp:UKSpeedtouchDSLHowTo}}
=== Introduction ===
+
=== 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 <code><nowiki>speedtch</nowiki></code> driver.
 
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 <code><nowiki>speedtch</nowiki></code> driver.
 +
ubuntu 9:10
 +
([[UbuntuHelp:UsbAdslModem/SpeedTouch|UsbAdslModem/SpeedTouch]])
 
=== 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.speedtouchdsl.com/driver_upgrade_lx_3.0.1.2.htm 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] (e.g.: <code><nowiki>dpkg -i speedtouch-firmware_0.3012k.deb</nowiki></code>).
+
* 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
 +
sudo cp ./firmware/speedtch-1.bin.4 /lib/firmware/speedtch-1.bin
 +
sudo cp ./firmware/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 ./speedtouch-firmware_0.1-7_all
 +
sudo cp ./speedtouch-firmware_0.1-7_all/lib/firmware/speedtch-1.bin.4 /lib/firmware/speedtch-1.bin
 +
sudo cp ./speedtouch-firmware_0.1-7_all/lib/firmware/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 gksudo gedit /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).
+
</nowiki></pre>
* Edit the <code><nowiki>pap-secrets</nowiki></code> and/or <code><nowiki>chap-secrets</nowiki></code> files in <code><nowiki>/etc/ppp/</nowiki></code> and update them with the username and password provided by your ISP by adding to each a line in the format <code><nowiki>"USERNAME" "*" "PASSWORD"</nowiki></code>.
+
* Edit with
* After the boot, you will be able to start the connection with the usual commands (e.g. <code><nowiki>pon adsl</nowiki></code>).
+
<pre><nowiki>
 +
gksudo gedit /etc/ppp/peers/adsl
 +
</nowiki></pre>
 +
(or for Kubuntu)
 +
<pre><nowiki>
 +
kdesudo kwrite /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>
 +
gksudo gedit /etc/ppp/pap-secrets
 +
</nowiki></pre>
 +
(or for Kubuntu)
 +
<pre><nowiki>
 +
kdesudo kwrite /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:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2009年11月17日 (二) 21:00的最新版本


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. ubuntu 9:10 (UsbAdslModem/SpeedTouch)

Instructions

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
sudo cp ./firmware/speedtch-1.bin.4 /lib/firmware/speedtch-1.bin
sudo cp ./firmware/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 ./speedtouch-firmware_0.1-7_all
sudo cp ./speedtouch-firmware_0.1-7_all/lib/firmware/speedtch-1.bin.4 /lib/firmware/speedtch-1.bin
sudo cp ./speedtouch-firmware_0.1-7_all/lib/firmware/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
gksudo gedit /etc/ppp/peers/adsl

(or for Kubuntu)

kdesudo kwrite /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
gksudo gedit /etc/ppp/pap-secrets

(or for Kubuntu)

kdesudo kwrite /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.)