WPA2-Enterprise problem
Posted: Wed May 31, 2017 11:25 am
Dear all,
I have to connect an ESP8266 to a WPA2 enterprise network with EAP TLS authentication. I used the Arduino IDE several months ago, but I have some doubts on it.
First, I had a link in the File > Preferences > Board Manager URL that seems not to work:
http://arduino.esp8266.com/package_esp8 ... index.json
And I updated to this one:
http://arduino.esp8266.com/versions/2.3 ... index.json
I don't think my problem comes from that, but I comment it before explaining my problem.
My problem is that I have seen that there are new versions of the libraries, and in the latest ones I have to include this:
In order to use this:
Which I think I should use. Now I am using the deprecated functions wifi_station_set_username and wifi_station_set_cert_key...
When I try to compile I get an error:
How can I update the library, do I have to download it and include in the Arduino IDE? I thought it was automatically updated with the link I set in the preferences...
I think my error is in the very beginning and is basic, but I don't know and I don't have anybody to ask...
Sorry if it is a very basic issue, but I would appreciate any help.
I had the ESP8266-E12 board connected to the WPA2 Enterprise working, but now I have to install the program in new boards, WT8266-S1, but the guys who sold me them told me that they were an ESP8266-E12 Chip, so I thought it would be just to load the program, but I don't achieve to connect to the Wifi network...
Best regards,
Joseph!
I have to connect an ESP8266 to a WPA2 enterprise network with EAP TLS authentication. I used the Arduino IDE several months ago, but I have some doubts on it.
First, I had a link in the File > Preferences > Board Manager URL that seems not to work:
http://arduino.esp8266.com/package_esp8 ... index.json
And I updated to this one:
http://arduino.esp8266.com/versions/2.3 ... index.json
I don't think my problem comes from that, but I comment it before explaining my problem.
My problem is that I have seen that there are new versions of the libraries, and in the latest ones I have to include this:
Code: Select all
extern "C" {
#include "wpa2_enterprise.h"
}
In order to use this:
Code: Select all
wifi_station_set_enterprise_username()
wifi_station_set_enterprise_cert_key()
Which I think I should use. Now I am using the deprecated functions wifi_station_set_username and wifi_station_set_cert_key...
When I try to compile I get an error:
Code: Select all
23:29: fatal error: wpa2_enterprise.h: No such file or directory
#include "wpa2_enterprise.h"
compilation terminated.
exit status 1
Error compilación en tarjeta Generic ESP8266 Module.
How can I update the library, do I have to download it and include in the Arduino IDE? I thought it was automatically updated with the link I set in the preferences...
I think my error is in the very beginning and is basic, but I don't know and I don't have anybody to ask...
Sorry if it is a very basic issue, but I would appreciate any help.
I had the ESP8266-E12 board connected to the WPA2 Enterprise working, but now I have to install the program in new boards, WT8266-S1, but the guys who sold me them told me that they were an ESP8266-E12 Chip, so I thought it would be just to load the program, but I don't achieve to connect to the Wifi network...
Best regards,
Joseph!