Air 802 Linux USB?ADG?2 Dokumentacja Strona 21

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 32
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 20
3.18 SETUPIPADDRESS
If you use the RedHat distribution Linux, you can edit the
/etc/sysconfig/network-scripts/ifcfg-ethX or edit the /etc/network/interfaces under Debian to set
up the IP address on booting process. Or one can use the netconfig
command for IP address setting.
We provide two types setting in the following examples. One is to assign a fix IP address,
netmask, and default gateway. Another is to get IP configuration from a DHCP server.
3.19 FIXEDSETTING
# This is an example of fixed IP setting
DEVICE=’eth0'
IPADDR=’192.168.2.98’
NETMASK='255.255.255.0’
NETWORK='192.168.2.0'
BROADCAST='192.168.2.255'
ONBOOT='yes'
GATEWAY='192.168.2.254'
3.20 GETIPSETTINGFROMDHCP
#This is an example of getting ip from DHCP server.
DEVICE=’eth0’
BOOTPROTO=’dhcp’
ONBOOT='yes'
3.21 SETTINGACCESSPOINT
The typical setting procedure is:
18
Przeglądanie stron 20
1 2 ... 16 17 18 19 20 21 22 23 24 25 26 ... 31 32

Komentarze do niniejszej Instrukcji

Brak uwag