Netzwerkkonfiguration

# vi /etc/network/interfaces

bei dynamischer IP-Zuweisung wird nichts spezielles zur Netzwerkkarte in die Konfigurationsdatei geschrieben:

# The loopback network interface
auto lo
iface lo inet loopback

bei statischer IP-Konfiguration wird alles in die Konfigurationsdatei geschrieben:

# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
        address 192.168.1.1
        netmask 255.255.255.0
        gateway 192.168.1.254
        # dns-* options are implemented by the resolv.conf package, if installed
        dns-nameservers 192.168.1.10

bei einer WLAN-Konfiguration wird dem entsprechenden Netzwerkgerät die WPA-Supplicant-Konfigurationsdatei übergeben:

# The loopback network interface
auto lo
iface lo inet loopback
# W-LAN
auto wlan0
iface wlan0 inet dhcp
      wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
 
/home/http/wiki/data/pages/os4_linux_debian_comm_server_etc_network_interfaces.txt · Zuletzt geändert: 2010-05-22 19:03:58 (Externe Bearbeitung)
Falls nicht anders bezeichnet, ist der Inhalt dieses Wikis unter der folgenden Lizenz veröffentlicht:GNU Free Documentation License 1.2
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki