首先安装好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. JavaScript学习(十)
  2. 【Linux】一步一步学Linux——dpkg-deb命令(270)
  3. 中奖人员信息向上滚动
  4. 对象数组快速掌拨 java 0913
  5. 海报PSD分层促销模板|深层剖析设计套路
  6. vue element menu侧边导航栏
  7. java 由接口构造对象_Java学习笔记04——类和对象|抽象和接口|构造方法与继承...
  8. 使用DataAnnotations实现数据验证
  9. SAS详细的下载与安装流程
  10. 信息安全工程师(软考资料)
  11. 【java毕业设计】基于javaEE+原生Servlet+MySql的酒店管理系统设计与实现(毕业论文+程序源码)——酒店管理系统
  12. 物联网--ESP32开发笔记(2) domoticz mqtt的一些坑的记录
  13. MobPush for Flutter
  14. 天天背单词--的设计与实现(一)
  15. IntelliJ IDEA 2022.2正式发布,支持Spring Boot 3和Spring 6
  16. 机床电气电路综合实训考核鉴定,典型机床电气控制,QY-JCDQ07
  17. 简单介绍一下CAD做三维图的REVOLVE指令
  18. 计算机设备耗材管理,计算机耗材管理办法
  19. 开发者如何赶上 5G 风口?
  20. 苹果备忘录功能还没用过?iPhone备忘录全功能介绍

热门文章

  1. js 多维数组长度_C++申请与释放动态数组1(学习笔记:第6章 16)
  2. 3dmax材质通道插件_为什么3dmax插件这么多都不会整合一下呢?
  3. 使用Python,OpenCV,K-Means聚类查找图像中最主要的颜色
  4. DenthDepth:深度估计(三维场景构建)——单目视觉挑战激光雷达
  5. tensorflow youtube的一点笔记
  6. 2019南昌网络赛 C题,Hello 2019
  7. PCL点云配准(3)
  8. C 多线程编程之在类中使用多线程(thread)的方法
  9. 【人尽其才】颠覆思维☞合理分配工作
  10. python多线程下的信号处理程序示例