发表文章 返回首页
当前位置: bitsCN.com > linux > 网络管理 > 网络管理 >

Linux操作系统上ADSL拨号上网的方法详解

时间:2007-09-12 08:00来源:中国网管联盟 作者:bitsCN整理 点击:
LINUX下的ADSL拨号上网大体有2种方法:一是用系统自带的图形界面(在网络里面建立新拨号连接,类似于WIN下),一是用命令行。下面呢我就主要介绍一下在命令行环境下配置上网。 一、解压缩 #tar xvfz rp-pppoe-3.2.t
  

  LINUX下的ADSL拨号上网大体有2种方法:一是用系统自带的图形界面(在网络里面建立新拨号连接,类似于WIN下),一是用命令行。下面呢我就主要介绍一下在命令行环境下配置上网。

feedom.net

  一、解压缩

网管网bitsCN.com

  #tar xvfz rp-pppoe-3.2.tar.gz #cd rp-pppoe-3.2 中国网管联盟www_bitscn_com

  二、进行编译和安装 中国网管联盟www、bitsCN、com

  运行脚本#./go将自动进行编译和安装,最后,调用/usr/sbin/adsl-setup进行配置,具体解释见三。 中国网管论坛bbs.bitsCN.com

  三、 配置PPPOE客户端软件 54ne.com

  安装完软件包后,必须配置pppoe的配置文件/etc/ppp/pppoe.conf,从而让ADSL拨号时使用配置文件中的用户名、密码等参数。我们不必手工改动这个文件,可以使用adsl-setup这个工具进行配置: 网管网bitsCN_com

  #/usr/sbin/adsl-setup当出现

中国网管联盟www_bitscn_com

  >>> Enter your PPPoE user name : 54ne.com

  输入ADSL帐号的用户名 feedom.net

  当出现

中国网管联盟www_bitscn_com

  >>> Enter the Ethernet interface connected to the ADSL modem

中国网管论坛bbs.bitsCN.com

  For Solaris, this is likely to be something like /dev/hme0. For Linux, it will be ethn, where ‘n’ is a number. (default eth0):输入 eth0 ,这是ADSL相连的网卡的名字。

feedom.net

  当出现 feedom.net

  >>> Enter the demand value (default no):

54ne.com

  输入 no

中国网管联盟www_bitscn_com

  当出现 网管联盟www.bitsCN.com

  >>> Enter the DNS information here:

网管网bitsCN_com

  输入 server ,这表示使用ADSL拨号自动获得的DNS服务器IP地址

54ne.com

  当出现 网管联盟www.bitsCN.com

  >>> Please enter your PPPoE password:

中国网管联盟www.bitscn.com

  输入ADSL帐号的密码 网管网bitsCN.com

  当出现 网管网bitsCN_com

  >>> Choose a type of firewall (0-2): 网管联盟www.bitsCN.com

  输入 0 ,不使用防火墙

中国网管联盟www_bitscn_com

  当出现

54com.cn

  >>> Accept these settings and adjust configuration files (y/n)? 网管网bitsCN_com

  如果输入的信息正确,输入 y ,完成配置,否则,输入 n 重新输入。 网管网bitsCN.com

中国网管联盟www、bitsCN、com

顶一下
(0)
0%
踩一下
(0)
0%
------分隔线----------------------------
最新评论 查看所有评论
发表评论 查看所有评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
用户名: 密码: 验证码:
发布者资料
admin 查看详细资料 发送留言 加为好友 用户等级:注册会员 注册时间:2008-05-08 23:05 最后登录:2009-01-05 20:01
推荐内容