Arduino Stack Exchange is a question and answer site for developers of open-source hardware and software that is compatible with Arduino. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have been using my ESP8266 module with my Arduino on my university's Wi-Fi network, which only requires a password to log on to.

The university will soon terminate that Wi-Fi network and replace it with one that requires a username and password to log on.

What would that AT command be to connect to such a network?

share|improve this question
    
sounds like you'll need WPA2/Enterprise - read this and this - though I'm not sure if the latest AT firmware has any support - but I haven't read those links too much – Jaromanda X Jul 23 at 2:40
    
Get a wifi router, and make a local "development" network. (If you don't need internet on the ESP8266) – Paul Nov 27 at 21:34

We can't tell without more information but it sounds rather like you will need a [WiFi_SSID, WiFi_PASSWORD] pair for the ESP to connect to the WiFi, and a [Network_USERNAME, Network_USERPASSWORD] pair for their network to let you use the network (as if you were logging onto it by hand from a terminal).

If so, you'd provide the first pair as you do now, with the AT+CWJAP... command, to get your device connected to the WiFi. For the second pair, your Arduino will probably need to interact with a user logon screen to provide the second pair. You'll need to get those details from the school's IT department, and possibly mimic a terminal.

share|improve this answer
    
The network will be WPA2 secured. When logging on with my Windows 10 PC, I am prompted to enter credentials in a web browser. When using the ESP8266, might I need to send an HTTP request to the AP containing login credentials? – PNNoel Jul 22 at 18:25
    
That seems at least possible. We really don't know enough yet to do more than guess. – JRobert Jul 22 at 18:48
    
I'm using an ESP-01, interfacing with it using softser. The network is WPA2 secured, which is supported by the ESP8266. I will have to connect to Eduroam to use the network. – PNNoel Jul 23 at 23:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.