RH要先设置网卡#netconf

把IP和DNS设置成如下的。

IP地址:192.168.0.1

掩码:

255.255.255.0

DNS (下面以广东佛山为例,各地的ISP 均有不同的DNS )

202.96.134.133

202.96.168.68

不要设置网关

然后再来设置ADSL。这一处,我们要用命令。

#adsl-setup

Welcome to the Roaring Penguin ADSL client setup. First, I will run some checks on your system to make sure the PPPoE

client is installed properly...

Looks good! Now, please enter some information:

USER NAME

>>> Enter your PPPoE user name (default XXX): 在这里输入ADSL的用户名

INTERFACE

>>> Enter the Ethernet interface connected to the ADSL modemFor Solaris, this is likely to be something like /dev/hme0.

For Linux, it will be ethn, where 'n' is a number.(default 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 secondsafter 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):不用写什么

DNS

Please enter the IP address of your ISP's primary DNS server.If your ISP claims that 'the server will provide 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.134.133 下一个DNS是202.96.168.68

PASSWORD

>>> Please enter your PPPoE password:输入密码

>>> Please re-enter your PPPoE password:再输入一次

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 whichallocate 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):这里添写为2

** Summary of what you entered **

Ethernet Interface: eth0

User name: XXX

Activate-on-demand: No

DNS: Do not adjust

Firewalling: MASQUERADE

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

弄完后,就按一个y键。

用adsl-start来启动ADSL。如果不成功就重启一下计算机。

如果再不成功呢????要发以下文件的内容:

/etc/sysconfig/network-scripts/ifcfg-eth0

/etc/ppp/pppoe.conf

/etc/resolv.conf

/etc/sysconfig/network-scripts/net_cnx_up

本文出自:亿恩科技【www.enkj.com】

linux拨号软件,Linux 下的宽带ADSL拨号软件“rp-pppoe”使用设置相关推荐

  1. linux系统如何拨号上网连接,教你在Linux下如何使用ADSL拨号上网

    教你在Linux下如何使用ADSL拨号上网 发布时间:2007-10-29 10:22:09来源:红联作者:demon 一.如果是新手刚开始使用Linxu的话,可用图形界面: 办法:直接在网络里建立新 ...

  2. c语言adsl拨号写法,用C#写的ADSL拨号程序的代码示例

    ADSL自动拨号类,前提是在系统中已经有了一个宽带拨号连接 调用代码: RASDisplay ras = new RASDisplay(); ras.Disconnect();//断线 ras.Con ...

  3. Linux mint19系統下安装QQ微信通讯软件

    第一步:安装deepin-wine环境 在此網站页面下載zip包(deepin-wine-ubuntu-master.zip) 用unzip 命令解壓下載的文件解压到本地文件夹 unzip deepi ...

  4. 如何在linux下进行ADSL拨号!

    安装拨号软件 首先,你必须安装相应的ADSL拨号软件.平常用的redhat发行版本中,带有pp poe这个rpm包. 我们通过下面的命令实现: [root@www root]# rpm -qa|gre ...

  5. 如何在linux下进行ADSL拨号

    如何在linux下进行ADSL拨号 cowboy chenzizhao@hotmail.com 2004-04-21 目录 背景 安装拨号软件 配置网卡 配置拨号软件 测试拨号 结束 背景 本来很简单 ...

  6. 水星宽带拨号上网服务器无响应,宽带连接时错误678问题怎么解决【解决方法】...

    宽带连接错误678是宽带adsl拨号上网用户常常遇到的故障提示,简单地说就是网络不通了.那么 宽带连接时错误678怎么办 ?如何解决? 宽带连接显示错误678,其含义是使用ADSL拨号的时候,本地计算 ...

  7. 删除下拉框只找23火星软件_下拉推广选择23火星软件

    不管你是微商还是实体店或是中小企业的老板,都会有以下令人头疼的问题,产品没有销量?没有意向客户?招不到代理?怎么办? 我们就是用百度下拉框业务,让精准客源,意向客户主动来联系你! 详情请咨询微信:yu ...

  8. 10 款下载量最高的 Mac 软件分享

    给大家分享 10 款 MacBook 上非常受欢迎的软件,下载量非常高.以下软件均可在Mac毒站内下载. 1. Downie -- Mac上最好的视频下载器 Downie for Mac 是一款 Ma ...

  9. linux修改宽带拨号密码,linux 下 adsl 拨号设置

    3.ADSL配置 配置好服务器的基本环境后,开始进行ADSL拨号设置,设置的时候发现系统中怎么都找不到adsl- setup命令,别的如adsl-start .adsl-connect等都有.实在没有 ...

最新文章

  1. IIS的应用程序池优化方法
  2. 1年将30PB数据迁移到Spark,eBay的经验有何可借鉴之处?
  3. VS Code 1.37 发布!多达数十个图标迎来全新设计
  4. M - Kill the tree 计蒜客 - 42552(2019icpc徐州/树的重心/树形dp)
  5. java 168转换成861_java实验-java语言面向对象编程基础
  6. 开源风云 20 年!
  7. 《一》Android 数据库 SQlite SQLiteOpenHelper
  8. 期刊论文格式模板 电子版_期刊论文发表流程是怎样的呢?
  9. 计算机excer试题,计算机电子表格excel练习题
  10. 基于java小区物业管理系统(含源文件)
  11. 批量生成条形码——《超级处理器》应用
  12. Steaming技术初体验
  13. 芝加哥大学计算机应用数学专业排名,美国大学应用数学专业排名
  14. android 黑屏定位,如何将黑屏Android修复为正常
  15. 微软电脑管家V2.1公测版正式发布
  16. autocad 2021 mac中文版
  17. JDO 与 Hibernate
  18. Word设置1之后页码全是1怎么解决?
  19. 用Tushare下载A股所有股票数据
  20. 桂电校易班工作站电脑系统(HP)重装

热门文章

  1. 群晖服务器共享文件忘记密码,群晖Synology忘记管理员密码的重置办法
  2. 2019年江苏省科技成果转化专项资金项目做了哪些调整
  3. 深入讲解DRM架构介绍(一)
  4. drm学习笔记3-DRI介绍
  5. 程序员揭秘:左右脑年龄测试刷屏票圈的真实内幕
  6. 《天池龙珠 - SQL训练营》03.SQL进阶:复杂查询方法-视图、子查询、函数等
  7. 计算长方形的周长和面积(类和对象java)
  8. 还不懂K8S各核心架构组件?来白嫖啊~
  9. 【算法leetcode】2331. 计算布尔二叉树的值(多语言实现)
  10. 最新校招备战攻略,AI知识要点+面试笔记,GitHub超2万星