source: chapter06/net-tools.xml@ 7e6c41d

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.0 6.1 6.1.1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 7e6c41d was 71bbe67, checked in by Zack Winkles <winkie@…>, 20 years ago

Updated patch names to the new naming scheme used by the patches project

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3760 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 6.7 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
6<sect1 id="ch-system-net-tools" xreflabel="Net-tools" role="wrap">
7<title>Net-tools-&net-tools-version;</title>
8<?dbhtml filename="net-tools.html"?>
9
10<indexterm zone="ch-system-net-tools"><primary sortas="a-Net-tools">Net-tools</primary></indexterm>
11
12<sect2 role="package"><title/>
13<para>The Net-tools package contains programs for basic networking.</para>
14
15<segmentedlist>
16<segtitle>&buildtime;</segtitle>
17<segtitle>&diskspace;</segtitle>
18<seglistitem><seg>0.1 SBU</seg><seg>9.4 MB</seg></seglistitem>
19</segmentedlist>
20
21<segmentedlist>
22<segtitle>Net-tools installation depends on</segtitle>
23<seglistitem><seg>Bash, Binutils, Coreutils, GCC,
24Glibc, Make</seg></seglistitem>
25</segmentedlist>
26</sect2>
27
28<sect2 role="installation">
29<title>Installation of Net-tools</title>
30
31<para>If you don't know what to answer to all the questions asked during the
32<command>make config</command> phase below, then just accept the defaults.
33This will be just fine in the majority of cases. What you're asked here is a
34bunch of questions about which network protocols you've enabled in your
35kernel. The default answers will enable the tools from this package to work
36with the most common protocols: TCP, PPP, and several others. You still need
37to actually enable these protocols in the kernel -- what you do here is merely
38telling the package to include support for those protocols in its programs,
39but it's up to the kernel to make the protocols available.</para>
40
41<para>This package also has issues with being compiled by GCC 3.4, which we
42fix by applying the following patch:</para>
43
44<screen><userinput>patch -Np1 -i ../net-tools-&net-tools-version;-gcc34-2.patch</userinput></screen>
45
46<para>Net-tools has issues with the Linux 2.6 kernel series - fix these issues
47by applying the following patch:</para>
48
49<screen><userinput>patch -Np1 -i ../net-tools-&net-tools-version;-kernel_headers-1.patch</userinput></screen>
50
51<para>Now prepare Net-tools for compilation (if you intend to accept the
52defaults, you can skip all the questions by running <userinput>yes "" |
53make config</userinput> instead):</para>
54
55<screen><userinput>make config</userinput></screen>
56
57<para>Compile the package:</para>
58
59<screen><userinput>make</userinput></screen>
60
61<para>Now install it:</para>
62
63<screen><userinput>make update</userinput></screen>
64
65</sect2>
66
67
68<sect2 id="contents-net" role="content"><title>Contents of Net-tools</title>
69
70<segmentedlist>
71<segtitle>Installed programs</segtitle>
72<seglistitem><seg>arp, dnsdomainname (link to hostname), domainname (link to
73hostname), hostname, ifconfig, nameif, netstat, nisdomainname (link to hostname),
74plipconfig, rarp, route, slattach and ypdomainname (link to hostname)</seg></seglistitem>
75</segmentedlist>
76
77<variablelist><title>Short descriptions</title>
78
79<varlistentry id="arp">
80<term><command>arp</command></term>
81<listitem>
82<indexterm zone="ch-system-net-tools arp"><primary sortas="b-arp">arp</primary></indexterm>
83<para>is used to manipulate the kernel's ARP cache,
84usually to add or delete an entry, or to dump the entire cache.</para>
85</listitem>
86</varlistentry>
87
88<varlistentry id="dnsdomainname">
89<term><command>dnsdomainname</command></term>
90<listitem>
91<indexterm zone="ch-system-net-tools dnsdomainname"><primary sortas="b-dnsdomainname">dnsdomainname</primary></indexterm>
92<para>reports the system's DNS (Domain Name Server) domain name.</para>
93</listitem>
94</varlistentry>
95
96<varlistentry id="domainname">
97<term><command>domainname</command></term>
98<listitem>
99<indexterm zone="ch-system-net-tools domainname"><primary sortas="b-domainname">domainname</primary></indexterm>
100<para>reports or sets the system's NIS/YP domain name.</para>
101</listitem>
102</varlistentry>
103
104<varlistentry id="hostname">
105<term><command>hostname</command></term>
106<listitem>
107<indexterm zone="ch-system-net-tools hostname"><primary sortas="b-hostname">hostname</primary></indexterm>
108<para>reports or sets the name of the current host system.</para>
109</listitem>
110</varlistentry>
111
112<varlistentry id="ifconfig">
113<term><command>ifconfig</command></term>
114<listitem>
115<indexterm zone="ch-system-net-tools ifconfig"><primary sortas="b-ifconfig">ifconfig</primary></indexterm>
116<para>is the main utility for configuring network interfaces.</para>
117</listitem>
118</varlistentry>
119
120<varlistentry id="nameif">
121<term><command>nameif</command></term>
122<listitem>
123<indexterm zone="ch-system-net-tools nameif"><primary sortas="b-nameif">nameif</primary></indexterm>
124<para>names network interfaces based on MAC addresses.</para>
125</listitem>
126</varlistentry>
127
128<varlistentry id="netstat">
129<term><command>netstat</command></term>
130<listitem>
131<indexterm zone="ch-system-net-tools netstat"><primary sortas="b-netstat">netstat</primary></indexterm>
132<para>is used to report network connections, routing tables, and interface
133statistics..</para>
134</listitem>
135</varlistentry>
136
137<varlistentry id="nisdomainname">
138<term><command>nisdomainname</command></term>
139<listitem>
140<indexterm zone="ch-system-net-tools nisdomainname"><primary sortas="b-nisdomainname">nisdomainname</primary></indexterm>
141<para>does the same as domainname.</para>
142</listitem>
143</varlistentry>
144
145<varlistentry id="plipconfig">
146<term><command>plipconfig</command></term>
147<listitem>
148<indexterm zone="ch-system-net-tools plipconfig"><primary sortas="b-plipconfig">plipconfig</primary></indexterm>
149<para>is used to fine tune the PLIP device parameters, to improve its performance.</para>
150</listitem>
151</varlistentry>
152
153<varlistentry id="rarp">
154<term><command>rarp</command></term>
155<listitem>
156<indexterm zone="ch-system-net-tools rarp"><primary sortas="b-rarp">rarp</primary></indexterm>
157<para>is used to manipulate the kernel's RARP table.</para>
158</listitem>
159</varlistentry>
160
161<varlistentry id="route">
162<term><command>route</command></term>
163<listitem>
164<indexterm zone="ch-system-net-tools route"><primary sortas="b-route">route</primary></indexterm>
165<para>is used to manipulate the IP routing table.</para>
166</listitem>
167</varlistentry>
168
169<varlistentry id="slattach">
170<term><command>slattach</command></term>
171<listitem>
172<indexterm zone="ch-system-net-tools slattach"><primary sortas="b-slattach">slattach</primary></indexterm>
173<para>attaches a network interface to a serial line. This allows you to use normal
174terminal lines for point-to-point links to other computers.</para>
175</listitem>
176</varlistentry>
177
178<varlistentry id="ypdomainname">
179<term><command>ypdomainname</command></term>
180<listitem>
181<indexterm zone="ch-system-net-tools ypdomainname"><primary sortas="b-ypdomainname">ypdomainname</primary></indexterm>
182<para>does the same as domainname.</para>
183</listitem>
184</varlistentry>
185</variablelist>
186
187</sect2>
188
189</sect1>
Note: See TracBrowser for help on using the repository browser.