-
Notifications
You must be signed in to change notification settings - Fork 13.3k
trying with WPA2-enterprise on a TP-Link EAP with external Radius Server #4698
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
OK, I went a step further, got a TP Link EAP access point, and configured it with an external radius server, created a testUser, etc. Then, First, I connected my iphone to this network. It connected, asked for my username and password, and successfully authenticated. It did ask about trusting a certificate, and clicked 'Trust'. Connection succeeded ,I could browse the internet, no issues. Then, I tried with ESP, with various minor code changes, and no success. But the good thing is, now I can see what is happening on the radius server. ESP does connect to the AP, but it is the radius auth that is failing. I belive this has to do with the way ESP core is sending info? I am suspecting that the 'Trust this certificate' part that I saw on iphone might be the step that somehow is missing when ESP is attempting to connect? Someone who is familiar with the core might be able to help. Log when Iphone connects successfully.
Now, with ESP conecting,
By the way, if it helps I would be more than happy to work with anyone familiar on this via screen sharing or other modes if that helps. |
#More updates Playing around more on this, I tried the following. I tried to connect my iphone to the enterprise network with the correct username but wrong password. This time, Two interesting finds.
Does this light any bulbs, any one? :) Radius log for iphone with correct username and wrong password
Radius log for ESP with correct username and password
|
@d-a-v Your link is messed up |
Any update on this for ESP8266 WPA2-enterprise PEAP? |
Did we have any success with ESP8266 WPA2-enterprise PEAP? |
not possible with ESP8266. Got success with ESP32 but only works with few network, not with all. |
Platform
Settings in IDE
Problem Description
I am trying to connect an ESP to wpa2 network at my university. it keeps looping between scandone, and trying to connect, then disconnect. I tried so many variations based on different examples that people say worked for them, this is kind of a jamboree of such code. I also tried with eduroam and pretty much the same result.
Once user mentioned he had this working on 2.4.0, so I went back to that version from 2.4.1, yet no success with that either.
###Edit: I got a test enterprise router, and am testing with an external radius router now.
MCVE Sketch
Debug Messages
The text was updated successfully, but these errors were encountered: