(Help)My Ethernet Shield suddenly stopped working (Solved)

Try this test code. It checks the SPI connection to the ethernet shield. If the IP shows in the serial monitor as 192.168.2.2, then that part is working. If it shows anything else, like 0.0.0.0, then that part is failing. Check the pins (especially the ICSP pins) to insure good contact with the Arduino.

#include <SPI.h>
#include <Ethernet.h>

byte mac[] = {  0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
IPAddress ip(192,168,2,2);

void setup() {
  Serial.begin(9600);

  // disable SD card if one in the slot
  pinMode(4,OUTPUT);
  digitalWrite(4,HIGH);

  Serial.println("Starting w5100");
  Ethernet.begin(mac,ip);

  Serial.println(Ethernet.localIP());
}

void loop() {
}