MTD 248-645A Manual de usuario Pagina 183

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 347
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 182
Linux From Scratch - Version 7.0
163
6.45. IPRoute2-2.6.39
The IPRoute2 package contains programs for basic and advanced IPV4-based networking.
Approximate build time: 0.1 SBU
Required disk space: 6.6 MB
6.45.1. Installation of IPRoute2
The arpd binary included in this package is dependent on Berkeley DB. Because arpd is not a very common
requirement on a base Linux system, remove the dependency on Berkeley DB by applying the sed command below.
If the arpd binary is needed, instructions for compiling Berkeley DB can be found in the BLFS Book at http://www.
linuxfromscratch.org/blfs/view/svn/server/databases.html#db.
sed -i '/^TARGETS/s@arpd@@g' misc/Makefile
Compile the package:
make DESTDIR=
The meaning of the make option:
DESTDIR=
This ensures that the IPRoute2 binaries will install into the correct directory. By default, DESTDIR is set to
/usr.
This package comes with a test suite, but due to assumptions it makes, it is not possible to reliably run these tests from
within the chroot environment. If you wish to run these tests after booting into your new LFS system, ensure you
select /proc/config.gz CONFIG_IKCONFIG_PROC ("General setup" -> "Enable access to .config through /
proc/config.gz") support into your kernel then run 'make alltests' from the testsuite/ subdirectory.
Install the package:
make DESTDIR= SBINDIR=/sbin MANDIR=/usr/share/man \
DOCDIR=/usr/share/doc/iproute2-2.6.39 install
6.45.2. Contents of IPRoute2
Installed programs: ctstat (link to lnstat), genl, ifcfg, ifstat, ip, lnstat, nstat, routef, routel, rtacct, rtmon, rtpr,
rtstat (link to lnstat), ss, and tc
Installed directories: /etc/iproute2, /lib/tc, /usr/share/doc/iproute2-2.6.39, /usr/lib/tc
Short Descriptions
ctstat Connection status utility
genl
ifcfg A shell script wrapper for the ip command. Note that it requires the arping and rdisk programs from the
iputils package found at http://www.skbuff.net/iputils/.
ifstat Shows the interface statistics, including the amount of transmitted and received packets by interface
ip The main executable. It has several different functions:
ip link <device> allows users to look at the state of devices and to make changes
Vista de pagina 182
1 2 ... 178 179 180 181 182 183 184 185 186 187 188 ... 346 347

Comentarios a estos manuales

Sin comentarios