I'm trying to connect the official Arduino Wifi Shield, mounted on an Uno R3, to a WPA2 network. I'm using the standard ConnectWithWPA sketch with the appropriate SSID and password details.
However when I run the sketch, I get the "Attempting to connect..." message over and over again. If I look at the shield itself, the red error light is illuminated from just after power up, then the green link LED will light up for a few seconds, before reverting to red again. The green light doesn't come back, even briefly, unless the board is reset.
Reading around, some people have said that the originally released firmware was buggy so I've flashed it with the latest firmware for both antenna and shield from GitHub
, trying both the master and the udp_dev branches. Same results in both cases.
Can someone please give me some pointers here? It is a very frustrating that an relatively expensive piece of kit doesn't work out of the box, let alone after a day or two of Googling, etc.