auto lo iface lo inet loopback # WIFI settings allow-hotplug wlan0 iface wlan0 inet static address 192.168.0.100 netmask 255.255.255.0 broadcast 192.168.0.255 gateway 192.168.0.1 wpa-ssid "YOUR_SSID" wpa-psk "PASSWORD" wpa-group TKIP CCMP wpa-key-mgmt WPA-PSK # LAN settings auto eth0 iface eth0 inet static address 10.0.0.1 netmask 255.255.255.0 gateway 10.0.0.1 up route del default gw 10.0.01 eth0 up route add default gw 192.168.0.1 wlan0 # adapter handler iface default inet dhcp up route del default gw 10.0.0.1 eth0 up route add default gw 192.168.0.1 wlan0