Configuration of /etc/network/interfaces:
auto lo
iface lo inet loopback
iface eth0 inet static
address 192.168.1.10
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.1
allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
#iface default inet dhcp
Configur
[X] Use Static IPs
IP: 192.168.1.11
Netmask:255.255.255.0
Gateway:192.168.1.1
[X] Use Static DNS [ ] Use global DNS servers
DNS domain:
Search domain:google.com
DNS server 1: 8.8.8.8
DNS server 2: 8.8.4.4
DNS server 3:
[X] Use DHCP Hostname
DHCP Hostname: raspberrypi
[X] Use these settings for all networks sharing this essid
[X] Automatically connect to this network
[X] Use Encryption
WPA 1/2 (Hex [0-9/A-F]) vvv
Key: ********