net-tools.xml 5.8 KB

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