diff options
Diffstat (limited to 'chapter06/iproute2.xml')
-rw-r--r-- | chapter06/iproute2.xml | 32 |
1 files changed, 11 insertions, 21 deletions
diff --git a/chapter06/iproute2.xml b/chapter06/iproute2.xml index b1e7374b4..aabafa2e9 100644 --- a/chapter06/iproute2.xml +++ b/chapter06/iproute2.xml @@ -41,6 +41,16 @@ <sect2 role="installation"> <title>Installation of IPRoute2</title> + <para>The <command>arpd</command> binary included in this package is + dependent on Berkeley DB. Because <command>arpd</command> is not a very + common requirement on a base Linux system, remove the dependency on Berkeley DB by applying the <command>sed</command> command below. If the + <command>arpd</command> binary is needed, instructions for compiling + Berkeley DB can be found in the BLFS Book at + <ulink url="&blfs-root;view/svn/server/databases.html#db"/>. + </para> + +<screen><userinput>sed -i '/^TARGETS/s@arpd@@g' misc/Makefile</userinput></screen> + <para>Compile the package:</para> <screen><userinput remap="make">make DESTDIR=</userinput></screen> @@ -73,14 +83,6 @@ <screen><userinput remap="install">make DESTDIR= SBINDIR=/sbin MANDIR=/usr/share/man \ DOCDIR=/usr/share/doc/iproute2-&iproute2-version; install</userinput></screen> - <para>The <command>arpd</command> binary links against the Berkeley DB - libraries that reside in <filename class="directory">/usr</filename> and - uses a database in <filename>/var/lib/arpd/arpd.db</filename>. Thus, - according to the FHS, it must be in <filename - class="directory">/usr/sbin</filename>. Move it there:</para> - - <screen><userinput remap="install">mv -v /sbin/arpd /usr/sbin</userinput></screen> - </sect2> <sect2 id="contents-iproute2" role="content"> @@ -90,7 +92,7 @@ <segtitle>Installed programs</segtitle> <seglistitem> - <seg>arpd, ctstat (link to lnstat), genl, ifcfg, ifstat, ip, lnstat, + <seg>ctstat (link to lnstat), genl, ifcfg, ifstat, ip, lnstat, nstat, routef, routel, rtacct, rtmon, rtpr, rtstat (link to lnstat), ss, and tc.</seg> </seglistitem> @@ -101,18 +103,6 @@ <?dbfo list-presentation="list"?> <?dbhtml list-presentation="table"?> - <varlistentry id="arpd"> - <term><command>arpd</command></term> - <listitem> - <para>Userspace ARP daemon, useful in really large networks, where the - kernelspace ARP implementation is insufficient, or when setting up a - honeypot</para> - <indexterm zone="ch-system-iproute2 arpd"> - <primary sortas="b-arpd">arpd</primary> - </indexterm> - </listitem> - </varlistentry> - <varlistentry id="ctstat"> <term><command>ctstat</command></term> <listitem> |