If you can keep your computer up for an hour without the internet, I don't think it would be a power supply or anything hardware related. Before you connect to the net, check your running processes. If anything looks odd, try to end that process. If that process doesn't end, reboot in safe mode, and scan the registry for that process. Be careful scanning the registry though, you could really mess up your system.