# Please note that this file is written to be used with dhcpcd. # For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'. auto lo iface lo inet loopback auto eth0 allow-hotplug eth0 iface eth0 inet dhcp auto awlan0 allow-hotplug awlan0 iface awlan0 inet static address 192.168.254.200 netmask 255.255.255.0 dns-nameserver 8.8.8.8 gateway 192.168.254.254 pre-up iwconfig awlan0 essid [AP Name] pre-up iwpriv awlan0 set_psk [pass] pre-up iwpriv awlan0 set_cryptmode WPA2-AES pre-up iwconfig awlan0 mode Managed