-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
esp8266: WPA2 Enterprise support? #2778
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
Note that there are multiple boards that support wifi... which in particular are you talking about? |
Of course, sorry about that. I should have mentioned that I meant the ESP8266 NodeMCU development boards. For example, the Adafruit HUZZAH ESP8266 Breakout or the Lolin NODEMCU v3. |
If possible, I would love to see this supported for ESP8266 NodeMCU boards. It would open so many possibilities in business and education environments that frequently use this form of network security. |
Feel free to sponsor this development. |
What are the options to sponsor this development? |
There's a universal bounty platform for Open Source project, you can watch an attempt to use it in this ticket: #888 (comment) For serious ("business and education") offers please contact George Robotics, the creators of MicroPython directly using the information at the site: http://micropython.org/ |
Thank you for your reply. I'll try to check it out in the near future! Although I can see the possibilities of WPA2 enterprise support for business and education (for example the frequently mentioned and sought after Hopefully a system like the one you mentioned could help bring a number of people together to sponsor this functionality. :) |
I'm also interested in connecting to enterprise wi-fi 802.1x EAP (ssid, username, password) from micropython on esp8266 |
I've been reading to try understand how WPA2 Enterprise could be implemented. This looks to be the relevant micropython code https://github.com/micropython/micropython/blob/master/esp8266/modnetwork.c#L97 It calls functions (viz. There's a pertinent section in the SDK documentation about WPA2 Enterprise
|
The real problem is not the client side to implement this. Try to find an enterprise environment where you can implement, thoroughly test and play with this feature. |
A first go at trying to "embed some methods" resulted in overflowing the irom0_0_seg, as libwpa2 and libcrypto seem to both be needed. |
I see that Pycom document "Connecting to a WPA2-Enterprise network". Is this useful to us? Can we copy code from their fork? |
Probably, but note that Pycom produces esp32 based boards, so the micropython implementation for these boards is based on espressif's esp-idf targeting the esp32, and using a closed source wifi library also specific to the esp32. Pycom seems to have ported to the ESP8266 as well, but I'm not sure if that supports wpa2-enterprise? |
No, please do not copy any code from there because their license is not compatible with the MIT license used here. |
@joostd I have an esp8266 Wemos D1 Mini and an esp32 Wemos Lolin32. It looks like Pycom's WPA2_ENT implemenation is esp32-only. I guess it needs extra memory. @dpgeorge Thanks Damien for your reply. Shucks. I'd hoped the collaboration announced last year would make that possible.
|
Some good news from Espressif? espressif/esp32-wifi-lib#2 (comment)
|
Is this now implemented in the lib? I remember reading it in a changelog, but can't find anything about it in docs etc, |
No. |
Plus one from me. |
+1 |
1 similar comment
+1 |
+1 - my school uses WPA2 Enterprise. How can I help contribute to this? I have no experience with contributing to Micropython but I have some basic understanding of Arduino and C code. Any mentoring and advice will be appreciated. Thanks |
Hi. I started modifying the esp8266 port to enable WPA Enterprise but I have some problems in linking phase
When I add additional libraries i get following error:
|
I have found |
Has anyone achieved this yet? |
No I haven't but at the time this was an issue I arranged for the organisation to create a restricted 2.5GHz WPA2 Wi-FI network for IoT. |
I came across this while looking for a way to get an RP2 to connect, I suppose its gonna be a while |
is there a way to connect to wpa enterprise in normal python ? , if so maybe someone could port relevant code |
The network security protocols that can be handled are listed as WEP, WPA-PSK and WPA2-PSK. Are there any plans to support WPA2-Enterprise PEAP in the near future? Would love to see that included.
The text was updated successfully, but these errors were encountered: