首先安装好CentOS6以后要安装rp-pppoe这个软件,centos之前的版本所adsl-setup这个命令安装,到centos6改了。

需要光驱内放好CentOS安装盘

挂载光盘

#mount /dev/cdrom /media

找出文件路径

# find /media -name 'rp-pppoe*'

这个文件没有依赖项,可以直接安装

#rpm -ivh /media/CentOS_6.0_Final/Packages/rp-pppoe-3.10-8.el6.i686.rpm

安装好以后可以开始设置ADSL和DNS信息

#pppoe-setup

Welcome to the PPPoE client setup.  First, I will run some checks on
your system to make sure the PPPoE client is installed properly...

The following DSL config was found on your system:

Device:      Name:
  ppp0         DSLppp0

Please enter the device if you want to configure the present DSL config
(default ppp0) or enter 'n' if you want to create a new one: ppp0

LOGIN NAME

Enter your Login Name (default root): 中国电信或者网通给你的ADSL用户名,注意电信给的有ad打头

INTERFACE

Enter the Ethernet interface connected to the PPPoE modem
For Solaris, this is likely to be something like /dev/hme0.
For Linux, it will be ethX, where 'X' is a number.
(default eth0): eth0← 指定网络接入设备,一块网卡的情况下,一般为默认eth0

Do you want the link to come up on demand, or stay up continuously?
If you want it to come up on demand, enter the idle time in seconds
after which the link should be dropped.  If you want the link to
stay up permanently, enter 'no' (two letters, lower-case.)
NOTE: Demand-activated links do not interact well with dynamic IP
addresses.  You may have some problems with demand-activated links.
Enter the demand value (default no): ← 直接按回车,接受默认设置,询问的是,adsl连接以后,是否持续保持连接。或者是自动的断开,在指定的时间(以秒数计算)内。多数情况下,我们希望手动的打开关闭连接。所以这里选择默认的no。

DNS

Please enter the IP address of your ISP's primary DNS server.
If your ISP claims that 'the server will provide dynamic DNS addresses',
enter 'server' (all lower-case) here.
If you just press enter, I will assume you know what you are
doing and not modify your DNS setup.
Enter the DNS information here: 202.96.209.5 第一个DNS建议手动设置,不然可能连不上
Please enter the IP address of your ISP's secondary DNS server.
If you just press enter, I will assume there is only one DNS server.
Enter the secondary DNS server address here: 202.96.209.133 第二个DNS建议手动设置,不然可能连不上

PASSWORD

Please enter your Password: 输入ADSL的连接密码
Please re-enter your Password: ← 再次确认输入ADSL的连接密码

USERCTRL

Please enter 'yes' (three letters, lower-case.) if you want to allow
normal user to start or stop DSL connection (default yes): yes← 填入no,不允许一般用户控制PPPoE的连接

FIREWALLING

Please choose the firewall rules to use.  Note that these rules are
very basic.  You are strongly encouraged to use a more sophisticated
firewall setup; however, these will provide basic security.  If you
are running any servers on your machine, you must choose 'NONE' and
set up firewalling yourself.  Otherwise, the firewall rules will deny
access to all standard servers like Web, e-mail, ftp, etc.  If you
are using SSH, the rules will block outgoing SSH connections which
allocate a privileged source port.

The firewall choices are:
0 - NONE: This script will not set any firewall rules.  You are responsible
          for ensuring the security of your machine.  You are STRONGLY
          recommended to use some kind of firewall rules.
1 - STANDALONE: Appropriate for a basic stand-alone web-surfing workstation
2 - MASQUERADE: Appropriate for a machine acting as an Internet gateway
                for a LAN
Choose a type of firewall (0-2): 0← 输入0,不在这里使用防火墙

Start this connection at boot time

Do you want to start this connection at boot time?
Please enter no or yes (default no):yes← 填入yes,在系统启动时自动连接ADSL

Accept these settings and adjust configuration files (y/n)? y← 配置信息确认无误后,键入y同意设置
** Summary of what you entered **

Ethernet Interface:eth0

User name:

[root@localhost ~]# pppoe-start← 启动ADSL pppoe连接

[root@localhost ~]# pppoe-status 设置完成后我们看看adsl状态

