Snowworm3000
Posts: 3
Joined: Mon May 25, 2020 3:41 pm

Cannot connect to wireless network after setting up wireless access point

Mon May 25, 2020 4:00 pm

I created an account right now just to post this and I am getting errors, I also posted this in a reply but i'm not sure if this is something completely different.
I tried following the routed wireless access point guide :D (https://www.raspberrypi.org/documentati ... -routed.md) and unfortunately after doing this I could not connect to the internet :o . I have tried connecting via

Code: Select all

sudo raspi-config
in network options and wireless LAN but now I get this error

Code: Select all

Could not communicate with wpa_supplicant
and after pressing enter this

Code: Select all

There was an error running option N2 Wireless LAN

After getting all these errors and trying (but failing) to fix them, I reinstalled raspbian lite on my raspberry pi zero and tried this again but still got these errors straight after following the guide on a fresh install. I'm a bit of a noob, and i'm trying to get this to work for a robot with a camera. It is really frustrating :x because I don't want to have to do another fresh install. Please help me.

epoch1970
Posts: 5203
Joined: Thu May 05, 2016 9:33 am
Location: Paris, France

Re: Cannot connect to wireless network after setting up wireless access point

Tue May 26, 2020 8:38 am

That is expected.
The AP guide puts the interface under the control of hostapd and wpa_supplicant does not run anymore.
So the raspi-config option fails.

Disable hostapd and reinstate the normal configuration of /etc/dhcpcd.conf, reboot and that raspi-config optin will work like a charm.
"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel

Snowworm3000
Posts: 3
Joined: Mon May 25, 2020 3:41 pm

Re: Cannot connect to wireless network after setting up wireless access point

Tue May 26, 2020 10:16 am

Thank you so much, I think I understand what is going on, and I can fix it. :D

Return to “Troubleshooting”