Bad luck. You chose example code from someone who was asking for help because their code didn’t work.
The http get is badly formed and missing at least the host part. Look at post #6 in thr link you quoted.
6v6gt:
Bad luck. You chose example code from someone who was asking for help because their code didn’t work.
The http get is badly formed and missing at least the host part. Look at post #6 in thr link you quoted.
Hello 6v6gt, I have tested all the examples of this topic (some of these are working for them), not for me.
Hello again, thank you again but I tried yesterday this example too. I spend like 5 hours with no success.
I did it again now with my MAC, IP and DNS and I set Google on server because for now I just testing and I get the following error:
Initialize Ethernet with DHCP.
Failed to configure Ethernet using DHCP
Ethernet shield was not found. Sorry, can't run without hardware. :(
I have my arduino UNO connected to USB on my computer, maybe is this the problem? Maybe I need this:
google.com will not work because, since that example was posted, google.com no longer supports simple http. Anyway, your problems come earlier and now appear to be hardware/library related.
I am assuming you have some sort of Ethernet interface attached to your Arduino, even if it does not match the one in the picture.
You don't have to change the mac address from that in the example.
My suggestion now is to go back to your original code and try adding in the two new lines from here: