davesteele / comitup

Bootstrap Wifi support over Wifi
https://davesteele.github.io/comitup/
GNU General Public License v2.0
322 stars 54 forks source link

How to connect to WPA2 Enterprise network #65

Closed bkrajendra closed 3 years ago

bkrajendra commented 4 years ago

is there any way to connect to WPA2 Enterprise network.

davesteele commented 4 years ago

I've never had access to such a network to develop/test against.

bkrajendra commented 4 years ago

Almost every industry uses WPA2 Enterprise for their WiFi network, which make all of existing IoT modules useless in such settings. Ive tried ESP8266, ESP32 and now Raspberry Pi but all are useless. Spent a lot of time figuring out to do it in some way but no success yet.

You can see a big list of parameters used in the network settings. https://www.cs.upc.edu/lclsi/Manuales/wireless/files/wpa_supplicant.conf Every network is configured in a different way and its really difficult to know exact settings.

krebbi commented 4 years ago

See 3.14 in the Docs for ESP8266 Support

https://www.espressif.com/sites/default/files/documentation/2c-esp8266_non_os_sdk_api_reference_en.pdf

davesteele commented 4 years ago

Try this:

bkrajendra commented 4 years ago

@krebbi It did not work for me.

bkrajendra commented 4 years ago

@davesteele thanks a lot for help, I'll definitely go through all and report you back.

CallumJHays commented 4 years ago

Hey guys, unsure if you managed to fix this. Turns out this is due to a bug being shipped since mid-Stretch: bug forum discussion

I want to make it easier for members of my university club to experiment with Raspberry Pi's, and this repo is just what I was looking for!

Keen to add WPA2-Enterprise support (with both username, password, and perhaps optional ca-certificate) to the web-page. Will take a look at accomplishing that over the next few days and hopefully submit a PR.

CallumJHays commented 4 years ago

For reference the solution was to edit: /etc/dhcpcd.conf

and ensure that wext comes before nl80211

# Replace with your actual wireless interface name.
interface wlx******
env ifwireless=1
env wpa_supplicant_driver=wext,nl80211