source: chapter06/net-tools.xml@ 0c43171

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 0c43171 was 673b0d8, checked in by Matthew Burgess <matthew@…>, 20 years ago
  • Merged newxml into HEAD

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

  • Property mode set to 100644
File size: 5.3 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>First fix a small syntax problem in the sources of the
36<command>mii-tool</command> program:</para>
37
38<screen><userinput>patch -Np1 -i ../net-tools-&net-tools-version;-miitool-gcc33-1.patch</userinput></screen>
39
40<para>Now prepare Net-tools for compilation (if you intend to accept the
41defaults, you can skip all the questions by running <userinput>yes "" |
42make config</userinput> instead):</para>
43
44<screen><userinput>make config</userinput></screen>
45
46<para>Compile the package:</para>
47
48<screen><userinput>make</userinput></screen>
49
50<para>Now install it:</para>
51
52<screen><userinput>make update</userinput></screen>
53
54</sect2>
55
56
57<sect2 id="contents-net"><title>Contents of Net-tools</title>
58
59<para><emphasis>Installed programs</emphasis>: arp, dnsdomainname (link to
60hostname), domainname (link to hostname), hostname, ifconfig, nameif, netstat,
61nisdomainname (link to hostname), plipconfig, rarp, route, slattach and
62ypdomainname (link to hostname)</para>
63
64</sect2>
65
66
67<sect2><title>Short descriptions</title>
68
69<indexterm zone="ch-system-net-tools arp"><primary sortas="b-arp">arp</primary></indexterm>
70<para id="arp"><command>arp</command> is used to manipulate the kernel's ARP cache,
71usually to add or delete an entry, or to dump the entire cache.</para>
72
73<indexterm zone="ch-system-net-tools dnsdomainname"><primary sortas="b-dnsdomainname">dnsdomainname</primary></indexterm>
74<para id="dnsdomainname"><command>dnsdomainname</command> reports the system's DNS (Domain Name Server) domain
75name.</para>
76
77<indexterm zone="ch-system-net-tools domainname"><primary sortas="b-domainname">domainname</primary></indexterm>
78<para id="domainname"><command>domainname</command> reports or sets the system's NIS/YP
79domain name.</para>
80
81<indexterm zone="ch-system-net-tools hostname"><primary sortas="b-hostname">hostname</primary></indexterm>
82<para id="hostname"><command>hostname</command> reports or sets the name of the current
83host system.</para>
84
85<indexterm zone="ch-system-net-tools ifconfig"><primary sortas="b-ifconfig">ifconfig</primary></indexterm>
86<para id="ifconfig"><command>ifconfig</command> is the main utility for configuring
87network interfaces.</para>
88
89<indexterm zone="ch-system-net-tools nameif"><primary sortas="b-nameif">nameif</primary></indexterm>
90<para id="nameif"><command>nameif</command> names network interfaces based on MAC
91addresses.</para>
92
93<indexterm zone="ch-system-net-tools netstat"><primary sortas="b-netstat">netstat</primary></indexterm>
94<para id="netstat"><command>netstat</command> is used to report network connections,
95routing tables, and interface statistics..</para>
96
97<indexterm zone="ch-system-net-tools nisdomainname"><primary sortas="b-nisdomainname">nisdomainname</primary></indexterm>
98<para id="nisdomainname"><command>nisdomainname</command> does the same as domainname.</para>
99
100<indexterm zone="ch-system-net-tools plipconfig"><primary sortas="b-plipconfig">plipconfig</primary></indexterm>
101<para id="plipconfig"><command>plipconfig</command> is used to fine tune the PLIP device
102parameters, to improve its performance.</para>
103
104<indexterm zone="ch-system-net-tools rarp"><primary sortas="b-rarp">rarp</primary></indexterm>
105<para id="rarp"><command>rarp</command> is used to manipulate the kernel's RARP
106table.</para>
107
108<indexterm zone="ch-system-net-tools route"><primary sortas="b-route">route</primary></indexterm>
109<para id="route"><command>route</command> is used to manipulate the IP routing
110table.</para>
111
112<indexterm zone="ch-system-net-tools slattach"><primary sortas="b-slattach">slattach</primary></indexterm>
113<para id="slattach"><command>slattach</command> attaches a network interface to a serial
114line. This allows you to use normal terminal lines for point-to-point links to
115other computers.</para>
116
117<indexterm zone="ch-system-net-tools ypdomainname"><primary sortas="b-ypdomainname">ypdomainname</primary></indexterm>
118<para id="ypdomainname"><command>ypdomainname</command> does the same as domainname.</para>
119
120</sect2>
121
122
123
124</sect1>
Note: See TracBrowser for help on using the repository browser.