It could be a bad network adapter or driver
Did you make any changes prior to the start of the problem? When you checked for viruses did you do it from Safe Mode? Have you gone to Device Manager and checked to see if the network adapter is enabled and working normally? You can buy a new network card and use it if the one you're using has gone bad. They cost from $10 to $25 usually.