auto lo iface lo inet loopback iface eth0 inet dhcp address 192.168.2.22 netmask 255.255.255.0 gateway 192.168.2.254 dns-nameservers 8.8.8.8, 4.2.2.2 iface wlan0 inet static address 192.168.50.99 netmask 255.255.255.0 post-up service udhcpd start