Code: Select all
auto lo
iface lo inet loopback
auto eth0
allow-hotplug eth0
auto wlan0
allow-hotplug wlan0
iface wlan0 inet static
address 192.168.0.93
netmask 255.255.255.0
gateway 192.168.0.1
dns_nameservers 192.168.0.1 8.8.8.8
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
auto wlan1
allow-hotplug wlan1
iface wlan1 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
Jetzt möchte ich aber auch über kabelgebundene Rechner zugreifen können und habe deshalb unter der Zeile "allow-hotplug eth0" noch folgendes eingefügt:
Code: Select all
iface eth0 inet static
address 192.168.0.92
netmask 255.255.255.0
gateway 192.168.0.1
dns_nameservers 192.168.0.1 8.8.8.8