As far as I'm aware the ethernet shield has no built-in ping function. If you want it to reply to a ping you have to programme it to.
The example sketch that grabs a google page is probably a good place to start to make sure it's working. It grabs a web page and outputs it to the serial port so you can see it (well, see the raw html) in the serial monitor.
Pin 10 is the chip select pin that selects the ethernet shield as the SPI device to talk to. You're trying to talk to the ethernet shield, aren't you? So, yes, pin 10 should be HIGH.
The status of pins 11, 12, and 13 depend on what the shield is doing at any given time.
anyway, it doesn't work, if i try the webclient example, the shield can't connect to the server, it doesn't matter if there is a network cable pluged in, the serial monitor returns the same... (connection failed...)
i think "client.connect()" should return "1" or "0", but when i insert "println(client.connect());" it returns nothing...
.
.
Serial.begin(9600);
// give the Ethernet shield a second to initialize:
delay(1000);
Serial.println("connecting...");
Serial.println(client.connect());
// if you get a connection, report back via serial:
if (client.connect()) {
.
.
I have three of the 'official' arduino ethernet cards running and all of them respond to pings. I'm using the example code modified for my project. So, the arduino ethernet cards do work with a ping.
i have the official w5100 shield and i test it with the example codes (webserver, webclient).
i can't ping it
when i insert the line Serial.println(client.connect()) before the "if" query in the webclient code, it return a space, i don't know where the space comes from, because normaly it should return "1" or "0"
-the rx led is blinking
-the tx led does nothing, only if i change some things for example the ip of my laptop
-i think the tx should do something when i start the webclient example, but nothing....
what do you think, is this a network or an ethernet shield problem???
Ran your code having put in my Mac and IP and it conected quickly and printed your response...
Odd thing is, if I push reset to run again, it won't connect a second time unless I change my IP to another number 192.168.0. XX
then, it connects but only once...
:~