auto lo eth0 wlan1 allow-hotplug eth0 iface lo inet loopback iface eth0 inet static address 192.168.4.4 netmask 255.255.255.0 auto wlan1 iface wlan1 inet static address 192.168.100.188 netmask 255.255.255.0 gateway 192.168.100.1 wpa-psk MyApPass wpa-ssid MyAP_SSID dns-nameservers 8.8.8.8,8.8.4.4