What third party firewall are you using? You might want to turn off or uninstall it to see if it stop freezing on your system.
Run system files check:
Another thing you might want to try is to do a clean boot. It might block services that somehow block your internet connection.
How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
Try those and see how it goes