Eurotech ZEUS Manual de usuario Pagina 18

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 72
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 17
Arcom Embedded Linux Technical Manual Configuring AEL
The parameters you can specify are explained in the following table:
Parameter Description
NAME
The name of the interface (for example eth0).
The name given to an interface in Linux is the device type with
a numerical suffix. Thus, the first Ethernet device is known as
eth0, while the second (if present) is eth1. The first wireless
network device is called wlan0.
FAMILY
The address family for the interface (normally inet for IPV4).
METHOD
The method to be used to obtain an address for this interface.
The available methods include loopback, static, manual and
dhcp.
After each iface line there may be one or more lines that specify further options. In
general, only interfaces that use the static method require additional options.
The following options are valid for any interface:
Option Description
up COMMAND Run command after bringing the interface up.
pre-up COMMAND Run command before bringing the interface up.
down COMMAND Run command before taking the interface down.
post-down COMMAND Run command after taking the interface down.
For each of the above options there also exists a folder, as follows:
/etc/network/if-<option>.d/
The scripts in each of these are run after the corresponding option, if any, has been run.
All of the commands are called with several environment variables set. These variables
are described in the following table:
Option Description
IFACE The name of the physical interface.
ADDRFAM The address family, for example inet.
METHOD The configuration method, for example static.
MODE The mode, which may be either start or stop.
© 2006 Arcom Issue G 18
Vista de pagina 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23 ... 71 72

Comentarios a estos manuales

Sin comentarios