-
Notifications
You must be signed in to change notification settings - Fork 249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ethernet shield startup problem if no internet connection #201
Comments
2.0.1 doesn't fix anything, it just doesn't have one compilation warning which confused users. |
Hello, to determine where it was not working I inserted different messages in different places of the program using #define SECRET_MAC {0x90,0xA2,0xDA,0x0D,0xC1,0xC1} // here your MAC address...
byte mac[]=SECRET_MAC; // variable for your MAC address
IPAddress ip(192,168,1,145); // The default IP address that the shield will take if the box does not assign an IP. If you reconnect the ethernet cable it works fine. But normally if the DHCP of the box does not respond the shield should initialize with IPAddress. |
yes. and it does for me and for others a.f.a.i.k. |
Yes normally without dhcp, the shield should initialize with ipAdress (fixed ip) but this is not the case it crashes after a short waiting time, then it reboots and that without stopping! I can send you if you wish the code of the sketch. |
Hello, I use Arduino Mega with w5100 and w5500 Ethernet shields. And the Ethernet library v2.0.
If the Ethernet cable (or internet does not work when booting the Arduino)
The Arduino reboots without stopping it remains blocked on the instruction:
error= Ethernet.begin(mac);
then reboot , it does not pass following the code:Does version 2.0.1 fix this problem?
If not, how can this problem be corrected?
Thanks
The text was updated successfully, but these errors were encountered: