Code:
# 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
# The primary network interface
#auto eth0
#iface eth0 inet dhcp
auto eth0
iface eth0 inet static
address 192.168.2.50
netmask 255.255.255.0
network 192.168.2.1
broadcast 192.168.2.255
gateway 192.168.2.1
auto wlan0
#iface wlan0 inet dhcp
iface wlan0 inet static
address 192.168.2.101
netmask 255.255.255.0
network 192.168.2.1
broadcast 192.168.2.255
gateway 192.168.2.1
how do i make that permanent and also how do i make it so the eth0 will not activate unless i start it? i want the wlan0 to be the main network connection not my eth0.
this is on a laptop if that matters.