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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login