📄 redhat9上adsl最终解决方案.htm
字号:
<!--本网页文件由电子书制作工具“电子文档处理器”未注册版本的Txt2Html功能自动生成 -->
<!-- Made by an Unregistered version of eTextWizard V 1.98-->
<!--“电子文档处理器”软件作者: 冯国华 -->
<!--“电子文档处理器”下载地址: http://www.etextwizard.com/download/ew/etextwizard.exe -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB2312">
<title>REDHAT9上ADSL最终解决方案</title>
<meta name="GENERATOR" content="eTextWizard V 1.98 Build 550">
<style>
<!--
body { line-height: 20px}
td { line-height: 20px}
.Paragraph{ font-size: 9pt }
.9{ font-size: 9pt }
A:link {text-decoration: none; color:#0033CC}
A:visited {text-decoration: none; color: #0033CC}
A:active {text-decoration: none; color: #0000ff }
A:hover {text-decoration: underline; color: #FF0000 }
-->
</style>
</head>
<body bgcolor="#FFFFFF">
<div align="center"><center>
<table border="0" cellpadding="0" cellspacing="0" width="80%">
<tr>
<td width="80%" bgcolor="#000000">
<table border="0" cellspacing="1" width="100%" cellpadding="6" height="98">
<tr>
<td width="100%" bgcolor="#FFFFFD" height="20">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="100%"><p align="right" class="9"><a href="Redhat9基于%20NFS%20的安装方法.htm">上一页</a> <a href="index.html">目录</a> <a href="rpm命令参数列表.htm">下一页</a> </td>
</tr>
</table>
</td>
</tr>
<tr bgcolor="#FFCC00">
<td width="100%" height="21">
<p align="center"><strong>REDHAT9上ADSL最终解决方案</strong>
</td>
</tr>
<tr bgcolor="#FFF5D0">
<td width="100%" height="51" align=center>
<table><tr><td><p class="Paragraph"><br>
REDHAT9上ADSL最终解决方案!
<br>
<br>在LINUXSIR和LINUXFANS上看了很多关于ADSL的文章,都没有解决我的REDHAT9上ADSL上网的问题,今天实在是没有办法,重新建立连接,曲折的经历,终于上网了(非常激动,可能表达的不是很好),特的写下我的过程,作为参考:
<br>
<br>REDHAT默认的PPPOE有问题,需要RPM -E,然后,安装这个
<br><a href="http://www.roaringpenguin.com/pppoe/rp-pppoe-3.5.tar.gz">http://www.roaringpenguin.com/pppoe/rp-pppoe-3.5.tar.gz</a>
<br>解压和安装:
<br>#tar zxvf rp-pppoe-3.5.tar.gz
<br>进入解压目录执行
<br>#sh ./go
<br>
<br>
<br>然后再来设置ADSL。这一处,我们要用命令。
<br>
<br>#adsl-setup
<br>
<br>
<br>Welcome to the Roaring Penguin ADSL client setup. First, I will run
<br>some checks on your system to make sure the PPPoE client is installed
<br>properly...
<br>
<br>Looks good! Now, please enter some information:
<br>
<br>USER NAME
<br>
<br>>>> Enter your PPPoE user name (default XXX): 在这里输入ADSL的用户名
<br>
<br>INTERFACE
<br>
<br>>>> Enter the Ethernet interface connected to the ADSL modem
<br>For Solaris, this is likely to be something like /dev/hme0.
<br>For Linux, it will be ethn, where 'n' is a number.
<br>(default eth0):如果一张网卡就设置写上eth0
<br>
<br>Do you want the link to come up on demand, or stay up continuously?
<br>If you want it to come up on demand, enter the idle time in seconds
<br>after which the link should be dropped. If you want the link to
<br>stay up permanently, enter 'no' (two letters, lower-case.)
<br>NOTE: Demand-activated links do not interact well with dynamic IP
<br>addresses. You may have some problems with demand-activated links.
<br>>>> Enter the demand value (default no):不用写什么
<br>
<br>DNS
<br>Please enter the IP address of your ISP's primary DNS server.
<br>If your ISP claims that 'the server will provide DNS addresses',
<br>enter 'server' (all lower-case) here.
<br>If you just press enter, I will assume you know what you are
<br>doing and not modify your DNS setup.
<br>>>> Enter the DNS information here:在这里写上202.96.134.133
<br>下一个DNS是202.96.168.68 //这里根据个人不同可以修改
<br>
<br>PASSWORD
<br>
<br>>>> Please enter your PPPoE password:输入密码
<br>>>> Please re-enter your PPPoE password:再输入一次
<br>
<br>FIREWALLING
<br>
<br>Please choose the firewall rules to use. Note that these rules are
<br>very basic. You are strongly encouraged to use a more sophisticated
<br>firewall setup; however, these will provide basic security. If you
<br>are running any servers on your machine, you must choose 'NONE' and
<br>set up firewalling yourself. Otherwise, the firewall rules will deny
<br>access to all standard servers like Web, e-mail, ftp, etc. If you
<br>are using SSH, the rules will block outgoing SSH connections which
<br>allocate a privileged source port.
<br>
<br>The firewall choices are:
<br>0 - NONE: This script will not set any firewall rules. You are responsible
<br>for ensuring the security of your machine. You are STRONGLY
<br>recommended to use some kind of firewall rules.
<br>1 - STANDALONE: Appropriate for a basic stand-alone web-surfing workstation
<br>2 - MASQUERADE: Appropriate for a machine acting as an Internet gateway
<br>for a LAN
<br>>>> Choose a type of firewall (0-2):这里添写为2
<br>
<br>** Summary of what you entered **
<br>
<br>Ethernet Interface: eth0
<br>User name: XXX
<br>Activate-on-demand: No
<br>DNS: Do not adjust
<br>Firewalling: MASQUERADE
<br>
<br>>>> Accept these settings and adjust configuration files (y/n)?
<br>
<br>弄完后,就按一个y键。
<br>(以上为北南兄文章里面内容)
<br>不要急于连接,REBOOT -N
<br>然后进入网络设置,设置ETH1固定IP,停止ETH1(我的是用他)
<br>然后ADSL-START
<br>PING 你的DNS,如果可以,那么,恭喜你!
<br>如果不行,REBOOT -N
<br>ADSL-START,这下没问题啦,尽情享受吧!
<br>其中部分内容可能不同,仅作参考,主要在连接后,能够PING通DNS即可!
<br>
<br> <br></p></td></tr></table></td>
</tr>
<tr>
<td width="100%" bgcolor="#FFFFFD" height="20"><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="100%"><p align="right" class="9"><a href="Redhat9基于%20NFS%20的安装方法.htm">上一页</a> <a href="index.html">目录</a> <a href="rpm命令参数列表.htm">下一页</a> </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</center></div>
<p align=center><font size=1>Made by an Unre<!--2005-1-20 9:45:58 -->gistered version of <a href=http://www.etextwizard.com target=_blank>eTextWizard</a> V 1.98</font></p></body>
</html>
<!-- Made by an Unregistered version of eTextWizard V 1.98-->
<!--本网页文件由电子书制作工具“电子文档处理器”未注册版本的Txt2Html功能自动生成 -->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -