Ethernet Shield problem

Hello everyone. I have an Arduino Uno and recently i got an thernet shield ENC28J60 from My proble is that i cant make it work…

I used this code below:

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

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

void setup() {

 // disable SD card if one in the slot

 Serial.println("Starting w5100");


void loop() {

and my result is

I can’t assign an ip nor with dhcp neither with static. can you help me please?

You are using the library for the w5100 ethernet shield. You need to install the ENC28J60 library.

Thanks a lot. I will try it later