No Internet, but Can Ping from Cmd

No Internet, but Can Ping from Cmd

My internet was working fine, but one day it stopped working at all (I am using ethernet connection). It just says 'No internet'. I can ping and ping 8.8.8.8. but when I launch the browser none of the websites works.

I am using Windows 10.

The cable is fine, I tried different ones and no effect.

What I have already tried:

  1. When ipconfig /all and for Ethernet adapter Ethernet it prints all the information. For all others (LAN, wifi) it says Media state..............: Media disconnected.

  2. I run Network adapter troubleshooter and it reset the adapter. That didn't help either.

Could you please help me with it?

PS: I also cannot browse through WI-FI, even though when I use wifi it doesn't say 'No internet' - just 'Connected, secured'.

12

2 Answers

My internet was working fine, but one day it stopped working at all

Try completely reinitialising all network states.

Run the following commands in an elevated cmd shell:

  • Reset WINSOCK entries to installation defaults (reboot required):

    netsh winsock reset catalog

  • Reset TCP/IP stack to installation defaults:

    netsh int ip reset reset.log

  • Reset Firewall to installation defaults:

    netsh advfirewall reset

  • Flush DNS resolver cache:

    ipconfig /flushdns

  • Renew DNS client registration and refresh DHCP leases:

    ipconfig /registerdns

  • Flush routing table (reboot required):

    route /f

1

If you see:

nslookup google.com
*** Request to UnKnown timed-out
DNS request timed out.
    timeout was 2 seconds.

Then set DNS servers to:

8.8.8.8
8.8.4.4

Manual:

  1. open network connection settings

  2. set Google Public DNS

More images:

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Marcus Vance
Author

Marcus Vance

Marcus Vance is a cybersecurity auditor and technology writer dedicated to educating the public about online safety, data privacy regulations, enterprise security, and emerging cyber threats.