Fix Ethernet connection problems in Windows - Microsoft Support
If your router is a Wi-Fi router, try to connect to Wi-Fi and see if you can get connected. This can do two thingsāhelp you get an internet connection and help you narrow down the source of the problem. For more info, see Connect to a Wi-Fi network in Windows. Run network commands .