Eurotech ZEUS Bedienungsanleitung Seite 19

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 72
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 18
Arcom Embedded Linux Technical Manual Configuring AEL
Statically configuring an interface
The following options are valid for an IPV4 interface that is statically configured, using
the static method:
Option Description
address ADDRESS Address (dotted quad). Required.
netmask NETMASK Netmask (dotted quad). Required.
broadcast BROADCAST_ADDRESS Broadcast address (dotted quad).
network NETWORK_ADDRESS Network address (dotted quad).
gateway ADDRESS Default gateway (dotted quad).
For example, to configure eth0 to use the static address 192.168.1.4/24 with a default
gateway of 192.168.1.1, enter the following in /etc/network/interfaces:
iface eth0 inet static
address 192.168.1.4
netmask 255.255.255.0
gateway 192.168.1.1
Manually configuring an interface
The manual method causes no configuration. Such interfaces can be configured using
the up-* and down-* scripts.
Configuring an interface using DHCP
The DHCP method uses an installed DHCP client to obtain configuration information.
The hostname HOSTNAME option, which requests a specific hostname from the
server, is valid for an IPV4 interface configured using DHCP.
Automatically bringing up an interface on boot
A line in /etc/network/interfaces beginning with the auto keyword specifies interfaces
that should be brought up on boot. For example, to bring up the loopback (lo) and first
Ethernet (eth0) interfaces, include the following:
auto lo eth0
You can include as many auto lines as you like.
Hostname
The default hostname for a board is the board type. To change the hostname, edit the
file /etc/hostname.
You can use the command hostname to view the current hostname.
© 2006 Arcom Issue G 19
Seitenansicht 18
1 2 ... 14 15 16 17 18 19 20 21 22 23 24 ... 71 72

Kommentare zu diesen Handbüchern

Keine Kommentare