特殊:Badtitle/NS100:UsbAdslModem/SpeedTouch:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/UsbAdslModem/SpeedTouch}} | {{From|https://help.ubuntu.com/community/UsbAdslModem/SpeedTouch}} | ||
{{Languages|UbuntuHelp:UsbAdslModem/SpeedTouch}} | {{Languages|UbuntuHelp:UsbAdslModem/SpeedTouch}} | ||
This guide is for setting up a USB ADSL modem with the '''''Speed``Touch''''' driver | This guide is for setting up a USB ADSL modem with the '''''Speed``Touch''''' driver . | ||
( | (ubuntu 9:10 Kernel 2.6.31-14) | ||
([[UbuntuHelp:UKSpeedtouchDSLHowTo|UKSpeedtouchDSLHowTo]]) | == '''method 1'''== | ||
=== | follow this guide ([[UbuntuHelp:UKSpeedtouchDSLHowTo|UKSpeedtouchDSLHowTo]]) | ||
=== '''method 2 ''' === | |||
go to a computer with the internet ( if not ubuntu download everything on a usb-stick) | |||
Install the following in the order they are listed: | |||
1)go to http://packages.ubuntu.com/karmic/ and download : | |||
libgda3-common | |||
libgda | |||
libgdl-1-common | |||
libgdl | |||
libgdl-gnome | |||
python-gnome2-extras | |||
2) your now going to download usb adsl manager | |||
at :http://www.squeezedonkey.com/svn/linux/trunk/releases/ubuntu/32-bit%20i386/usbadslmodemmanager_0.5.8_i386.deb | |||
After installation, to acces the usb adsl manager, go to | |||
Applications...Internet...Usb adsl manager | |||
Here you type the settings of your connection: username, password, VP and VC. | |||
== '''''more '''''== | |||
=== PPP Over ATM only if you have done method 1 === | |||
After | |||
== | |||
=== PPP Over ATM === | |||
If your ISP uses PPP Over ATM (PPPoATM, PPPoA) then read this section. If it uses PPP Over Ethernet (PPPoE) then jump to the PPP Over Ethernet section. | If your ISP uses PPP Over ATM (PPPoATM, PPPoA) then read this section. If it uses PPP Over Ethernet (PPPoE) then jump to the PPP Over Ethernet section. | ||
We now need to create a configuration file for pppd to use so open a text editor and paste the following into it: | We now need to create a configuration file for pppd to use so open a text editor and paste the following into it: |
2009年11月17日 (二) 21:03的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/UsbAdslModem/SpeedTouch }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/af | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|Afrikaans| [[::UsbAdslModem/SpeedTouch/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/ar | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|العربية| [[::UsbAdslModem/SpeedTouch/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/az | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|azərbaycanca| [[::UsbAdslModem/SpeedTouch/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/bcc | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|جهلسری بلوچی| [[::UsbAdslModem/SpeedTouch/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/bg | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|български| [[::UsbAdslModem/SpeedTouch/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/br | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|brezhoneg| [[::UsbAdslModem/SpeedTouch/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/ca | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|català| [[::UsbAdslModem/SpeedTouch/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/cs | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|čeština| [[::UsbAdslModem/SpeedTouch/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/de | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|Deutsch| [[::UsbAdslModem/SpeedTouch/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/el | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|Ελληνικά| [[::UsbAdslModem/SpeedTouch/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/es | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|español| [[::UsbAdslModem/SpeedTouch/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/fa | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|فارسی| [[::UsbAdslModem/SpeedTouch/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/fi | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|suomi| [[::UsbAdslModem/SpeedTouch/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/fr | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|français| [[::UsbAdslModem/SpeedTouch/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/gu | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|ગુજરાતી| [[::UsbAdslModem/SpeedTouch/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/he | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|עברית| [[::UsbAdslModem/SpeedTouch/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/hu | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|magyar| [[::UsbAdslModem/SpeedTouch/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/id | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|Bahasa Indonesia| [[::UsbAdslModem/SpeedTouch/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/it | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|italiano| [[::UsbAdslModem/SpeedTouch/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/ja | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|日本語| [[::UsbAdslModem/SpeedTouch/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/ko | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|한국어| [[::UsbAdslModem/SpeedTouch/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/ksh | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|Ripoarisch| [[::UsbAdslModem/SpeedTouch/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/mr | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|मराठी| [[::UsbAdslModem/SpeedTouch/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/ms | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|Bahasa Melayu| [[::UsbAdslModem/SpeedTouch/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/nl | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|Nederlands| [[::UsbAdslModem/SpeedTouch/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/no | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|norsk| [[::UsbAdslModem/SpeedTouch/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/oc | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|occitan| [[::UsbAdslModem/SpeedTouch/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/pl | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|polski| [[::UsbAdslModem/SpeedTouch/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/pt | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|português| [[::UsbAdslModem/SpeedTouch/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/ro | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|română| [[::UsbAdslModem/SpeedTouch/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/ru | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|русский| [[::UsbAdslModem/SpeedTouch/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/si | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|සිංහල| [[::UsbAdslModem/SpeedTouch/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/sq | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|shqip| [[::UsbAdslModem/SpeedTouch/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/sr | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|српски / srpski| [[::UsbAdslModem/SpeedTouch/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/sv | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|svenska| [[::UsbAdslModem/SpeedTouch/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/th | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|ไทย| [[::UsbAdslModem/SpeedTouch/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/tr | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|Türkçe| [[::UsbAdslModem/SpeedTouch/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/vi | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|Tiếng Việt| [[::UsbAdslModem/SpeedTouch/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/yue | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|粵語| [[::UsbAdslModem/SpeedTouch/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/zh | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|中文| [[::UsbAdslModem/SpeedTouch/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/zh-hans | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|中文(简体)| [[::UsbAdslModem/SpeedTouch/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch | UbuntuHelp:UsbAdslModem/SpeedTouch | {{#if: | :}}UsbAdslModem/SpeedTouch}}/zh-hant | • {{#if: UbuntuHelp:UsbAdslModem/SpeedTouch|中文(繁體)| [[::UsbAdslModem/SpeedTouch/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:UsbAdslModem/SpeedTouch|:UsbAdslModem/SpeedTouch|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :UsbAdslModem/SpeedTouch/zh | | {{#ifexist: UsbAdslModem/SpeedTouch/zh | | {{#ifeq: {{#titleparts:UsbAdslModem/SpeedTouch|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:UsbAdslModem/SpeedTouch|1|-1|}} | zh | | }}
This guide is for setting up a USB ADSL modem with the Speed``Touch driver . (ubuntu 9:10 Kernel 2.6.31-14)
method 1
follow this guide (UKSpeedtouchDSLHowTo)
method 2
go to a computer with the internet ( if not ubuntu download everything on a usb-stick) Install the following in the order they are listed: 1)go to http://packages.ubuntu.com/karmic/ and download : libgda3-common libgda libgdl-1-common libgdl libgdl-gnome python-gnome2-extras 2) your now going to download usb adsl manager at :http://www.squeezedonkey.com/svn/linux/trunk/releases/ubuntu/32-bit%20i386/usbadslmodemmanager_0.5.8_i386.deb After installation, to acces the usb adsl manager, go to Applications...Internet...Usb adsl manager Here you type the settings of your connection: username, password, VP and VC.
more
PPP Over ATM only if you have done method 1
If your ISP uses PPP Over ATM (PPPoATM, PPPoA) then read this section. If it uses PPP Over Ethernet (PPPoE) then jump to the PPP Over Ethernet section. We now need to create a configuration file for pppd to use so open a text editor and paste the following into it: (for Ubuntu)
touch speedtch gedit speedtch
(or for Kubuntu)
touch speedtch kwrite speedtch
noipdefault defaultroute user 'username@isp' # user '[email protected]' noauth updetach usepeerdns plugin pppoatm.so 0.00 # noaccomp # nobsdcomp # nodeflate # nopcomp # noccp # novj # debug
Replace 'username' and 'isp' with that provided by your ISP and also change 0.00 with the VP/VC values and save the file as speedtch. Now copy it to /etc/ppp/peers :
sudo install -m 600 speedtch /etc/ppp/peers
Make a Bootscript
Edit /etc/rc.local as root, e.g.
sudo nano /etc/rc.local
and after the line
# By default this script does nothing
paste the following:
# Start up Speedtouch connection pon speedtch
Now the connection will start at boot time.
PPP Over Ethernet
If your ISP is using PPP Over Ethernet (PPPoE) then things are a little bit more complicated because we need to create a bridging connection using br2684ctl bridging utility. Download br2684ctl from here and install it with this command:
wget http://www.linux-usb.org/SpeedTouch/mandrake/br2684ctl sudo install -m 755 br2684ctl /usr/sbin
Now we also need a configuration file for pppd to use so we open a text editor and paste the following: (for Ubuntu)
touch speedtch gedit speedtch
(or for Kubuntu)
touch speedtch kwrite speedtch
noipdefault defaultroute user 'username@isp' # user '[email protected]' noauth updetach usepeerdns plugin rp-pppoe.so nas0 # noaccomp # nobsdcomp # nodeflate # nopcomp # noccp # novj # debug
replace 'username' and 'isp' with that provided by your ISP, save it as speedtch and copy it to /etc/ppp/peers:
sudo install -m 600 speedtch /etc/ppp/peers
Make a Bootscript
Open a text editor and paste the following:
#!/bin/bash modprobe ppp_generic modprobe pppoatm modprobe br2684 count=0 while [ $count -lt 40 ] do sync=$(dmesg | grep 'ADSL line is up') if [ ! -z "$sync" ] then br2684ctl -b -c 0 -a VP.VC sleep 3 ifconfig nas0 192.168.0.1 netmask 255.255.255.0 up sleep 10 pppd call speedtch exit 0 fi sleep 1 count=$((1+$count)) done echo "The Speedtouch firmware didn't load"
change the VP.VC values with those provided by your ISP ( in my case 0.35 ) save the file as dial then install the bootcript and make the needed symbolic links:
sudo install -m 744 dial /etc/init.d && sudo ln -s ../init.d/dial /etc/rc2.d/S95dial && sudo ln -sf ppp/resolv.conf /etc/resolv.conf
Now everything is in place and the connection is set.
Finally
You now reboot and should be online. The Net is yours! :)