It looks like the router does not have an internet connection at all. Can you wget from other sites? Try
and see what happens. If that returns the same error, that means the router simply has no connection to the internet, which could be caused by a number of things. Given that you are apparently able to access the router through the local network, I'd be interested to see your network config.
Jeroen