source: chapter06/net-tools.xml@ 0868461

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

Committing current BE-LFS to head.

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

  • Property mode set to 100644
File size: 5.5 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">
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<para>The Net-tools package contains programs for basic networking.</para>
13
14<screen>&buildtime; 0.1 SBU
15&diskspace; 9.4 MB</screen>
16
17<para>Net-tools installation depends on: Bash, Binutils, Coreutils, GCC,
18Glibc, Make.</para>
19
20
21
22<sect2>
23<title>Installation of Net-tools</title>
24
25<para>If you don't know what to answer to all the questions asked during the
26<command>make config</command> phase below, then just accept the defaults.
27This will be just fine in the majority of cases. What you're asked here is a
28bunch of questions about which network protocols you've enabled in your
29kernel. The default answers will enable the tools from this package to work
30with the most common protocols: TCP, PPP, and several others. You still need
31to actually enable these protocols in the kernel -- what you do here is merely
32telling the package to include support for those protocols in its programs,
33but it's up to the kernel to make the protocols available.</para>
34
35<para>This package also has issues with being compiled by GCC 3.4, which we
36fix by applying the following patch:</para>
37
38<screen><userinput>patch -Np1 -i ../net-tools-&net-tools-version;-gcc34-2.patch</userinput></screen>
39
40<para>Net-tools has issues with the Linux 2.6 kernel series - fix these issues
41by applying the following patch:</para>
42
43<screen><userinput>patch -Np1 -i ../net-tools-&net-tools-version;-kernel-headers-1.patch</userinput></screen>
44
45<para>Now prepare Net-tools for compilation (if you intend to accept the
46defaults, you can skip all the questions by running <userinput>yes "" |
47make config</userinput> instead):</para>
48
49<screen><userinput>make config</userinput></screen>
50
51<para>Compile the package:</para>
52
53<screen><userinput>make</userinput></screen>
54
55<para>Now install it:</para>
56
57<screen><userinput>make update</userinput></screen>
58
59</sect2>
60
61
62<sect2 id="contents-net"><title>Contents of Net-tools</title>
63
64<para><emphasis>Installed programs</emphasis>: arp, dnsdomainname (link to
65hostname), domainname (link to hostname), hostname, ifconfig, nameif, netstat,
66nisdomainname (link to hostname), plipconfig, rarp, route, slattach and
67ypdomainname (link to hostname)</para>
68
69</sect2>
70
71
72<sect2><title>Short descriptions</title>
73
74<indexterm zone="ch-system-net-tools arp"><primary sortas="b-arp">arp</primary></indexterm>
75<para id="arp"><command>arp</command> is used to manipulate the kernel's ARP cache,
76usually to add or delete an entry, or to dump the entire cache.</para>
77
78<indexterm zone="ch-system-net-tools dnsdomainname"><primary sortas="b-dnsdomainname">dnsdomainname</primary></indexterm>
79<para id="dnsdomainname"><command>dnsdomainname</command> reports the system's DNS (Domain Name Server) domain
80name.</para>
81
82<indexterm zone="ch-system-net-tools domainname"><primary sortas="b-domainname">domainname</primary></indexterm>
83<para id="domainname"><command>domainname</command> reports or sets the system's NIS/YP
84domain name.</para>
85
86<indexterm zone="ch-system-net-tools hostname"><primary sortas="b-hostname">hostname</primary></indexterm>
87<para id="hostname"><command>hostname</command> reports or sets the name of the current
88host system.</para>
89
90<indexterm zone="ch-system-net-tools ifconfig"><primary sortas="b-ifconfig">ifconfig</primary></indexterm>
91<para id="ifconfig"><command>ifconfig</command> is the main utility for configuring
92network interfaces.</para>
93
94<indexterm zone="ch-system-net-tools nameif"><primary sortas="b-nameif">nameif</primary></indexterm>
95<para id="nameif"><command>nameif</command> names network interfaces based on MAC
96addresses.</para>
97
98<indexterm zone="ch-system-net-tools netstat"><primary sortas="b-netstat">netstat</primary></indexterm>
99<para id="netstat"><command>netstat</command> is used to report network connections,
100routing tables, and interface statistics..</para>
101
102<indexterm zone="ch-system-net-tools nisdomainname"><primary sortas="b-nisdomainname">nisdomainname</primary></indexterm>
103<para id="nisdomainname"><command>nisdomainname</command> does the same as domainname.</para>
104
105<indexterm zone="ch-system-net-tools plipconfig"><primary sortas="b-plipconfig">plipconfig</primary></indexterm>
106<para id="plipconfig"><command>plipconfig</command> is used to fine tune the PLIP device
107parameters, to improve its performance.</para>
108
109<indexterm zone="ch-system-net-tools rarp"><primary sortas="b-rarp">rarp</primary></indexterm>
110<para id="rarp"><command>rarp</command> is used to manipulate the kernel's RARP
111table.</para>
112
113<indexterm zone="ch-system-net-tools route"><primary sortas="b-route">route</primary></indexterm>
114<para id="route"><command>route</command> is used to manipulate the IP routing
115table.</para>
116
117<indexterm zone="ch-system-net-tools slattach"><primary sortas="b-slattach">slattach</primary></indexterm>
118<para id="slattach"><command>slattach</command> attaches a network interface to a serial
119line. This allows you to use normal terminal lines for point-to-point links to
120other computers.</para>
121
122<indexterm zone="ch-system-net-tools ypdomainname"><primary sortas="b-ypdomainname">ypdomainname</primary></indexterm>
123<para id="ypdomainname"><command>ypdomainname</command> does the same as domainname.</para>
124
125</sect2>
126
127
128
129</sect1>
Note: See TracBrowser for help on using the repository browser.