The DHCP example was with a different sketch. I had the Ethernet shield replaced and now both the DHCP sketch and the gateway sketch work! (I had no packets coming from the broken shield at all when connecting it through a sniffer)
/Carl
The DHCP example was with a different sketch. I had the Ethernet shield replaced and now both the DHCP sketch and the gateway sketch work! (I had no packets coming from the broken shield at all when connecting it through a sniffer)
/Carl
Tried some other exemple sketches and I can't get either static or dhcp to work. I se both to and RX lights on the shield flash but my switch say that no input is ever received. Thinking my shield is broken and will go get it replaced tomorrow and try again...
/C
I just switched from a serial gateway to an ethernet gateway but I can not get the ethernet gateway to connect to my network.
I have an Arduino UNO R3 and an ethernetshield (W5100) with and SD card holder on it. Compile the code with SOFT SPI and I get "Gateway startup complete" in the terminal monitor (and I recieve data from my sensors) but when I go to connect to my IP network I get nothing. My switch does not se the mac-address of the shield and I can not connect to or ping the shield. I added:
Serial.print("server is at ");
Serial.println(Ethernet.localIP());
to the sketch and the IP address that shows is 255.255.255.255. I believe something goes wrong setting the IP and/or mac address. Anyone have some good ideas how to fix this issue? This is my first time using an arduino with ethernet.
/Carl