I have Raspberry Pi 3 and I tried to config for auto connect to wifi like this example


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 ?

  • 1
    Please edit your question and include the config files you changed with the commented out textincluded. – Steve Robillard Jun 19 '17 at 10:35
  • Can you explain HOW people find these obsolete tutorials and WHY they choose to follow them rather than the Official Raspberrypi.org instructions? Try How do I set up networking/WiFi/Static IP – Milliways Jun 19 '17 at 10:37
  • here is my interface config 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
  • @Milliways I'm very new in linux configuration I just follow my search – 3ORZ Jun 19 '17 at 11:11
  • These details belong in your question (as requested) not the comments. – Steve Robillard Jun 19 '17 at 11:36

Restore Interfaces file. Then, connect to wifi manually and now into the interfaces file append this auto wlan0 iface wlan0 inet dhcp wpa-ssid {ssid} wpa-psk {password}

this work for me.

Lo dejo en español ya que mi ingles es malo y por ahi no se entiende que quise decir. Restaura el archivo interfaces como viene ni bien instalas el SO. Así vuelve a funcionar el receptor WiFi y podes conectarte a la red (yo lo hice mediante la interfaz grafica) Una vez conectado al Wifi que queremos que conecte automaticamente podemos modificar el archivo interfaces y ahora la proxima vez que prendamos va a funcionar.

Sorry for my bad English.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.