Re: WPA2 Enterprise?
Posted: Fri Jan 29, 2016 2:19 am
Ok, could someone explain to me how to use it? What do i need to change in the radius server and what data do I need to put into the sketch?
-->
Open Community Forum for ESP8266, Come share Arduino and IoT (Internet of Things)
https://www.esp8266.com/
cwhummel wrote:is it possible to connect to a WPA2 enterprise account?
I'd like to work on my esp at work in my downtime, but the only wifi I can use is wpa2 enterprise, requiring username as well as ssid and password,
const char* ssid2 = "wifi1";
const char* password2 = "7Gh^gdg";
const char* username2 = "ephimee";
const int user2len = 28;
const int waittime = 10000;
wifi_station_set_username((unsigned char *)username2,user2len);
wifi_station_clear_cert_key();
WiFi.begin(ssid2, password2);
c=0;
while (c<waittime) {
Serial.print(".");
delay(500);
c+=500;
if (WiFi.status() == WL_CONNECTED) {
c=waittime;
}
}