auto lo iface lo inet loopback #if you own the charger with usb2lan there is eth0 auto eth0 iface eth0 inet static address 192.168.0.2 netmask 255.255.255.0 gateway 192.168.0.1 # check the WLAN interface pre-up ifconfig eth1 up pre-up ifconfig eth1 down # permit multiple configurations iface eth1 inet manual wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf # define the WLAN networks iface home inet static address 192.168.1.2 netmask 255.255.255.0 gateway 192.168.1.1 iface work inet static address 192.168.1.6 netmask 255.255.255.0 gateway 192.168.1.1 #iface hotspot inet dhcp auto eth1