root@Compi:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0
iface wlan0 inet static
address 192.168.2.115
netmask 255.255.255.0
# network 192.168.2.0
gateway 192.168.2.1
# wireless-* options are implemented by the wireless-tools package
wireless-mode managed
wireless-channel 3
wireless-essid BallsHomezone
wireless-encryption on
wireless-key 11019816619811412195945198 open
# The primary network interface
# iface wlan0 inet static
# address 192.168.2.115
# netmask 255.255.255.0
# # network 192.168.2.0
# gateway 192.168.2.1
# # broadcast 192.168.2.255
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.2.1
#iface wmaster0 inet dhcp
#wireless-essid BallsHomezone
#wireless-key s:11019816619811412195945198 open
#auto wmaster0
root@Compi:~#