%general-entities; ]> Net-tools-&net-tools-version; Net-tools <para>The Net-tools package contains programs for basic networking.</para> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem><seg>0.1 SBU</seg><seg>9.4 MB</seg></seglistitem> </segmentedlist> <segmentedlist> <segtitle>Net-tools installation depends on</segtitle> <seglistitem><seg>Bash, Binutils, Coreutils, GCC, Glibc, Make</seg></seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of Net-tools If you don't know what to answer to all the questions asked during the make config phase below, then just accept the defaults. This will be just fine in the majority of cases. What you're asked here is a bunch of questions about which network protocols you've enabled in your kernel. The default answers will enable the tools from this package to work with the most common protocols: TCP, PPP, and several others. You still need to actually enable these protocols in the kernel -- what you do here is merely telling the package to include support for those protocols in its programs, but it's up to the kernel to make the protocols available. This package also has issues with being compiled by GCC 3.4, which we fix by applying the following patch: patch -Np1 -i ../net-tools-&net-tools-version;-gcc34-2.patch Fix an issue that arises when building against Linux 2.6: sed -i 's@x25_address@struct &@' lib/x25_sr.c Now prepare Net-tools for compilation (if you intend to accept the defaults, you can skip all the questions by running yes "" | make config instead): make config Compile the package: make Now install it: make update Contents of Net-tools Installed programs arp, dnsdomainname (link to hostname), domainname (link to hostname), hostname, ifconfig, nameif, netstat, nisdomainname (link to hostname), plipconfig, rarp, route, slattach and ypdomainname (link to hostname) Short descriptions arp arp is used to manipulate the kernel's ARP cache, usually to add or delete an entry, or to dump the entire cache. dnsdomainname dnsdomainname reports the system's DNS (Domain Name Server) domain name. domainname domainname reports or sets the system's NIS/YP domain name. hostname hostname reports or sets the name of the current host system. ifconfig ifconfig is the main utility for configuring network interfaces. nameif nameif names network interfaces based on MAC addresses. netstat netstat is used to report network connections, routing tables, and interface statistics.. nisdomainname nisdomainname does the same as domainname. plipconfig plipconfig is used to fine tune the PLIP device parameters, to improve its performance. rarp rarp is used to manipulate the kernel's RARP table. route route is used to manipulate the IP routing table. slattach slattach attaches a network interface to a serial line. This allows you to use normal terminal lines for point-to-point links to other computers. ypdomainname ypdomainname does the same as domainname.