if you havent installed it already install rootsh from the repository. Then on the terminal window, type sudo gainroot and then try the ping command.
And for the THIRD time: On your N900 are you getting the IP automatically? getting the DNS automatically? Or just set them to auto-retrieve if you are unwilling to disclose that information.