-
Notifications
You must be signed in to change notification settings - Fork 536
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
Please add PAP for authentication phase 2 (along with MSCHAPV2) #133
Comments
@FayeY, in this statement of yours: (link to thread)
Is it the phase 2 authentication that you are referring to ? |
@d-a-v Thanks for opening this issue. I hope someone from espressif will address this soon. As for your PR about SDK3.0.0, did you mean that this version addresses the wpa2 issue? |
Seems like things are quiet. Here is one thing I wonder. I came across https://github.com/JeroenBeemster/ESP32-WPA2-enterprise. Now, I have not tested this, but I wonder if ESP32 is working, would it be possible to find the relavent files, and port it to ESP8266? Is this even a possibility or are we talking apples and oranges here? |
I have tried that example with my esp32 and the eduroam network. Didn't
work. Stuck waiting for wifi to connect.
…On Thu, Jun 21, 2018, 18:24 kapyaar ***@***.***> wrote:
@d-a-v <https://github.com/d-a-v> @FayeY <https://github.com/FayeY>
Seems like things are quiet. Here is one thing I wonder.
I came across https://github.com/JeroenBeemster/ESP32-WPA2-enterprise.
Now, I have not tested this, but I wonder if ESP32 is working, would it be
possible to find the relavent files, and port it to ESP32? Is this even a
possibility or are we talking apples and oranges here?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#133 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AKqUHN99hjpd6nyjJN69ZUxnzyyiqN3wks5t-8izgaJpZM4Uia4g>
.
|
@kapyaar Maybe there exists some common code shared between esp32 and esp8266 regarding the physical layer firmware and specifically wpa2-enterprise. In that case, solving this issue for one would solve it for the other. |
An update: apparently they're working on it: https://bbs.espressif.com/viewtopic.php?f=66&t=5962&start=10#p20892 |
which is actually nonos-sdk's github 236b6d0 and their internal gitlab's abf945d5 made for espressif/ESP8266_NONOS_SDK#133 and including wifi_{get,set}_sleep_level and wifi_{get,set}_listen_interval that *may* be relevant for esp8266#2330
Latest commits (as of 89920dc) do not solve this TTLS/PAP issue:
|
Are we stuck on this? I do have a wpa2 enterprise network (and also eduroam access), and going to test it out this weekend. Do I just need to copy the lib files from espressif repo to the arduino sdk folder, compile and run? I read on here that I have to
I tried this on my windows 10, but sh fix_sdk_libs.sh on terminal does not seem to work (in the correct directory offcourse). Am I doing it wrong? |
This is an arduino specific discussion, if you wish to use the lastest nonos-sdk with arduino, check the arduino's relevant PR. |
Hello,
I have the chance to have a full access (with logs) to a local server of the widely used (and now reaching asia) 'EDUcation ROAMing' eduroam network to which a bunch of esp8266 users would like to connect to. It's generally a wpa2-enterprise network.
It does not work here and I think for a simple reason: the ESP is using
MSCHAPV2
,But this network can require the
PAP
phase 2 authentication method.That explains why some user can connect to that network, and why some others not.
The required EAP method is
TTLS
which the ESP honours from user application and according to the esp-nonos-sdk logs below:edit: same result with current git version of the firmware
SDK:3.0.0-dev(097de86)
FWIW,
None PAP MSCHAP MSCHAPV2 GTC.
The ESP uses MSCHAPV2 and to my knowledge the nonos-sdk API does not propose to select something here.
PAP
phase 2 method.Here are the laconic logs of the radius server of my local network. Note that my user name is correctly transmitted from the esp, but not the password. The mac address shown is the esp's one:
Relevant part of the source code:
Thus, the question is:
Would you be able to propose an API to select at least the Phase2 authentication method ?
Thanks for your support
The text was updated successfully, but these errors were encountered: