martinius96 / ESP32-eduroam

Examples with connection to eduroam powered university networks around the world and then to IoT services or self-hosted websites..
http://arduino.clanweb.eu/wpa2-enterprise.php
MIT License
98 stars 28 forks source link

Unable to connect with username@fqdn syntax #4

Open gojimmypi opened 4 years ago

gojimmypi commented 4 years ago

Heads up that I was unable to connect to our enterprise Wi-Fi using the format id@example.com; what worked for me instead was the domain\\username format (AD-authenticated) like this:

static const char* SECRET_EAP_ID = "my-Enterprise-ID"                      // EAP_ID (typically the same as EAP_USERNAME, e.g. domain\\my-Enterprise-UserName) 
static const char* SECRET_EAP_USERNAME = "domain\\my-Enterprise-UserName"; // Username for authentification (typically the same as EAP_ID); consider trying also username@yourdomain.com
static const char* SECRET_EAP_PASSWORD = "my-Enterprise-Password";         // Password for authentication