This question might not be directly related to problems in Ubuntu, but I am still posting this here because it is possible that someone might know of a solution.
I am using Ubuntu 12.04 and am using a Belkin N150 wireless router to connect to the Internet. It seems that there is a problem with using Belkin N150 wireless routers. The Internet connection is very flaky, and the connection drops frequently for a few minutes before it is again re-established.
I found the following link that discusses how to solve this problem on other non-Linux platforms.
http://www.wurwaldesign.com/blog/2011/03/belkin-n150-router-slow-solutions-for-complete-beginners/
It would help if anyone can suggest ways to solve this issue on Ubuntu.