I have Raspberry Pi 3 and I tried to config for auto connect to wifi like this example
http://weworkweplay.com/play/automatically-connect-a-raspberry-pi-to-a-wifi-network/
but when I finish, I got "No wireless interfaces found" when I click wifi symbol. However if I comment them out and back to default config( no auto wlan0 ... ), my wifi is back.
How can I fix this ?
source-directory /etc/network/interfaces.d
auto wlan0 #auto lo iface lo inet loopback
#iface eth0 inet manual
allow-hotplug wlan0 #iface wlan0 inet manual iface wlan0 inet dhcp wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf iface default inet dhcp
#allow-hotplug wlan1 #iface wlan1 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
– 3ORZ Jun 19 '17 at 11:09