Well that isn't fun. I am glad you got the keyboard and mouse to work again. Perhaps try running the system in "Safe Mode" or "Safe Mode With Networking" and see if the internet issues continue. If they don't continue, then it is something on the computer itself (software) that is causing the issues. If it does continue, then it could be either a hardware issue or the modem/router.