My Internet works initially but stops a few minutes into the session, especially if I don't use it for a few minutes (like to read an article or something) then go to use it.

I have a D-link DWA-130c usb wifi adapter on Ubuntu 12.04 LTS. Any help would be well appreciated.