mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-28 01:25:49 +03:00
[GH-ISSUE #309] add support for IEEE 802.1x #261
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#261
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @CWempe on GitHub (Feb 7, 2017).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/309
It would be great if WiFiManager would support authentication via IEEE 802.1x.
In some universities there is no "normal" WiFi and you need to connect via 802.1x.
This would make developing in education much easier.
I understand this is supported with the new SDK 2.0.0 for esp8266.
Which is available for Arduino, I think.
github.com/esp8266/Arduino@ae13809c81@tablatronix commented on GitHub (Feb 8, 2017):
no where near stable though stable is still SDK 1.5.3
no milestone either, i have not even touched master in months, how stable is it ?
@CWempe commented on GitHub (Feb 8, 2017):
I have no idea if the new sdk is stable or not.
I just read somewhere that 802.1x is (or will be) supported with sdk 2.0.0.
@l00mi commented on GitHub (Mar 28, 2018):
Being new to this party I am wondering if the SDK 2.0.0 has matured and if 802.1x could be considered?
@bkrajendra commented on GitHub (Sep 26, 2019):
Im testing WPA2 PEAP with following code. will let you know if it works:
@bkrajendra commented on GitHub (Sep 27, 2019):
Tried all day long... but no success. getting error as follows while connecting:
Searched a lot on various forums, tried many options. Currently using latest commit from master.
tried all possible way given on forums but no success.
I tried all this without using WiFiManager.
And im using static IP.
Im currently doing this setup for a Industry environment, and I guess i need to conclude that ESP8266/ESP32 are not made for Industry.
Most Industry has this compliance to use WPA2-Enterprise security in their networks.
So in short we can not sell any solution to Industry based on ESP.
If anyone tested please help. I understand this is not place to ask help... but eventually we all come at this place for wifi need. So any one got any success will be good to know.
@tablatronix commented on GitHub (Sep 27, 2019):
You running wireshark on this , I guess that would be difficult, any other way to sniff whats going on ?
@bkrajendra commented on GitHub (Sep 27, 2019):
No chance of any sniffing. They have very tight norms for using any third party software inside premises.
I can take per permission to do so, but need to know what to look for!
As I confirmed from IT person (who has very limited knowledge of all this RADIUS stuff) about the error that i got regarding EAP-MSCHAPv2 which is mostly due to settings in RADIUS serve. As he said its properly set to use MSCHAPv2.
I read on some forum about this that some server use MSCHAPv1 or NTLMv1 hence this error is shown.
Still I will not give up. today I'll try to setup my own RADIUS server using Raspberry Pi and test this flow.
@tablatronix commented on GitHub (Sep 27, 2019):
Yeah I googled
and found a few confusing posts
@kotelmach commented on GitHub (Oct 30, 2020):
Has anyone got this working yet?
@tablatronix commented on GitHub (Oct 31, 2020):
afaik no one has looked into this any further
I guess we can revisit it has been awhile, not sure if there has been any development done
@kumpakan commented on GitHub (Dec 2, 2020):
With this code, I can connect to university network I work.
@ildarlomov commented on GitHub (Jan 22, 2021):
could you please add some more details? which model of the hardware? which version of esp8266 lib?
I've searched the implementation of bool wifi_station_connect(void) mentioned above and not found one in the source. In particular, there are no source files near the header in which the function definition is located ./Arduino/tools/sdk/include/user_interface.h Guess this work in progress.
@ildarlomov commented on GitHub (Jan 22, 2021):
what I've found is that on esp32 PEAP+mSCHAPv2 works and it's enough for me
hope it helps some of the enthusiasts https://github.com/espressif/arduino-esp32/issues/160
I also found that wpa2 enterprise is not currently possible on esp8266
@ernestocurty commented on GitHub (Jul 27, 2021):
Hi all,
I am also interested in getting the WPA2 enterprise working. I am developing a scientific project (automated bioreactor for tissue engineering), and support for IEEE 802.1x would be highly desirable since most academic environments use this type of authentication.
I tested the code posted on this discussion, which is very similar to the code posted above by @bkrajendra and kumpakan, and I was able to successfully connect to my institute network, which uses the following configuration:
@ildarlomov, for this test, I used a generic/Chinese esp8266 (esp01) module from amazon. I also used Arduino IDE with the ESP8266 core, version 3.0.1
The mentioned headers in the code are part of the core. I located them inside the esp8266 core folder:
/packages/esp8266/hardware/esp8266/3.0.1/includeBest,
Ernesto