CentOS6怎么样设置ADSL上网相关推荐

  1. Everest 0.6 设置ADSL上网

            让我意外,Everest 0.6中的NetworkManager居然没有ADSL上网设置,目前基本上所有LINUX发行版都不存在这怪病,居然在万千宠爱的EVL上发生这种低级趣味,晕死啦 ...

  2. linux网卡设置adsl上网,Linux下设置ADSL自动拨号上网

    前段时间下载了红帽的linux,版本为redhat 9.0,整整刻了三张CD.最初是为了体验一下linux下QQ聊天软件的功能,最后因内核太低(官方推荐内核在2.6以上,我下载的版本是2.4)而告终. ...

  3. 路由器有线优先吗_如何设置有线上网优先 - 卡饭网

    笔记本有线无线同时连如何设置有线网络优先 笔记本有线无线同时连如何设置有线网络优先 笔记本易于携带,为我们的工作和生活带来了许多便利.但是本本在有线网络和无线网络同时连接时,系统就会优先选择使用无线网 ...

  4. 怎么设置虚拟拨号服务器,如何设置PPPoE上网(ADSL虚拟拨号)

    如果您的上网方式是PPPoE拨号,也就是说您的网络服务商(电信或者网通)给您提供了一组用户名和密码,并且需要使用PPPoE(宽带连接)拨号上网,你该怎么办呢?下面是学习啦小编整理的一些关于如何设置PP ...

  5. android手机连接无线路由器上网设置,怎样用手机设置无线路由器上网?

    手机怎么设置无线路由器?不少用户都有这样的疑问:一般情况下我们都是用电脑来设置无线路由器的,但是某些时候用户可能没有电脑,因此用手机来设置无线路由器是一个不错的选择,下文进行详细介绍.需要的朋友可以参 ...

  6. 学计算机会设置路由器,Win7电脑怎么设置无线路由器上网

    一台新购买回来的无线路由器,或者是刚恢复出厂设置后的无线路由器,要使用Win7电脑来设置上网,请按照以下步骤进行设置,下面是学习啦小编给大家整理的一些有关Win7电脑设置无线路由器上网的方法,希望对大 ...

  7. 如何设置无线路由器上网?

    转自:微点阅读  https://www.weidianyuedu.com 现在是信息时代,智能时代,我们每个人的家里都安装有宽带网,好几部智能手机,还有网络电视.都需要利用WIFI连接网络.那么问题 ...

  8. 拨号上网怎么修改dns服务器,dns怎么设置才能上网 dns设置上网方法【图文】

    随着生活中我们对于电脑的使用越来越广泛,电脑不仅可以在我们的学习中带来一定的帮助,还可以让我们的工作提高效率,在我们的娱乐休闲时提供很好的方式,而往往一台电脑能够正常运行,需要很多配件才能起到一定的运 ...

  9. 便捷式计算机无线功能按钮,便携式无线路由器怎么设置 快速上网必备【图文教程】...

    便携式 无线路由 器在我们生活中使用的也不是太频繁,可能很多人都不了解什么是便携式无线路由器.那么,下面小编为大家介绍一下便携式无线路由器以及便携式无线路由器怎么设置. 推荐阅读:两个无线路由器怎么桥 ...

最新文章

  1. mysql将行显示成列_mysql – 在表中将行显示为列
  2. 甲骨文全球大会•2010•北京议程
  3. 【数字信号处理】傅里叶变换性质 ( 序列傅里叶变换共轭对称性质示例 | 证明 原序列实部 x_R(n) 的 傅里叶变换 是 原序列傅里叶变换 的 共轭对称序列 )
  4. Apache Kafka-通过concurrency实现并发消费
  5. 行云万里,转型未来 | 行云创新受邀参加2019中国.NET开发者峰会
  6. vnr光学识别怎么打开_干货|指纹锁的指纹识别模块的前世今生,智能锁的指纹识别到底有多智能?...
  7. cdgb调试linux崩溃程序
  8. VScode+MarkDown导出PDF图片显示问题
  9. axios post object object_Vue前端开发——数据交互axios
  10. C语言涉及数组的大作业,c语言大作业_基于数组的学生信息管理系统.doc
  11. Linux中tshark(wireshark)抓包工具使用方法详解
  12. php tp5 plugins,thinkphp5(tp5)使用cli模式运行
  13. python常用数学符号_数学菜鸟的AI学习攻略-AI学习常用数学符号 - 老牛博客
  14. AES256加解密与异常处理
  15. FAT学习笔记(四)——Dir Entry
  16. 制图小课堂:美国机场可视化黑白围棋风格专题
  17. go 学习笔记之解读什么是defer延迟函数
  18. Hadoop 的sbin/start-dfs.sh 启动 报错
  19. cairo填充_Cairo图形指南
  20. Microsoft fsx 飞行模拟器 SDK的一些心得

热门文章

  1. 计算机接口与通信技术考试题,全国2010年10月自学考试计算机通信接口技术试题...
  2. server sql 数据c盘迁移d盘_oracle 11g dbf数据文件从C盘迁移到D盘
  3. matlab数据可视化总结,机器学习----Matlab数据可视化总结(plot篇)
  4. python输入输出流详解_输入输出流的概念
  5. 【lidar】3D目标检测PointPillars:论文解读、代码解读、部署实现(2)
  6. kobject_create_and_add
  7. 吴恩达神经网络和深度学习——第三周笔记
  8. c语言resource files的作用,c – resource.h中的宏用于什么?
  9. stream filter 用法_JDK1.8新特性Stream和Collectors19个常用示例总结
  10. opencv c++ 寻找矩形框_基于Python的OpenCV人脸检测!OpenCV太强了!