Skip to content

Instantly share code, notes, and snippets.

@coenraadhuman
Created April 10, 2020 11:14
Show Gist options
  • Save coenraadhuman/2976a926b3c2360231c418c95aca2971 to your computer and use it in GitHub Desktop.
Save coenraadhuman/2976a926b3c2360231c418c95aca2971 to your computer and use it in GitHub Desktop.
RPi - Could not communicate with wpa_supplicant: error n2 wifi
Solution
I referred to this official forum.
Raspbian Stretch: Wifi not starting on boot – Raspberry Pi Forums
First,
sudo vim /etc/network/interfaces
and, you should write in bottom
allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
This will allow wlan at startup. afterwards,
sudo systemctl enable wpa_supplicant.service
restart wpa_supplicant
sudo reboot now
@MCFtm
Copy link

MCFtm commented Feb 26, 2024

Thank you. You made my day

@OldSurferDude
Copy link

We stand on the shoulders of giants! Become a giant ... Pay it forward!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment