It'd be helpful if you gave us some information about the PC.
It sounds like something has gotten messed up with your NIC (network interface controller). I suppose that there's a slight chance that limited PCI-E (PCI Express) resources could disable the NIC if you switched from onboard graphics to a discrete card, but you didn't even specify whether that is what you did.
If you go into Device manager, what shows up for the network controller?