Connecting ESP32 to WiFi that requires username

hnoronhaa
Posts: 1
Joined: Sun Apr 30, 2023 4:08 pm

Connecting ESP32 to WiFi that requires username

Postby hnoronhaa » Sun Apr 30, 2023 4:16 pm

Hi!
Is there a way to connect the ESP32 to a WiFi network that is expecting a username and it's password?
Thank!
hna

ESP_Sprite
Posts: 9730
Joined: Thu Nov 26, 2015 4:08 am

Re: Connecting ESP32 to WiFi that requires username

Postby ESP_Sprite » Mon May 01, 2023 1:14 am

It depends. If it's using WPA Enterprise, then yes, just use the API for that. If it's using some sort of captive portal (you connect to an unsecured access point and it shows you a webpage with an username/password prompt), there's no real way aside from trying to figure out how to pass that webpage the right credentials using a http client, and how to do that depends on the specific software that runs that webpage.

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 107 guests