# 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