Skip to content

wpa2 Enterprise (eap_tls) problems, how to understand wifi debug code ?? #2367

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
teji24 opened this issue Aug 4, 2016 · 5 comments
Closed

Comments

@teji24
Copy link

teji24 commented Aug 4, 2016

Hello,
i use arduino 1.6.9 with 2.3.0 esp add-on...
Work fine, thanks for theso good job !
i need to connect to eap-tls network. Then i begin to test with a home labo test.
with help of "eduram" exemple, i can connect to wpa enterprise eap-tls network, with certificate.
GOOD !
But at customer site, it don't want to connect.
i received a pfx certificate, has extracted cer&key to use in "eduram" example, without success... :-(
i used "Serial.setDebugOutput(true);" to obtain more infos.
indeed, i received code like:
---------------cut cut cut--------------------
set cert key
scandone
f 0, scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 2
cnt
..........pm open,type:2 0
....................state: 5 -> 0 (2)
rm 0
pm close 7
reconnect
f r0, scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 2
cnt
.......
---------------cut cut cut--------------------
some text like "." or "set cert key" are sent by myself.
but HOW TO UNDERSTAND the debug informations ?
i would like to understant why it don't wanna connect on customer site, but accept to work in my "eap_tls testing labo" .....
but no doc about wifi debugging message anywhere.
Then before asking help about eap-tls itself, i prefer to try to understand wifi debug messages....
cause i was trying different kind of certificate, and got different debug codes.
Then understand can probably help me...
Thanks a lot for your answers ! Anyone can understand thoses codes ???
(anyway, if someone can talk about similar experiences....)
TéJi

@teji24
Copy link
Author

teji24 commented Aug 5, 2016

WPA2 enterprise connection @ customer site is now OK, fault was "identity not set" in my code.
BUT the explaination about wifi debug code remain !!!
Is someone understand thoses codes ? where is the doc ??
Thanks !

@gorghino
Copy link

Did you manage a WPA2-PEAP connection? How did you do it? Could you please share your sketch and configuration?

@teji24
Copy link
Author

teji24 commented Oct 25, 2016

Hello. Not peap. I use wpa2 eap.
But it slow.....
Le 22 oct. 2016 12:47, "Davide Aguiari" [email protected] a écrit :

Did you manage a WPA2-PEAP connection? How did you do it? Could you please
share your sketch and configuration?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#2367 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AM_aDEvLSBCbdU2x_7IA-mUUP3EXA_npks5q2emwgaJpZM4JdJQ0
.

@shmrymbd
Copy link

hi to connect to WPA2 Enterprise + MsChapv2.. anyone can advice?

@devyte
Copy link
Collaborator

devyte commented Oct 14, 2017

Per next to last of OP's comments, the underlying connection issue is solved. Also, in #3215 (sdk 2.1.0), the new sdk now has an api to set the outer identity.
Closing as resolved.

@devyte devyte closed this as completed Oct 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants