⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 linux 网络接口配置文件及相关工具 (v0_1b) linuxsir_org.htm

📁 linuxSir 网站的精华文章
💻 HTM
📖 第 1 页 / 共 4 页
字号:
      for a machine acting as an Internet 
      gateway<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for 
      a LAN<BR>&gt;&gt;&gt; Choose a type of firewall (0-2): 2 
      注:在这里写上2,可以共享上网的;当然还得加一条防火墙规划 ;<BR>Ethernet Interface: eth0<BR>User name: 
      dxxx<BR>Activate-on-demand: No<BR>Primary DNS: 202.96.134.133<BR>Secondary 
      DNS: 202.96.128.143<BR>Firewalling: MASQUERADE<BR>&gt;&gt;&gt; Accept 
      these settings and adjust configuration files (y/n)? y 
      注:是不是保存配置;</CODE></DIV>
      <P></P>
      <P><B>关于共享上网,请参考:</B><A 
      href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=12515">《ADSL共享上网的解决办法》</A></P>
      <P><FONT id=5.2 size=3><B><BR>5.2 普通猫的拔号工具介绍;<BR></B></FONT></P>
      <P>普通猫分为串口和PCI的,请查看 <A 
      href="http://www.linuxsir.org/main/?q=node/218">《关于网络设备概述 》</A></P>
      <P>普通猫的拔号工具主要有kppp和wvdial;在Redhat/Fedora中,用system-config-network 
      或redhat-config-network 也能设置ppp拔号;</P>
      <P>在KDE桌面环境下,大家一般都用kppp拔号工具,点鼠标就可以完成;</P>
      <P>wvdial工具是文本的,几乎在各大发行版都有。wvdial的配置文件是/etc/wvdial.conf 
      。如果您的猫已经驱动好了,运行一下wvdialconf命令就生成了/etc/wvdial.conf了 。当然您得查看一下它的内容;</P>
      <P>
      <DIV class=codeblock><CODE>[root@localhost ~]# 
      wvdialconf<BR>[root@localhost ~]# more /etc/wvdial.conf</CODE></DIV>
      <P></P>
      <P>关于wvdial工具的使用,请查看<A href="http://www.linuxsir.org/main/?q=node/223">《普通 
      56K猫拔号上网工具 wvdial 介绍》</A></P>
      <P><FONT id=6 size=4><B><BR>6、无线网卡;<BR></B></FONT></P>
      <P>正在更新之中;由于我没有这样的网卡,是否有弟兄写一篇详尽一点的?在所有涉及无线网卡的文档中,这块都是空白。缺的就是这个。</P>
      <P>看来我是得弄一块无线网卡了。。。。。。</P>
      <P><FONT id=7 
      size=4><B><BR>7、DNS客户端配置文件/etc/resolv.conf;<BR></B></FONT></P>
      <P>本来不应该把DNS客户端配置文件放在这里来说,但由于新手弟兄上网时,虽然能拔号,但不能以域名访问。究其原因是由于没有修改 
      /etc/resolv.conf 文件;<BR>/etc/resolv.conf 
      里面存放的是各大通信公司DNS服务器列表;下面的三个地址可以用一用;当然您可以打电话问你的服务商;</P>
      <P>
      <DIV class=codeblock><CODE>nameserver 202.96.134.133<BR>nameserver 
      202.96.128.143<BR>nameserver 202.96.68.38</CODE></DIV>
      <P></P>
      <P><FONT id=8 size=4><B><BR>8、关于本文;<BR></B></FONT></P>
      <P>本文写了常用的乙太网接口的配置,介绍了ifconfig 、netconfig 
      等,我感觉最重要的还是配置文件,新手弟兄还是仔细看看配置文件吧。当您用工具配置完成后,不妨查看一下相应配置文件的变化。我认为这样的学习方式,能知其然,然后知所以然;</P>
      <P>—— 北南南北 at LinuxSir.Org 2006-07-05</P>
      <P><FONT id=9 size=4><B><BR>9、更新日志;<BR></B></FONT></P>
      <P>2006-07-05 v0.1b 初稿完成;</P>
      <P><FONT id=10 size=4><B><BR>10、参考文档;<BR></B></FONT></P>
      <P>man 和help ;</P>
      <P><FONT id=11 size=4><B><BR>11、相关文档;<BR></B></FONT></P>
      <P><BR></P></DIV>
      <DIV class=links>By 北南南北 at 2006/07/05 - 22:49 | <A 
      href="http://www.linuxsir.org/main/?q=taxonomy/term/55">网络基础</A> | <A 
      href="http://www.linuxsir.org/main/?q=taxonomy/term/30">网络工具</A> | <A 
      href="http://www.linuxsir.org/main/?q=taxonomy/term/1">Linux</A> | <A 
      href="http://www.linuxsir.org/main/?q=taxonomy/term/22">硬件解决</A> | <A 
      title=共享你有关本文的思想和意见。 
      href="http://www.linuxsir.org/main/?q=comment/reply/224#comment">参与评论</A> 
      | 3457 阅读</DIV></DIV><A id=comment></A>
      <FORM action=?q=comment method=post>
      <DIV><INPUT type=hidden value=224 name=edit[nid]> <A id=comment-569></A>
      <DIV class=comment>
      <H3 class=title><A class=active 
      href="http://www.linuxsir.org/main/?q=node/224#comment-569">关于无线网卡</A></H3>
      <DIV class=content>
      <P>平常所说的无线网卡主要有两种:无线网卡(wlan)和无线上网卡(cdma1x、gprs)。wlan无线网卡是以太网卡的一种,遵循ieee802.11a/b/g等协议,速率主要有11Mbps和54Mbps,最新的802.11n标准速率为108Mbps。wlan无线网卡和普通网卡的差别就是物理层的不同,普通网卡是双绞线或光纤,无线网卡是看不见的信道。所以wlan无线网卡在linux系统中装好驱动程序之后,在系统中会出现ethx设备,和普通网卡一样使用。如果要实现加密和认证的话就需要使用额外的工具软件了。<BR>而无线上网卡(cdma1x、gprs)和电话线的猫类似,直接接入广域网,除了安装硬件的驱<BR>动程序以外,还要安装拨号程序,一般在附带的光盘中提供。如果厂家提供for 
      linux的版本,linux系统中就可以使用。</P></DIV>
      <DIV class=links>By Anonymous at 周二, 2006/07/18 - 15:11 | <A 
      href="http://www.linuxsir.org/main/?q=comment/reply/224/569">回复</A></DIV></DIV><A 
      id=comment-550></A>
      <DIV class=comment>
      <H3 class=title><A class=active 
      href="http://www.linuxsir.org/main/?q=node/224#comment-550">感谢</A></H3>
      <DIV class=content>
      <P>大大...真是感激你的贡献啊~</P></DIV>
      <DIV class=links>By Anonymous at 周四, 2006/07/06 - 20:43 | <A 
      href="http://www.linuxsir.org/main/?q=comment/reply/224/550">回复</A></DIV></DIV>
      <DIV style="MARGIN-LEFT: 25px"><A id=comment-551></A>
      <DIV class=comment>
      <H3 class=title><A class=active 
      href="http://www.linuxsir.org/main/?q=node/224#comment-551">谢谢兄弟支持,正在努力</A></H3>
      <DIV class=content>
      <P>不客气,写文档对我来说也是一个挑战。</P>
      <P>活到老,学到老。不仅仅分享,也有自我提高的成份。<BR>哈哈。。。。</P></DIV>
      <DIV class=links>By 北南南北 at 周五, 2006/07/07 - 14:46 | <A 
      href="http://www.linuxsir.org/main/?q=comment/reply/224/551">回复</A></DIV></DIV></DIV></DIV></FORM><!-- end content -->
      <DIV id=footer>
      <CENTER><A href="http://www.linuxsir.org/"><IMG 
      src="Linux 网络接口配置文件及相关工具 (v0_1b)  LinuxSir_Org.files/logo.jpg"></A> <BR><A 
      href="http://www.miibeian.gov.cn/"><FONT color=blue 
      size=3><B>闽ICP备06025536号</B></FONT></A><BR>
      <SCRIPT language=JavaScript 
      src="Linux 网络接口配置文件及相关工具 (v0_1b)  LinuxSir_Org.files/cyberpolice.htm"></SCRIPT>
      <BR><A href="http://www.linuxsir.org/main/?q=node/78"><FONT color=blue 
      size=3><B>© 2002-2006 
    LinuxSir.Org</B></FONT></A><BR></CENTER></DIV></FONT></TD>
    <TD id=sidebar-right>
      <DIV class="block block-block" id=block-block-2>
      <H2 class=title>基础知识</H2>
      <DIV class=content>
      <UL>
        <LI><A href="http://www.linuxsir.org/main/?q=taxonomy/term/23">安装配置</A> 
        <LI><A 
        href="http://www.linuxsir.org/main/?q=taxonomy/term/1/25/">基础入门</A> 
        <LI><A href="http://www.linuxsir.org/main/?q=taxonomy/term/22/">硬件解决</A> 

        <LI><A href="http://www.linuxsir.org/main/?q=taxonomy/term/21">软件管理</A> 
        <LI><A 
        href="http://www.linuxsir.org/main/?q=taxonomy/term/35/48/">重要资源</A> 
        </LI></UL></DIV></DIV>
      <DIV class="block block-block" id=block-block-4>
      <H2 class=title>软件应用</H2>
      <DIV class=content>
      <UL>
        <LI><A href="http://www.linuxsir.org/main/?q=taxonomy/term/30">网络工具</A> 
        <LI><A href="http://www.linuxsir.org/main/?q=taxonomy/term/32">图形图像</A> 
        <LI><A href="http://www.linuxsir.org/main/?q=taxonomy/term/31">音乐视频</A> 
        <LI><A href="http://www.linuxsir.org/main/?q=taxonomy/term/49">字体中文</A> 
        <LI><A href="http://www.linuxsir.org/main/?q=taxonomy/term/33">软件其它</A> 
        </LI></UL></DIV></DIV>
      <DIV class="block block-block" id=block-block-5>
      <H2 class=title>网络服务器</H2>
      <DIV class=content>
      <UL>
        <LI><A href="http://www.linuxsir.org/main/?q=taxonomy/term/27">文件服务器<A> 
        <LI><A 
        href="http://www.linuxsir.org/main/?q=taxonomy/term/28">Web服务器</A> 
        <LI><A href="http://www.linuxsir.org/main/?q=taxonomy/term/29">邮件服务器</A> 

        <LI><A href="http://www.linuxsir.org/main/?q=taxonomy/term/37">数据库应用</A> 

        <LI><A href="http://www.linuxsir.org/main/?q=taxonomy/term/50">服务器其它</A> 
        </LI></UL></DIV></DIV>
      <DIV class="block block-comment" id=block-comment-0>
      <H2 class=title>最新评论</H2>
      <DIV class=content>
      <DIV class=item-list>
      <UL>
        <LI><A 
        href="http://www.linuxsir.org/main/?q=node/226#comment-631">哈哈</A><BR>20 
        min 19 sec 前
        <LI><A 
        href="http://www.linuxsir.org/main/?q=node/140#comment-630">http://www.linuxsir.org/main/?q=node/140#comment-630</A><BR>4 
        hours 58 min 前
        <LI><A 
        href="http://www.linuxsir.org/main/?q=node/10#comment-628">压缩:</A><BR>1 
        day 8 hours 前
        <LI><A 
        href="http://www.linuxsir.org/main/?q=node/178#comment-627">不行</A><BR>1 
        day 13 hours 前
        <LI><A 
        href="http://www.linuxsir.org/main/?q=node/158#comment-626"></A><BR>2 
        days 4 hours 前
        <LI><A 
        href="http://www.linuxsir.org/main/?q=node/42#comment-625">太感谢了</A><BR>2 
        days 8 hours 前
        <LI><A 
        href="http://www.linuxsir.org/main/?q=node/222#comment-624">错了</A><BR>2 
        days 23 hours 前
        <LI><A 
        href="http://www.linuxsir.org/main/?q=node/222#comment-623">q</A><BR>2 
        days 23 hours 前
        <LI><A 
        href="http://www.linuxsir.org/main/?q=node/222#comment-622">有些道理</A><BR>2 
        days 23 hours 前
        <LI><A 
        href="http://www.linuxsir.org/main/?q=node/219#comment-621">"内置的摄像头也能用这个吗?"</A><BR>3 
        days 13 hours 
前</LI></UL></DIV></DIV></DIV></TD></TR></TBODY></TABLE></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -