with the computer ON, unplug the modem from power, wait 15 seconds, plug the power back in, wait till the modem lights are blinking normally, about 60 seconds.
Restart the computer.
The internet should work now. If not, repeat the above with the ROUTER.
The computer must be ON when rebooting the router or modem, then restart the computer.