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

📄 iproute2.html

📁 CLFS(Cross-Compiled Linux From Scratch)的文档 Version CLFS-SVN-20060417
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml">  <head>    <meta http-equiv="Content-Type" content=    "application/xhtml+xml; charset=iso-8859-1" />    <title>      10.28.&nbsp;IPRoute2-2.6.15-060110    </title>    <link rel="stylesheet" href="../stylesheets/lfs.css" type="text/css" />    <meta name="generator" content="DocBook XSL Stylesheets V1.69.1" />    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=    "text/css" media="print" />  </head>  <body id="lfs" class="CLFS-SVN-20060417-MIPS">    <div class="navheader">      <div class="headertitles">        <h4>          Cross-Compiled Linux From Scratch - Version CLFS-SVN-20060417-MIPS        </h4>        <h3>          Chapter&nbsp;10.&nbsp;Installing Basic System Software        </h3>      </div>      <ul class="headerlinks">        <li class="prev">          <a accesskey="p" href="perl.html" title="Perl-5.8.8">Prev</a>          <p>            Perl-5.8.8          </p>        </li>        <li class="next">          <a accesskey="n" href="texinfo.html" title="Texinfo-4.8">Next</a>          <p>            Texinfo-4.8          </p>        </li>        <li class="up">          <a accesskey="u" href="chapter.html" title=          "Chapter&nbsp;10.&nbsp;Installing Basic System Software">Up</a>.        </li>        <li class="home">          <a accesskey="h" href="../index.html" title=          "Cross-Compiled Linux From Scratch - Version CLFS-SVN-20060417-MIPS">          Home</a>        </li>      </ul>    </div>    <div class="wrap" lang="en" xml:lang="en">      <div class="titlepage">        <h1 class="sect1">          10.28. IPRoute2-2.6.15-060110        </h1>      </div>      <div class="package" lang="en" xml:lang="en">        <p>          The IPRoute2 package contains programs for basic and advanced          IPV4-based networking.        </p>        <div class="segmentedlist">          <div class="seglistitem">            <div class="seg">              <strong><span class="segtitle">Installation depends              on:</span></strong> <span class="seg">Bash, Bison, Coreutils,              GCC, Glibc, Make, Linux-Libc-Headers, and Sed</span>            </div>          </div>        </div>      </div>      <div class="installation" lang="en" xml:lang="en">        <div class="titlepage">          <h2 class="sect2">            10.28.1. Installation of IPRoute2          </h2>        </div>        <p>          The <span><strong class="command">arpd</strong></span> binary          included in this package is dependent on Berkeley DB. Because          <span><strong class="command">arpd</strong></span> is not a very          common requirement on a base Linux system, remove the dependency on          Berkeley DB by applying the <span><strong class=          "command">sed</strong></span> command below. If the          <span><strong class="command">arpd</strong></span> binary is          needed, instructions for compiling Berkeley DB can be found in the          BLFS Book at <a href=          "http://www.linuxfromscratch.org/blfs/view/svn/server/databases.html#db">          <i>http://www.linuxfromscratch.org/blfs/view/svn/server/databases.html#db</i></a>.        </p>        <pre class="userinput"><kbd class="command">sed -i '/^TARGETS/s@arpd@@g' misc/Makefile</kbd></pre>        <p>          Compile the package:        </p>        <pre class="userinput"><kbd class="command">make SBINDIR=/sbin</kbd></pre>        <div class="variablelist">          <p class="title">            <b>The meaning of the make option:</b>          </p>          <dl>            <dt>              <span class="term"><em class=              "parameter"><tt>SBINDIR=/sbin</tt></em></span>            </dt>            <dd>              <p>                This ensures that the IPRoute2 binaries will install into                <tt class="filename">/sbin</tt>. This is the correct location                according to the FHS, because some of the IPRoute2 binaries                are used by the LFS-Bootscripts package.              </p>            </dd>          </dl>        </div>        <p>          This package does not come with a test suite.        </p>        <p>          Install the package:        </p>        <pre class="userinput"><kbd class="command">make SBINDIR=/sbin install</kbd></pre>      </div>      <div class="content" lang="en" xml:lang="en">        <div class="titlepage">          <a id="contents-iproute2" name="contents-iproute2"></a>          <h2 class="sect2">            10.28.2. Contents of IPRoute2          </h2>        </div>        <div class="segmentedlist">          <div class="seglistitem">            <div class="seg">              <strong><span class="segtitle">Installed              programs:</span></strong> <span class="seg">ctstat (link to              lnstat), ifcfg, ifstat, ip, lnstat, nstat, routef, routel,              rtacct, rtmon, rtpr, rtstat (link to lnstat), ss, and tc</span>            </div>          </div>        </div>        <div class="variablelist">          <h3>            <a id="id3677132" name="id3677132"></a>Short Descriptions          </h3>          <table border="0">            <col align="left" valign="top" />            <tbody>              <tr>                <td>                  <a id="ctstat" name="ctstat"></a><span class=                  "term"><span><strong class=                  "command">ctstat</strong></span></span>                </td>                <td>                  <p>                    Connection status utility                  </p>                </td>              </tr>              <tr>                <td>                  <a id="ifcfg" name="ifcfg"></a><span class=                  "term"><span><strong class=                  "command">ifcfg</strong></span></span>                </td>                <td>                  <p>                    A shell script wrapper for the <span><strong class=                    "command">ip</strong></span> command                  </p>                </td>              </tr>              <tr>                <td>                  <a id="ifstat" name="ifstat"></a><span class=                  "term"><span><strong class=                  "command">ifstat</strong></span></span>                </td>                <td>                  <p>                    Shows the interface statistics, including the amount of                    transmitted and received packets by interface                  </p>                </td>              </tr>              <tr>                <td>                  <a id="ip" name="ip"></a><span class=                  "term"><span><strong class=                  "command">ip</strong></span></span>                </td>                <td>                  <p>                    The main executable. It has several different functions:                  </p>                  <p>                    <span><strong class="command">ip link <em class=                    "replaceable"><tt>[device]</tt></em></strong></span>                    allows users to look at the state of devices and to make                    changes                  </p>                  <p>                    <span><strong class="command">ip addr</strong></span>                    allows users to look at addresses and their properties,                    add new addresses, and delete old ones                  </p>                  <p>                    <span><strong class="command">ip neighbor</strong></span>                    allows users to look at neighbor bindings and their                    properties, add new neighbor entries, and delete old ones                  </p>                  <p>                    <span><strong class="command">ip rule</strong></span>                    allows users to look at the routing policies and change

⌨️ 快捷键说明

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