Skip to content

updated WifiClientEnterprise example #1988

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

Merged
merged 2 commits into from
Nov 19, 2018
Merged

updated WifiClientEnterprise example #1988

merged 2 commits into from
Nov 19, 2018

Conversation

martinius96
Copy link
Contributor

Added to program:

  • counter
  • auto restart on unsucessful connection or authentization timeout (30 seconds)
  • changed HTTP GET connection

Tested under boards:

  • ESP32 DevKit V1
  • ESP32 DevKitc V4
  • Lolin32

Tested version of Arduino core

  • June 2018

@me-no-dev me-no-dev merged commit c7fa251 into espressif:master Nov 19, 2018
@virat92
Copy link

virat92 commented Nov 24, 2018

Thanks for your code,
i am using ESP32 DevKitc V4
getting error
E (1436) wpa: Method private structure allocated failure
Stack smashing protect failure!
abort() was called at PC 0x400fab73 on core 0

How can i resolve it.

@martinius96 martinius96 deleted the patch-4 branch November 24, 2018 13:14
@martinius96
Copy link
Contributor Author

martinius96 commented Nov 24, 2018

@virat92 Hello.
I am using same board without any problem.
I think problem will be in version of Arduino core. I am using from June 2018. Newer versions have some problem at connection to Enterprise networks after some update that was after June 2018.

I am using board on Eduroam network at University under auth. methods PEAP + MsCHAPv2. Eduroam networks are under FreeRADIUS servers, I haven't any problem at connection to them.
I had same error when I was trying to connect to my Zeroshell RADIUS server at home, it was using methods PEAP + MsCHAPv2, i had same error + HANDSHAKE timeout.
I think you are using different network (not Eduroam) or you have too old, or too new version of Arduino core.

I haven't seen yet sucessful connection to any other network, only to Eduroam under Enterprise (802.1x) yet.

@virat92
Copy link

virat92 commented Nov 24, 2018

yes i am not using eduroam network, i am trying to connect corporate network with PEAP method without certification.
Same configuration i am using in my phone and its working.

Anyways thank you for your reply.

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

Successfully merging this pull request may close these issues.

3 participants