esp8266 / Arduino

ESP8266 core for Arduino
GNU Lesser General Public License v2.1
15.99k stars 13.33k forks source link

How to connect to a WPA2 network? #4199

Closed kifufu closed 6 years ago

kifufu commented 6 years ago

Hi guys!

Basically I need to connect my ESP8266 in my school's WiFi which is a WPA2 network (SSID, username and password). Whenever I tried looking for a solution or an example I always see one with WPA networks only (SSID and password). Can you guys please tell me how to make a code for this? Everything works in my home WiFi, just need it to connect to the School's Wifi for a project.

Thank you.

dragon-engineer commented 6 years ago

The 'issues' are not for this kind of questions.

devyte commented 6 years ago

As a side note, you seem to be confusing wpa, wpa2, and wpa2 enterprise. It is the latter that requires username and password. The underlying support is provided in the Espressif sdk, and I've seen mixed reports about it working. If you do get it working, an example would be appreciated.