📄 859.html
字号:
name=header_r1_c1></A></TD>
<TD colSpan=3>
<form action="http://www.linuxhero.com/docs/search.html" method=get>
<table
style="BORDER-RIGHT: #c4c4c4 1px solid; BORDER-TOP: #c4c4c4 1px solid; BORDER-LEFT: #c4c4c4 1px solid; BORDER-BOTTOM: #c4c4c4 1px solid"
cellspacing=0 cellpadding=3 width="95%" border=0 align="center">
<tbody>
<tr>
<td noWrap background="images/bgline.gif" tppabs="http://www.linuxhero.com/docs/images/bgline.gif">
<div align=center><font class=normalfont>搜索文章:
<input type=hidden value=result name=action2>
<input type=radio checked value=title name=type>标题
<input type=radio value=content name=type>内容
<input type=image src="images/button_go.gif" tppabs="http://www.linuxhero.com/docs/images/button_go.gif" border=0 name=image2>
</font></div>
</td>
</tr>
<tr>
<td noWrap>
<div align="center">
<input maxlength=100 size=30 name=keyword2>
</div>
</td>
</tr></tbody>
</table>
</form>
</TD>
<TD rowSpan=2><IMG src="images/header_r1_c7.gif" tppabs="http://www.linuxhero.com/docs/images/header_r1_c7.gif" width=26 border=0 name=header_r1_c7></TD>
<TD><IMG height=83 src="images/spacer.gif" tppabs="http://www.linuxhero.com/docs/images/spacer.gif" width=1 border=0></TD></TR>
<TR>
<TD background="images/bgline.gif" tppabs="http://www.linuxhero.com/docs/images/bgline.gif"><IMG height=22
src="images/header_r2_c1.gif" tppabs="http://www.linuxhero.com/docs/images/header_r2_c1.gif" width=296 border=0
name=header_r2_c1></TD>
<TD background="images/bgline.gif" tppabs="http://www.linuxhero.com/docs/images/bgline.gif" colSpan=5>
<DIV align=right><FONT class=normalfont>当前位置:
<A href="index.html" tppabs="http://www.linuxhero.com/docs/index.html">本站首页</A>
<font color="#FF6699">>></font>
<A href="type11.html" tppabs="http://www.linuxhero.com/docs/type11.html">网络配置</A> | <A href="copyright.html" tppabs="http://www.linuxhero.com/docs/copyright.html">版权说明</A></font></DIV>
</TD>
<TD><IMG height=22 src="images/spacer.gif" tppabs="http://www.linuxhero.com/docs/images/spacer.gif" width=1
border=0></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=10 cellPadding=0 width="100%" bgColor=#ffffff
border=0>
<TR>
<TD>
<TABLE cellSpacing=0 cellPadding=3 width="100%" border=0>
<TR>
<TD vAlign=top align=middle width="60%">
<TABLE cellSpacing=0 cellPadding=0 width="100%"
background="images/back.gif" tppabs="http://www.linuxhero.com/docs/images/back.gif" border=0>
<TBODY>
<TR>
<TD vAlign=top width="80%">
<DIV align=center>
<FORM action="search.html" tppabs="http://www.linuxhero.com/docs/search.html" method=get>
</FORM>
<TABLE cellSpacing=0 cellPadding=0 width="95%"
border=0><TBODY>
<TR>
<TD background="images/bgi.gif" tppabs="http://www.linuxhero.com/docs/images/bgi.gif"
height=30></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=3 width="95%"
align=center border=0>
<TBODY>
<TR>
<TD>
<TABLE cellSpacing=0 cellPadding=3 width="100%"
border=0>
<TBODY>
<TR>
<TD vAlign=top>
<p><FONT class=normalfont><B><font color=blue>adsl共享上网</font></B></FONT><BR><FONT class=smallfont color=#ff9900>2004-04-23 15:18 pm</FONT><BR><FONT class=normalfont>作者:作者<br>来自:Linux知识宝库<br>联系方式:无名<br><br>一、操作环境:<br>
机器系统与配置:三台机器的关健部件<br>
第一台:台式机,双网卡,8139和8029,操作系统RedHat 8.0<br>
第二台:Toshiba notebook,PC卡。RTL-8139/8139C/8139C+,操作系统RedHat 8.0<br>
第三台:台式机,8029网卡,操作系统windowme<br>
Hub[集线器]:Tp-Link 10M,8口<br>
ADSL,乙太口,非路由。<br>
二、网卡设置如下:<br>
在第一台机器的双网卡的接法:把ADSL接在eth0上,把eth1接在HUB上。<br>
第一块网卡的ip设置:<br>
ip地址:192.168.0.1<br>
掩码:255.255.255.0<br>
第二块网卡的设置<br>
ip地址:192.168.0.2<br>
掩码:255.255.255.0<br>
在这两块网卡中,不要设置网关。<br>
++++++++++++++++++++++++++++++++++++++++<br>
第二台:Toshiba notebook的网卡设置<br>
IP:192.168.0.6<br>
掩码:255.255.255.0<br>
网关:192.168.0.1<br>
DNS:设置电信给的,或者下面的也行<br>
202.96.134.133<br>
202.96.168.68<br>
++++++++++++++++++++++++++++++++++++++++<br>
第三台机器的网卡设置<br>
P:192.168.0.8<br>
掩码:255.255.255.0<br>
网关:192.168.0.1<br>
DNS:设置电信给的,或者下面的也行<br>
202.96.134.133<br>
202.96.168.68<br>
三、设置ppp拔号,<br>
1]删除原来的ppp的ADSL链接。<br>
如果redhat-config-network原来已经用 redhat-config-network设置的ppp的ADSL连接拔号,用下面的命令调用删除。<br>
#redhat-config-network<br>
2]在终端上以root权限运行<br>
#adsl-setup<br>
进入设置过程:<br>
Welcome to the ADSL client setup. First, I will run some checks on<br>
your system to make sure the PPPoE client is installed properly...<br>
<br>
LOGIN NAME<br>
<br>
Enter your Login Name (default root): 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 ethX, where X is a number.<br>
(default eth0): eth0这是ADSL通过第一台机器的第一张网卡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>
<br>
Please enter the IP address of your ISPs primary DNS server.<br>
If your ISP claims that the server will provide dynamic 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这是DSN,最好用你本地电信给的<br>
Please enter the IP address of your ISPs secondary DNS server.<br>
If you just press enter, I will assume there is only one DNS server.<br>
Enter the secondary DNS server address here: 202.96.168.68这是第二个DNS,也是电信给的。<br>
<br>
PASSWORD<br>
<br>
Please enter your Password:在这里把ADSL提供商给的密码写上<br>
Please re-enter your Password:<br>
<br>
USERCTRL<br>
<br>
Please enter yes (two letters, lower-case.) if you want to allow<br>
normal user to start or stop DSL connection (default yes): yes<br>
<br>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -