Do you still have the SD card in the shield's slot? If so, I do not see in your code where you are disabling the SD card SPI. That could cause problems with the w5100.
Do you still have the SD card in the shield's slot? If so, I do not see in your code where you are disabling the SD card SPI. That could cause problems with the w5100.