I have this in Ubuntu 14.04.3 LTS.
$ cat 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
# The primary network interface allow-hotplug eth0 iface eth0 inet dhcp
allow-hotplug wlan0 iface wlan0 inet dhcp wpa-driver nl80211 wpa-conf path_to_wpa_conf
I have this in Ubuntu 14.04.3 LTS.
$ cat 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
# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-driver nl80211
wpa-conf path_to_wpa_conf