source: chapter06/net-tools.xml@ 456a1d92

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 456a1d92 was aa242b1, checked in by Zack Winkles <winkie@…>, 20 years ago

* empty log message *

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

  • Property mode set to 100644
File size: 6.6 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>Fix an issue that arises when building against Linux 2.6:</para>
47
48<screen><userinput>sed -i 's@x25_address@struct &amp;@' lib/x25_sr.c</userinput></screen>
49
50<para>Now prepare Net-tools for compilation (if you intend to accept the
51defaults, you can skip all the questions by running <userinput>yes "" |
52make config</userinput> instead):</para>
53
54<screen><userinput>make config</userinput></screen>
55
56<para>Compile the package:</para>
57
58<screen><userinput>make</userinput></screen>
59
60<para>Now install it:</para>
61
62<screen><userinput>make update</userinput></screen>
63
64</sect2>
65
66
67<sect2 id="contents-net" role="content"><title>Contents of Net-tools</title>
68
69<segmentedlist>
70<segtitle>Installed programs</segtitle>
71<seglistitem><seg>arp, dnsdomainname (link to hostname), domainname (link to
72hostname), hostname, ifconfig, nameif, netstat, nisdomainname (link to hostname),
73plipconfig, rarp, route, slattach and ypdomainname (link to hostname)</seg></seglistitem>
74</segmentedlist>
75
76<variablelist><title>Short descriptions</title>
77
78<varlistentry id="arp">
79<term><command>arp</command></term>
80<listitem>
81<indexterm zone="ch-system-net-tools arp"><primary sortas="b-arp">arp</primary></indexterm>
82<para>is used to manipulate the kernel's ARP cache,
83usually to add or delete an entry, or to dump the entire cache.</para>
84</listitem>
85</varlistentry>
86
87<varlistentry id="dnsdomainname">
88<term><command>dnsdomainname</command></term>
89<listitem>
90<indexterm zone="ch-system-net-tools dnsdomainname"><primary sortas="b-dnsdomainname">dnsdomainname</primary></indexterm>
91<para>reports the system's DNS (Domain Name Server) domain name.</para>
92</listitem>
93</varlistentry>
94
95<varlistentry id="domainname">
96<term><command>domainname</command></term>
97<listitem>
98<indexterm zone="ch-system-net-tools domainname"><primary sortas="b-domainname">domainname</primary></indexterm>
99<para>reports or sets the system's NIS/YP domain name.</para>
100</listitem>
101</varlistentry>
102
103<varlistentry id="hostname">
104<term><command>hostname</command></term>
105<listitem>
106<indexterm zone="ch-system-net-tools hostname"><primary sortas="b-hostname">hostname</primary></indexterm>
107<para>reports or sets the name of the current host system.</para>
108</listitem>
109</varlistentry>
110
111<varlistentry id="ifconfig">
112<term><command>ifconfig</command></term>
113<listitem>
114<indexterm zone="ch-system-net-tools ifconfig"><primary sortas="b-ifconfig">ifconfig</primary></indexterm>
115<para>is the main utility for configuring network interfaces.</para>
116</listitem>
117</varlistentry>
118
119<varlistentry id="nameif">
120<term><command>nameif</command></term>
121<listitem>
122<indexterm zone="ch-system-net-tools nameif"><primary sortas="b-nameif">nameif</primary></indexterm>
123<para>names network interfaces based on MAC addresses.</para>
124</listitem>
125</varlistentry>
126
127<varlistentry id="netstat">
128<term><command>netstat</command></term>
129<listitem>
130<indexterm zone="ch-system-net-tools netstat"><primary sortas="b-netstat">netstat</primary></indexterm>
131<para>is used to report network connections, routing tables, and interface
132statistics..</para>
133</listitem>
134</varlistentry>
135
136<varlistentry id="nisdomainname">
137<term><command>nisdomainname</command></term>
138<listitem>
139<indexterm zone="ch-system-net-tools nisdomainname"><primary sortas="b-nisdomainname">nisdomainname</primary></indexterm>
140<para>does the same as domainname.</para>
141</listitem>
142</varlistentry>
143
144<varlistentry id="plipconfig">
145<term><command>plipconfig</command></term>
146<listitem>
147<indexterm zone="ch-system-net-tools plipconfig"><primary sortas="b-plipconfig">plipconfig</primary></indexterm>
148<para>is used to fine tune the PLIP device parameters, to improve its performance.</para>
149</listitem>
150</varlistentry>
151
152<varlistentry id="rarp">
153<term><command>rarp</command></term>
154<listitem>
155<indexterm zone="ch-system-net-tools rarp"><primary sortas="b-rarp">rarp</primary></indexterm>
156<para>is used to manipulate the kernel's RARP table.</para>
157</listitem>
158</varlistentry>
159
160<varlistentry id="route">
161<term><command>route</command></term>
162<listitem>
163<indexterm zone="ch-system-net-tools route"><primary sortas="b-route">route</primary></indexterm>
164<para>is used to manipulate the IP routing table.</para>
165</listitem>
166</varlistentry>
167
168<varlistentry id="slattach">
169<term><command>slattach</command></term>
170<listitem>
171<indexterm zone="ch-system-net-tools slattach"><primary sortas="b-slattach">slattach</primary></indexterm>
172<para>attaches a network interface to a serial line. This allows you to use normal
173terminal lines for point-to-point links to other computers.</para>
174</listitem>
175</varlistentry>
176
177<varlistentry id="ypdomainname">
178<term><command>ypdomainname</command></term>
179<listitem>
180<indexterm zone="ch-system-net-tools ypdomainname"><primary sortas="b-ypdomainname">ypdomainname</primary></indexterm>
181<para>does the same as domainname.</para>
182</listitem>
183</varlistentry>
184</variablelist>
185
186</sect2>
187
188</sect1>
Note: See TracBrowser for help on using the repository browser.