Open kbshal opened 1 year ago
how do you check for errors? i'm having the same issue. I'm able to connect to a WPA2 network but not able to connect to enterprise network.
ESP8266 and WPA Enterprise is a pain. Think, often the certificates used by the WPA Enterprise networks are too large for the ESP8266's memory and this causes crashes. If possible, try with the ESP32 instead.
my enterprise network doesn't use CA certificates. if that's what you are talking about.
What kind of authentication do you use?
PEAP-MSCHAPv2. I read in the readme that something related to MSCHAPv2 is broken. Is that the issue here?
this config after entering my username and password works well on my system.
This only means, this config doesn't check the server's certificate with a CA cert - there is the chance that you connect to a fake AP. Still the RADIUS server has a cert and sends it. See also: https://security.stackexchange.com/questions/182530/is-it-possible-for-an-802-1x-network-peap-mschapv2-to-have-no-certificate
MSCHAPv2 itself isn't a problem here as it is used inside a TLS tunnel to check the PW.
Yes, there is a chance that the RADUIS server sends me a CA certificate, but i dont know a way to check it. Also, it is my institute's wifi so it's not getting connected to a fake AP.
Shall I try on an ESP32? I'm actually still unable to find out the issue. 😅
Think, you should try.
the same code or this one https://github.com/martin-ger/esp32_nat_router.
edit: sorry, found out this one doesn't work.
It gives an error while trying to connect to the enterprise network