Help! I cannot connect to our network. I am using Arduino Uno WiFi Rev2.
The network name is eduroam
I have to enter a user name to login to the network. Username is gaminib
Next I have to enter a password e.g., abcdef1234
I am using this code from examples, WifiNINA
Connectwith WPA
/*
This example connects to an unencrypted Wifi network.
Then it prints the MAC address of the Wifi module,
the IP address obtained, and other network details.
created 13 July 2010
by dlf (Metodo2 srl)
modified 31 May 2012
by Tom Igoe
*/
#include <SPI.h>
#include <WiFiNINA.h>
#include "arduino_secrets.h"
///////please enter your sensitive data in the Secret tab/arduino_secrets.h
char ssid[] = SECRET_SSID; // your network SSID (name)
char pass[] = SECRET_PASS; // your network password (use for WPA, or use as key for WEP)
int status = WL_IDLE_STATUS; // the Wifi radio's status
void setup() {
//Initialize serial and wait for port to open:
Serial.begin(9600);
while (!Serial) {
; // wait for serial port to connect. Needed for native USB port only
}
// check for the WiFi module:
if (WiFi.status() == WL_NO_MODULE) {
Serial.println("Communication with WiFi module failed!");
// don't continue
while (true);
}
…. Snip
In the secret tab "arduino_secrets.h" When I place
#define SECRET_SSID "eduroam"
#define SECRET_PASS "gaminib"
And upload to the board,
I get this in the serial monitor and nothing else happened.
09:06:05.702 -> Attempting to connect to WPA SSID: eduroam
I entered gaminib in the send box of the serial monitor and nothing happened.
In the secret tab "arduino_secrets.h" When I place
#define SECRET_SSID "gaminib"
#define SECRET_PASS "secretpassowrd1234"
And upload to the board,
I get this in the serial monitor and nothing else
09:10:29.499 -> Attempting to connect to WPA SSID: gaminib
How do I connect to our network?
Thank you.