jeelabs / esp-link

esp8266 wifi-serial bridge, outbound TCP, and arduino/AVR/LPC/NXP programmer
Other
2.85k stars 723 forks source link

Support of 802.1x (WPA2-Enterprise using EAP or PEAP) #254

Open igittigitt opened 7 years ago

igittigitt commented 7 years ago

Hello, currently, esp-link only offers connections to "Open" (unsecured) or Password-protected (PSK) WLANs. To use it in more secure environments like enterprise Wifi's, it would need have 802.1x support also.

WPA2-Enterprise support is there since SDK 1.5 (see this releasenote), so it should be possible.

gnif commented 7 years ago

+1

I can't use this in my environment. I have some ESP8266 modules on the lan using EAP-PEAP with MSCHAPv2, so it is indeed possible and should be a minor change to add support.

gnif commented 7 years ago

I have had a go at hacking this into the EAP 2.1 branch, the issue is there is too much memory overhead by esp-link. EAP requires 26KiB of RAM, not including the space that would be required if one were to provide the root CA for certificate verification.

tve commented 7 years ago

I'm afraid that as you describe EAP is not realistic unless the memory usage is somehow drastically slimmed down.