ADSLPPPoE

上网、浏览、聊天、下载等
回复
头像
oneleaf
论坛管理员
帖子: 10454
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

ADSLPPPoE

#1

帖子 oneleaf » 2005-08-26 23:49

ADSL PPPoE Connection using Ubuntu
Getting Started

Although it may be very common to use a router to connect your Ubuntu box to the Internet, often is needed to directly attach your computer to a ADSL (frequently refered to as 'DSL') modem using PPPoE. In order to do this you need:

*

A DSL account with an Internet Service Provider (ISP)
*

Username and password for that account
*

A DSL modem to which you connect using an Ethernet network card
*

Your Ubuntu box with its Ethernet card enabled for DHCP.

Note: make sure that your ADLS connection has been activated by your ISP before starting this procedure. Generally there is a "dsl" light on your modem so if it is lit your connection should be activated.
Configuring PPPoE on the command line

Ubuntu default installs the "pppoeconf" package. If you are not sure if you have it you can check like this:

dpkg -l | grep -i pppoe

If it is installed (Ubuntu installs it by default) it should say something like this:

ii pppoeconf 1.1ubuntu1 configures PPPoE/ADSL connections

Otherwise you may need to install it. Just type

sudo apt-get install pppoeconf

Once you are sure that you have the package installed its time to configure your connection. Type

sudo pppoeconf

A nice text-based menu program will guide you to the next steps. It will first ask you to confirm the Ethernet card you want to use for the connection, then it will ask you your username and password. There may be some questions that seem complex, if unsure take the default option and continue. There is also a question of wether you want to connect at start up, which is very likely the best option so that you never again need to run the configuration utility.


https://wiki.ubuntu.com/ADSLPPPoE
当净其意如虚空,远离妄想及诸取,令心所向皆无碍
头像
lyreopera
帖子: 771
注册时间: 2005-05-23 13:38
来自: gdsz

#2

帖子 lyreopera » 2005-08-26 23:59

认领……

明天再译……
……
头像
lyreopera
帖子: 771
注册时间: 2005-05-23 13:38
来自: gdsz

#3

帖子 lyreopera » 2005-08-28 18:35

使用Ubuntu进行ADSL PPPoE连接

开始

尽管使用路由器来连接很常见,但是常常需要把你的电脑通过PPPoE直接与ADSL moden连接。你需要:
*

互联网接入商(ISP)提供的帐号
*

该帐号的用户名和密码
*

一个连接到你的以太网卡的SDL modem
*

附带开启DHCP的以太网卡的Ubuntu机器(好别扭的一句话)

注意:确保在开始这一步之前ISP已经激活你的ADSL连接。通常在modem上有一个"dsl"指示灯,如果这个灯是亮着的,连接应该已经激活了。

用命令行配置PPPoE

Ubuntu默认安装了“pppoeconf”软件包。如果你不确定你是否安装了,请这样来检查:

代码: 全选

dpkg -l | grep -i pppoe
如果已经安装(Ubuntu默认安装了)了应该会返回类似这样的信息:
ii pppoeconf 1.1ubuntu1 configures PPPoE/ADSL connections
不然你就要安装它,只需键入:

代码: 全选

sudo apt-get install pppoeconf
一旦你确认已经安装了这个软件包,是时候配置你的连接了。键入:

代码: 全选

sudo pppoeconf
一个漂亮的基于文本的菜单程序将会引导你进行下一步。它首先会让你确认用来进行连接的网卡,然后询问你的用户名和密码。接下来可能会有几个看上去很复杂的问题,如果不确定可以选默认选项并继续。最后还有一个问题问你是否要在启动的时候进行连接,这可能是一个最好的选择这样你就不必再运行配置工具。


https://wiki.ubuntu.com/ADSLPPPoE
……
头像
oneleaf
论坛管理员
帖子: 10454
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#4

帖子 oneleaf » 2005-09-07 21:37

当净其意如虚空,远离妄想及诸取,令心所向皆无碍
回复