Closed mkapra closed 5 years ago
?
If you are meaning on the http connection to the server you need to call this method: https://github.com/espressif/arduino-esp32/blob/master/libraries/HTTPClient/src/HTTPClient.h#L154 before calling http.begin(...)
No I wrote „when connecting with the wifi“. So the Router is not only asking for a password, he‘s asking also for a username.
So is it possible to use WPA Enterprise?
So is it possible to use WPA Enterprise?
Yes. I have put example to repository with HTTPClient library and also with WifiClientSecure library: https://github.com/espressif/arduino-esp32/blob/master/libraries/HTTPClient/examples/HTTPClientEnterprise/HTTPClientEnterprise.ino But in my opinion, it will not work. You didnt specified SSID of that network, configuration of RADIUS server. This sketch from me only worked under WPA/WPA2 Enterprise networks under FreeRADIUS extension on RADIUS servers with PEAP + MsCHAPv2 or EAP-TTLS + MsCHAPv2 methods, for instance: eduroam network. P.S. Only worked under June 2018 Arduino core.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hardware:
Board: ?ESP32 Dev Module? Core Installation/update date: ?11/jul/2017? IDE name: ?Arduino IDE? ?Platform.io? ?IDF component? Flash Frequency: ?40Mhz? PSRAM enabled: ?no? Upload Speed: ?115200? Computer OS: Mac OSX
Description:
I want to know if it is possible to authenticate with a username and a password. It is not really a Captive Portal. When I try connect to the wifi with my phone there is a field username in addition to the password field. Is it possible to send also a username at the connection? I did not found anything of that in the WiFi.h and .cpp file.