Closed FWdeveloper closed 5 years ago
Linked to #5784
WPA2-E is not fully supported by the NONOS sdk. There are some limited use cases, but that's it. In addition, the NONOS sdk currently has low priority for code changes. Espressif is prioritizing the FreeRTOS sdk, so getting enhancements any time soon is unlikely. Even so, should it somehow happen that full support is in fact added to the sdk, it will be made available in v3.x, and we still need to figure out how to migrate to sdk3 (not straightforward), so even if support is added soon, it won't reach the core for a while yet. There is no full solution in sight, sorry. Closing for now.
If you are the freeradius server master then you can change its configuration to make it work with esp (I guess) Follow https://github.com/espressif/ESP8266_RTOS_SDK/issues/442#issuecomment-451918005 (this is on rtos-sdk repository but I believe they are referring to nonos-sdk too in this very case (EAP-TTLS-MSCHAPv2)).
@d-a-v I setup my freeradius server to EAP-TTLS-MSCHAPv2:
eap {
...
default_eap_type = ttls
...
ttls {
...
default_eap_type = mschapv2
...
}
but got a ESP8266 crash:
SDK:3.0.0-dev(c0f7b44)/Core:2.5.0=20500000/lwIP:STABLE-2_1_2_RELEASE/glue:1.1/BearSSL:6778687
...
WPA2 ENTERPRISE VERSION: [v2.0] enable
wifi evt: 8
scandone
..scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 1
cnt
EAP-TTLS: Start (server ver=0, own ver=0)
.Fatal exception 28(LoadProhibitedCause):
We can't be of any help. You can wait for RTOS-SDK WPA2 examples (they are at 3.1, they promised such example for 3.2) or use latest NONOS-SDK which has this example. Their native environment is quite hard to use (at least to me), I have setup this environment to experiment with their native api, if it could help.
Moved to ESP32 finally. It seems WPA2-Enterprise works well there.
Basic Infos
Platform
Settings in IDE
Problem Description
I have an issue establishing WPA-Enterprise connection using Free Radius server. The server properly works with my android phone.
If I use version Core 2.4.2 I have the following debug output:
Free Radius server output:
Core 2.5.0 fails as well, but gives me different server output:
Free Radius server output:
MCVE Sketch