I have used Arduino Mega and ENC28J60. Connections (Vcc - 5V, SO- 50, SI - 51, SCK- 52, CS-53) I have used Ethercard library. Initially it worked well but after few days it shows me on serial monitor as shown below..
DHCP failed My IP : 0.0.0.0 GW IP :0.0.0.0 DNS IP : 0.0.0.0
usually its conected when i did first and i got the IP add in serial monitor, but now i get this. I have checked all the connections properly. Please find me a solution for this .