My Wi-Fi requires both username and password.
-
Hello!
I got an M5 Grey and I can connect properly to Wi-Fi stations that only require a password (following the code examples included in Arduino). However, at home, I have a router that possibly uses a different protocol, but it asks me for both a username and a password.
Anyone know how this may be accomplished?
-
It depends on the protocol, as you said. Check in your router what kind of authentication your WiFi uses, and adapt the WiFi connection to that.
If your home network, for some weird reason, uses WPA2 Enterprise, the ESP32 WiFiClientSecure module should be the one you go for: https://github.com/espressif/arduino-esp32/blob/master/libraries/WiFiClientSecure/examples/WiFiClientSecureEnterprise/WiFiClientSecureEnterprise.ino
-
@al-mo you can specify the user name and password in the code. I cant remember how its down as I dont use Arduino (i just remember seing a demo) @lukasmaximus may know when he make it back on line.