Попробуйте упрощённый вариант
// the IP address for the shield:
IPAddress ip(192, 168, 1, 10); //static IP address
IPAddress ip_gate(192, 168, 1, 1);
IPAddress ip_subnet(255, 255, 255, 0);
IPAddress ip_dns1(8, 8, 8, 8);
IPAddress ip_dns2(8, 8, 4, 4);
const char *ssid = "****";
const char...