You have to make sure that you are successfully connected to the network, you can see this by using the command in your sketch:
system(“ifconfig eth0 > /dev/ttyGS0”);
This command will display your current Ethernet configuration. If you see that some packages has been sent and received and you still don’t have internet access you probably need to change the DNS or to use a proxy to get internet access. I hope you find this helpful and by the way we moved this thread to the appropriate forum.