-->
Page 1 of 1

WPA Enterprise login without CA certificate

PostPosted: Thu Mar 10, 2016 9:40 am
by S Laik
Thanks a lot for giving your time and reading this,

I have gone though the WPA enterprise question posted in the forum and the related links, but it's not able to help me so I'm starting another topic.

I am trying to connect my ESP to my office network.
To connect through mobile this is usually is the setting:

SSID:PanLAN
EAP methode : PEAP
Phase 2 authentication: None
Ca Certificate: None
Identity: Asia-Pacific\SLAIK
password: Badonkadong

I took the edurom.ino from joostd's github and tried to run it.
https://github.com/genomics-admin/esp8266-eduroam/tree/master/Arduino
I got the following error.

Code: Select allerror: 'wifi_station_set_username' was not declared in this scope

   wifi_station_set_username(identity, sizeof(identity));

                                                       ^

ESP8266_PEAPAuth:323: error: 'wifi_station_set_cert_key' was not declared in this scope

   if( wifi_station_set_cert_key(testuser_cert_pem, testuser_cert_pem_len, testuser_key_pem, testuser_key_pem_len, NULL, 0) == 0 ) {

                                                                                                                          ^

ESP8266_PEAPAuth:337: error: 'wifi_station_clear_cert_key' was not declared in this scope

   wifi_station_clear_cert_key();

                               ^

ESP8266_PEAPAuth:338: error: 'wifi_station_clear_username' was not declared in this scope

   wifi_station_clear_username();

                               ^

exit status 1
'wifi_station_set_username' was not declared in this scope


I'm new to ESP/Arduino however to my eyes it looks like i'm missing the user_interface.h and c_type.h file.

Question1: The github account don't have them, so where can I get them from?
Question2: I know user_interface.h is available on github from other projects, but can I use them?
Question2.1: If yes, then where shall I put the user_interface.h after downloading?
Question3: I found ctype.h in my computer @ "C:\Program Files (x86)\Arduino\hardware\tools\avr\avr\include" is it the same as c_type.h mentioned in the code? can I rename and use ctype.h?
Question4: Is there any other/better example available for me to follow and get my ESP connected to the network?