I have a board with an ESP8266 chip with Micropython v1.8.7 firmware. My requirement is to use WebREPL through University Wi-Fi, which uses WPA2 Enterprise EAP-MSCHAPv2 authentication. So far, my Google-fu has informed me that Arduino users were able to connect to WPA2 Enterprise EAP-TLS (Certificate Based Authentication) ( link ), but not (SSID, username, pwd).
All the threads that I have seen so far on this issue seem to be from the middle of 2016, so I wonder if anyone could figure out how to do this since then. I have never done things related to the network before (and I'm not a great programmer), so all of the above words are pretty new to me. I have the following questions:
- Is this just an integral limitation of the ESP8266? Or can it be done? This discussion seems to suggest that this can be done, but capabilities must be encoded.
- Is it possible to somehow deploy a WPA2 Personal connection to WPA2 Enterprise, which can be used by ESP8266, as well as my computer? What I have tried so far is to try to use a hot spot using Connectify, but no luck there.
I appreciate any help you guys can provide. If I did not include any relevant information, let me know and I will edit it.
Edit: @MaximilianGerhardt This is what works for me on WPA2 Personal:
import network
wlan = network.WLAN(network.STA_IF)
wlan.active(True)
wlan.connect('ssid','pwd')
wlan.ifconfig()
import webrepl
webrepl.start()
At WPA2 Enterprise, I was hoping that changing this line would work, but without joy:
wlan.connect('ssid',auth=WPA2_ENT,'user','pwd')
Thank you, I will review the Espressif Non-OS SDK V2.0.0 and see if I can make it work.
source
share