[correction] WiFi.subnetMask()

The println() isn't outputting anything.
// print your subnet mask:
subnet = WiFi.subnetMask();
Serial.print("NETMASK: ");
Serial.println();

It should be changed to:
// print your subnet mask:
subnet = WiFi.subnetMask();
Serial.print("NETMASK: ");
Serial.println(subnet);

Also, the gateway variable is not being used :roll_eyes: