ESPTeamsPresence icon indicating copy to clipboard operation
ESPTeamsPresence copied to clipboard

problems connecting to a hidden wifi network

Open hansj opened this issue 1 year ago • 4 comments
trafficstars

problems connecting to a hidden wifi network with MAC authentication. neither a username nor a password is required Any suggestions on how to fix it?

hansj avatar May 15 '24 09:05 hansj

Hi @hansj,

not sure if this use case is supported by the ESP WiFi library.

I would try to do everything as for WiFi networks with PSK authentication and enter the name for hidden WiFi network, but leave the WiFi password empty in this step: https://youtu.be/DH3zN3nLk9w?t=144 Before make sure the the MAC address of the ESP is allowed access. But apart from that I have no ideas, I never used a WiFi with MAC authentication.

Greetings!

toblum avatar May 15 '24 22:05 toblum

Hi @toblum Thanks for the quick response, I'm relatively new to this so I hope these aren't stupid questions. have tried with a blank password without success. tried with an example(WiFiClientConnect) of simple wifi connection from arduino ide set wifi ssid without password and it connected immediately. so I wonder where I can find connection to wifi in the code. I've searched but can't figure out which library is in use

hansj avatar May 16 '24 11:05 hansj

The project uses the https://github.com/prampec/IotWebConf library for WiFi connection handling. So you might find a hint there.

toblum avatar May 16 '24 21:05 toblum

For other projects I have had issues with ESP32 connecting to hidden WIFI network. Did not get it to work. Had to unhide the network. And even after successful connecting and hiding the network again afterwards, the ESP would loose the WIFI connection again.

Floriszz avatar Oct 10 '25 09:10 Floriszz