[0590c1b6] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY net-tools-download-http "http://www.tazenda.demon.co.uk/phil/net-tools/net-tools-&net-tools-version;.tar.bz2">
|
---|
| 8 | <!ENTITY net-tools-download-ftp " ">
|
---|
| 9 | <!ENTITY net-tools-size "194 KB">
|
---|
| 10 | <!ENTITY net-tools-buildsize "9.4 MB">
|
---|
| 11 | <!ENTITY net-tools-time "0.10 SBU">
|
---|
| 12 | ]>
|
---|
| 13 |
|
---|
| 14 | <sect1 id="net-tools" xreflabel="Net-tools-&net-tools-version;">
|
---|
| 15 | <?dbhtml filename="net-tools.html"?>
|
---|
| 16 | <title>Net-tools-&net-tools-version;</title>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <sect2>
|
---|
| 20 | <title>Introduction to <application>Net-tools</application></title>
|
---|
| 21 |
|
---|
| 22 | <para>The <application>Net-tools</application> package is a collection
|
---|
| 23 | of programs for controlling the network subsystem of the Linux
|
---|
| 24 | kernel.</para>
|
---|
| 25 |
|
---|
| 26 | <sect3><title>Package information</title>
|
---|
| 27 | <itemizedlist spacing='compact'>
|
---|
| 28 | <listitem><para>Download (HTTP): <ulink url="&net-tools-download-http;"/></para></listitem>
|
---|
| 29 | <listitem><para>Download (FTP): <ulink url="&net-tools-download-ftp;"/></para></listitem>
|
---|
| 30 | <listitem><para>Download size: &net-tools-size;</para></listitem>
|
---|
| 31 | <listitem><para>Estimated Disk space required: &net-tools-buildsize;</para></listitem>
|
---|
| 32 | <listitem><para>Estimated build time: &net-tools-time;</para></listitem></itemizedlist>
|
---|
| 33 | </sect3>
|
---|
| 34 |
|
---|
| 35 | <!--
|
---|
| 36 | <sect3><title>Additional downloads</title>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem><para>Required Patch: <ulink
|
---|
| 39 | url="&patch-root;/net-tools-&net-tools-version;-gcc34-3.patch"/></para></listitem>
|
---|
| 40 | </itemizedlist></sect3>
|
---|
| 41 | -->
|
---|
| 42 |
|
---|
| 43 | </sect2>
|
---|
| 44 |
|
---|
| 45 | <sect2>
|
---|
| 46 | <title>Installation of <application>Net-tools</application></title>
|
---|
| 47 |
|
---|
| 48 | <para>If you don't know what to answer to all the questions asked during
|
---|
| 49 | the <command>make config</command> phase below, then just accept the
|
---|
| 50 | defaults. This will be just fine in the majority of cases. What you're
|
---|
| 51 | asked here is a bunch of questions about which network protocols you've
|
---|
| 52 | enabled in your kernel. The default answers will enable the tools from
|
---|
| 53 | this package to work with the most common protocols:
|
---|
| 54 | <acronym>TCP</acronym>, <acronym>PPP</acronym>, and several others. You
|
---|
| 55 | still need to actually enable these protocols in the kernel—what you
|
---|
| 56 | do here is merely telling the package to include support for those
|
---|
| 57 | protocols in its programs, but it's up to the kernel to make the
|
---|
| 58 | protocols available.</para>
|
---|
| 59 |
|
---|
| 60 | <!--
|
---|
| 61 | <para>This package has issues with being compiled by
|
---|
| 62 | <application><acronym>GCC</acronym></application> 3.4, which we fix by
|
---|
| 63 | applying the following patch:</para>
|
---|
| 64 |
|
---|
| 65 | <screen><userinput><command>patch -Np1 -i ../net-tools-&net-tools-version;-gcc34-3.patch</command></userinput></screen>
|
---|
| 66 |
|
---|
| 67 | <para>Fix an issue that arises when building against Linux 2.6:</para>
|
---|
| 68 |
|
---|
| 69 | <screen><userinput><command>sed -i 's@x25_address@struct &@' lib/x25_sr.c</command></userinput></screen>
|
---|
| 70 | -->
|
---|
| 71 |
|
---|
[63cc8c1] | 72 | <para>Install <application>Net-tools</application> by running the
|
---|
| 73 | following commands:</para>
|
---|
[0590c1b6] | 74 |
|
---|
[63cc8c1] | 75 | <screen><userinput><command>yes "" | make config &&
|
---|
| 76 | make &&
|
---|
| 77 | make update</command></userinput></screen>
|
---|
[0590c1b6] | 78 |
|
---|
[63cc8c1] | 79 | </sect2>
|
---|
[0590c1b6] | 80 |
|
---|
[63cc8c1] | 81 | <sect2>
|
---|
| 82 | <title>Command explanations</title>
|
---|
[0590c1b6] | 83 |
|
---|
[63cc8c1] | 84 | <para><command>yes "" | make config</command>:
|
---|
| 85 | We skip all the questions and accept the defaults.
|
---|
| 86 | </para>
|
---|
[0590c1b6] | 87 |
|
---|
| 88 | </sect2>
|
---|
| 89 |
|
---|
| 90 | <sect2>
|
---|
| 91 | <title>Contents</title>
|
---|
| 92 |
|
---|
| 93 | <para>The <application>Net-tools</application> package contains
|
---|
| 94 | <command>arp</command>,
|
---|
[19a1cd82] | 95 | <command>dnsdomainname</command>,
|
---|
| 96 | <command>domainname</command>,
|
---|
[0590c1b6] | 97 | <command>hostname</command>,
|
---|
| 98 | <command>ifconfig</command>,
|
---|
| 99 | <command>nameif</command>,
|
---|
| 100 | <command>netstat</command>,
|
---|
[19a1cd82] | 101 | <command>nisdomainname</command>,
|
---|
[0590c1b6] | 102 | <command>plipconfig</command>,
|
---|
| 103 | <command>rarp</command>,
|
---|
| 104 | <command>route</command>,
|
---|
| 105 | <command>slattach</command> and
|
---|
[19a1cd82] | 106 | <command>ypdomainname</command>.</para>
|
---|
[0590c1b6] | 107 |
|
---|
| 108 | </sect2>
|
---|
| 109 |
|
---|
| 110 | <sect2><title>Description</title>
|
---|
| 111 |
|
---|
| 112 | <sect3><title>arp</title>
|
---|
| 113 | <para><command>arp</command>
|
---|
| 114 | is used to manipulate the kernel's <acronym>ARP</acronym> cache, usually
|
---|
| 115 | to add or delete an entry, or to dump the entire cache.
|
---|
| 116 | </para></sect3>
|
---|
| 117 |
|
---|
| 118 | <sect3><title>dnsdomainname</title>
|
---|
| 119 | <para><command>dnsdomainname</command>
|
---|
| 120 | reports the system's <acronym>DNS</acronym> domain name.
|
---|
| 121 | </para></sect3>
|
---|
| 122 |
|
---|
| 123 | <sect3><title>domainname</title>
|
---|
| 124 | <para><command>domainname</command>
|
---|
| 125 | reports or sets the system's
|
---|
| 126 | <acronym>NIS</acronym>/<acronym>YP</acronym> domain name.
|
---|
| 127 | </para></sect3>
|
---|
| 128 |
|
---|
| 129 | <sect3><title>hostname</title>
|
---|
| 130 | <para><command>hostname</command>
|
---|
| 131 | reports or sets the name of the current host system.
|
---|
| 132 | </para></sect3>
|
---|
| 133 |
|
---|
| 134 | <sect3><title>ifconfig</title>
|
---|
| 135 | <para><command>ifconfig</command>
|
---|
| 136 | is the main utility for configuring network interfaces.
|
---|
| 137 | </para></sect3>
|
---|
| 138 |
|
---|
| 139 | <sect3><title>nameif</title>
|
---|
| 140 | <para><command>nameif</command>
|
---|
| 141 | names network interfaces based on <acronym>MAC</acronym> addresses.
|
---|
| 142 | </para></sect3>
|
---|
| 143 |
|
---|
| 144 | <sect3><title>netstat</title>
|
---|
| 145 | <para><command>netstat</command>
|
---|
| 146 | is used to report network connections, routing tables, and interface
|
---|
| 147 | statistics.
|
---|
| 148 | </para></sect3>
|
---|
| 149 |
|
---|
| 150 | <sect3><title>nisdomainname</title>
|
---|
| 151 | <para><command>nisdomainname</command>
|
---|
| 152 | does the same as <command>domainname</command>.
|
---|
| 153 | </para></sect3>
|
---|
| 154 |
|
---|
| 155 | <sect3><title>plipconfig</title>
|
---|
| 156 | <para><command>plipconfig</command>
|
---|
| 157 | is used to fine tune the <acronym>PLIP</acronym> device parameters, to
|
---|
| 158 | improve its performance.
|
---|
| 159 | </para></sect3>
|
---|
| 160 |
|
---|
| 161 | <sect3><title>rarp</title>
|
---|
| 162 | <para><command>rarp</command>
|
---|
| 163 | is used to manipulate the kernel's <acronym>RARP</acronym> table.
|
---|
| 164 | </para></sect3>
|
---|
| 165 |
|
---|
| 166 | <sect3><title>route</title>
|
---|
| 167 | <para><command>route</command>
|
---|
| 168 | is used to manipulate the <acronym>IP</acronym> routing table.
|
---|
| 169 | </para></sect3>
|
---|
| 170 |
|
---|
| 171 | <sect3><title>slattach</title>
|
---|
| 172 | <para><command>slattach</command>
|
---|
| 173 | attaches a network interface to a serial line. This allows you to use
|
---|
| 174 | normal terminal lines for point-to-point links to other computers.
|
---|
| 175 | </para></sect3>
|
---|
| 176 |
|
---|
| 177 | <sect3><title>ypdomainname</title>
|
---|
| 178 | <para><command>ypdomainname</command>
|
---|
| 179 | does the same as <command>domainname</command>.
|
---|
| 180 | </para></sect3>
|
---|
| 181 |
|
---|
| 182 | </sect2>
|
---|
| 183 |
|
---|
| 184 | </sect1>
|
---|