Go Down

Topic: setting up ethernet shield (Read 5 times) previous topic - next topic

joe1401

yer i tried to ping but when i do it says desination host unreachable

PaulS

Quote
yer

???

Quote
i tried to ping but when i do it says desination host unreachable

Time to talk to your network admins, then. The message is saying that the ping packet is not destined for a host that the packet can find a path to.

If the problem were on the Arduino end, the packet would be delivered, but no response would be received (which will happen because your Arduino isn't responding to requests now).

There are examples of the Arduino acting as a server. You should modify one of them, and put your network data in it, and upload that for testing.

zoomkat

If you are directly connecting the ethernet shield into an ethernet connection on a windows xp pc, you will probably need to set up internet connection sharing (ICS) and use a crossover ethernet cable.
Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   8)

joe1401

ok so i tried last night with putting a webserver example and just putting in my details i wanted e.g. the mac address and ip address. it ping fine last night but now i try it and it still says destination unknown. any help will help thanks

joe1401

ok i found out why it wasnt pinging it was because when my computer was attached to the company network the ip started with 172. but when discontected then connected to the arduino ethernet shield it was 169.xx so when i set the ethernet shield up i was setting with the 172 and the computer was at 169. thats the reason i think so i set the ip address of arduino to the same as the computer but just changed the last number by ten and now it pings and works fine.

ok so this now leads on to my next question how do i get the arduino to automatically do this http://exchange.mvps.org/smtp_frames.htm . and is it possible for it to do this

Go Up