上网的设置方法:adsl

上网、浏览、聊天、下载等
回复
ccyhome
帖子: 64
注册时间: 2007-11-10 12:34
送出感谢: 0
接收感谢: 0
联系:

上网的设置方法:adsl

#1

帖子 ccyhome » 2007-11-13 23:36

ADSL Connections
All PPPoE and router-style ADSL modems that use an Ethernet connection are supported by Ubuntu, and some USB ADSL modems are supported too.

For a router-style ADSL modem, simply follow the section called “Basic Procedure”

For information on setting up a PPPoE ADSL modem see the section called “PPPoE Modems”.

For information on setting up a USB ADSL modem see the section called “USB ADSL Modems”.

PPPoE Modems
This section is about setting up an ADSL Internet connection using an ethernet PPPoE modem.

You will need to have subscribed to an Internet Service Provider, and your Internet connection must be installed and functional. A "DSL" light on your modem usually shows that the line is synchronized.

You will need your username and password for the account. You must also have an ethernet card connected to your PPPoE modem with the correct type of cable.

Finally, you need the PPPoE package to be installed in order for the following command to work. This package is installed by default, but can be missing if the configuration has been changed. If the following command does not work, you will need to install this package, which can be found on the Ubuntu CD.

To set up the modem:

Open Applications → Accessories → Terminal

In the terminal type:

sudo pppoeconfA text-based menu program will guide you through the next steps, which are:

Confirm that your Ethernet card is detected.

Enter your username.

Enter your password.

If you already have a PPPoE Connection configured, you will be asked if it may be modified.

Popular options: you are asked if you want the “noauth” and “defaultroute” options and to remove “nodetach” - choose Yes.

Use peer DNS - choose Yes.

Limited MSS problem - choose Yes.

When you are asked if you want to connect at start up, you will probably want to say yes.

Finally you are asked if you want to establish the connection immediately.

Once you have finished these steps, your connection should be working.

To start your ADSL connection on demand, in a terminal type:

sudo pon dsl-providerTo stop your ADSL connection, in a terminal type:

sudo poff dsl-providerUSB ADSL Modems
Often parts of ADSL USB modem drivers are proprietary, closed source software, with a restrictive licence, and so the whole driver cannot be supplied with Ubuntu. To get a modem to work with these drivers, you will need to download files from Internet with a computer having a working connection, then transfer the downloaded files to you Ubuntu installation.


USB is far from the ideal medium for network access, if you have a modem that can connect both via USB and ethernet or a ethernet router, you should use the ethernet connection instead of the USB modem.


Since any USB modem installation will require Internet access to download the necessary proprietary drivers, as well as extensive configuration which is beyond the scope of this guide, all we can do here is to list the USB Modem models known to work with Ubuntu with links to the relevant installation instructions on the Ubuntu community help site.

The installation procedure of USB modems differs depending on the specific make and model of your modem. To identify model of your modem, Note the name and number on the front. Occasionaly you may have to look for a label to discover the exact model. Consult the list below to see which driver your modem requires and note the link.

When you go online to download the necessary drivers, you can access the relevant driver download links from the page with the installation instructions relevant to that model of USB modem.

Speedtouch modems:

https://help.ubuntu.com/community/UsbAd ... SpeedTouch

Modems using the Analog Devices Inc. eagle-usb I, II or III chipset (such as Sagem Fast 800, Comtrend ct 350 etc.):

https://help.ubuntu.com/community/UsbAd ... ueagle-atm

https://help.ubuntu.com/community/UsbAdslModem/EagleUsb

Connexant AccessRunner based modems:

https://help.ubuntu.com/community/UsbAdslModem/EciAdsl

https://help.ubuntu.com/community/UsbAd ... cessRunner

https://help.ubuntu.com/community/UsbAdslModem/e-techV2

Dialup Modems
Most dialup modems are not supported by Ubuntu, but drivers can be found that will enable the use of such modems. First you need to identify what chipset your dialup modem is using:

wget -c http://linmodems.technion.ac.il/packages/scanModem.gz
gunzip -c scanModem.gz > scanModem
chmod +x scanModem
sudo ./scanModem
gedit Modem/ModemData.txtRead this file, it should list what modem chipset you have. Once you are aware of the chipset you have, see http://www.linmodems.org/ and follow the directions for your modem. More infomation can be found at SettingUpModems on the Ubuntu Wiki.
回复

回到 “因特网相关软件”