When I run this code on my W5100 Ethernet Shield:
byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
void setup() {
Ethernet.begin(mac);
}
it only works when the SD Card was removed from the shield!
It took me days to find this error. With SD Card installed only the full begin setup works:
Ethernet.begin(mac, ip, dns, gateway, subnet);
The official documentation of Ethernet.begin()
says nothing about this problem. Why does it only fully work with SD Card removed? Is this a "documentation bug"?