I got a new router yesterday (Arris TG3492 - sometimes branded as "Gigabit Connect Box") provided by my ISP.
I am having trouble connecting to this with my Arduino (nano 33 IOT, WiFiNINA).
No problem connecting to my previous router, or connecting to the hotspot on my phone.
I have been trying to troubleshoot this and I would really appreciate any pointers for solutions or further useful troubleshooting.
So far the only success I have had is creating an open guest network (router allows a guest network). This results in a successful connection. So I can only assume that the difficulty lies in the WPA2 protocol implemented on the router? Or maybe the router has a problem with the way the Arduino is providing the network login details. I am not satisfied with this solution as I live in a built up area and don't want to broadcast any open network.
Things I have tried so far (not code but just collecting it in a code box):
// Putting this up top because this is the only successful approach so far.
- Setting up temporary guest network, no security, and no reserved IP address. Arduino is not trying to assert an IP address with WiFi.config.
i. This gets a successful connection. Arduino shows up in list of connected devices on the router, and also makes a successful internet connection.
- With completely default router settings:
i. Arduino cannot connect
Deauthentication code '0'
ii. Arduino thinks it can connect with asserted IP address ( WiFi.config(ip) ), but it is not a real connection - no internet access, and it does not show up in the list of conneted devices on the router.
However, WiFi.begin() returns a WL_CONNECTED enum, and we get network data like:
BSSID value, specific encryption type (WPA CCMP)
- I have added a reserved IP address for the Arduino's MAC address, in the router settings. Arduino is asserting this IP address, as the router expects.
i. Same exact result as point (ii) above - Arduino thinks it is connected to the netwoek, but does not show up in router "connected devices", and it cannot make an internet connection.
- Disabled 5Ghz WiFi network, and enabled 802.11b/g/n on 2.4Ghz (Where previously it was 802.11g/n)
i. No change.
- Setting up a temporary guest network with no security (Router allows a guest network)
i. Despite router settings to not broadcast SSID of unencrypted guest network, the network shows up in Arduino's scan of nearby networks.
ii. No change from previous attempts. Arduino believes it is connected to the network, but does not show up in connected devices, and it cannot make a connection to the internet.
iii. Switching off unencrypted guest network now.
- Setting up temporary guest network, no security, and no reserved IP address. Arduino is not trying to assert an IP address with WiFi.config
i. This gets a successful connection. Arduino shows up in list of connected devices on the router, and also makes a successful internet connection.
- Factory resetting router again. Using all default values, changing 2.4Ghz to operate on 20/40MHz channel (instead of default just 20MHz). No reserved IP, no assertion of that IP by Arduino.
i. Result: No connection. As with every attempt without manual IP designation
- Swapping back to 20MHz 2.4Ghz, and changing to 802.11b/g/n from 802/11g/n. Otherwise factory settings.
i. Result: Same as above.