Unable to connect ethernet shield to internet

I modified Linux telnet server code written in C that I found on the internet. It wasn't easy. The Arduino end was the easy part.