?? 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 + -