Randomly losing internet connection on a wifi network

Page 1 of 2 12 LastLast

  1. Posts : 5
    Windows 10
       #1

    Randomly losing internet connection on a wifi network


    Hello forum,

    Here's a strange wifi problem that I have with my computer: about every 5-20 minutes it loses access to the internet. I can still reach the local network. After disconnecting from the wifi network and reconnecting, I can reach the internet again for a couple of minutes.

    DHCP is on auto, except that DNS set to a fixed address, another local machine. DNS does not seem to be the issue though. I cannot ping external IP addresses either.

    The routing setup seems fine. I have compared the output of `route /print` when connected to the internet vs. when the connection is lost. They are identical and look correct. Same for `ipconfig`.

    Other machines on the network do not have this problem, and this machine does not have it on other networks.

    What could be the cause?
      My Computer


  2. Posts : 2
    Windows 10 Pro
       #2

    Typical t-shooting starting points for this... have you tried resetting dns & TCP/IP?:
    • Elevated command prompt
    • ipconfig /flushdns
    • netsh int ip reset
    • reboot
    You may have to reenter your custom DNS server afterwards
      My Computer


  3. Posts : 27,185
    Windows 10 (Pro and Insider Pro)
       #3

    Is it necessary to have DNS pointing to local machine? Set your IP and DNS manually (DNS can be 1.1.1.1) and test
      My Computers


  4. Posts : 37
    Windows 10
       #4

    Also, You can check if in Device manager network adapter under Power management tab isn't set to: Allow computer to turn off this device to save power
      My Computer


  5. Posts : 5
    Windows 10
    Thread Starter
       #5

    Thanks for all your suggestions.

    @1014Day, I followed those steps and that seems to have improved the situation. Testing again for a while, the connection now typically lasts for 1-2 hours but then it goes down again.

    @AndreTen, the local DNS server is not strictly necessary but strongly preferred. I will test with an external one to see what happens. Like I said though I do not think it is a DNS issue because I cannot even ping IP addresses when the problem occurs. Other machines on the network also use the same setup without any problems.

    @sandisk, I do not have the Power Management tab for that network adapter in the device manager. The only power related setting I can find for it is the power saving mode in advanced power settings through the control panel. It is set to Maximum Performance.
      My Computer


  6. Posts : 27,185
    Windows 10 (Pro and Insider Pro)
       #6

    mynit, try to set your IP manually - to be fixed.
      My Computers


  7. Posts : 2
    Windows 10 Pro
       #7

    @mynit, since this is only happening on one system, you may as well try a full network reset. The problem could be a corrupted winsock catalog or ARP cache:
    • Settings > Network & Internet > Network reset (on the right side)
    -again, you'll likely need to replace your custom DNS
      My Computer


  8. Posts : 12,461
    Win10 Version 21H2 Pro and Home, Win11 Pro
       #8

    I find using Ping as a test works best by typing ping and using the domain name and extension as in amazon.com and no other characters. It works in both Command Prompt and PowerShell.
    Randomly losing internet connection on a wifi network-image.png
      My Computers


  9. Posts : 5
    Windows 10
    Thread Starter
       #9

    More testing done:
    - Set the IP address to a fixed one
    - Set the DNS server to a common one
    - Flushed DNS and reset TCP/IP again
    - Rebooted
    - Verified DHCP settings

    Still the same problem. It works for a couple of minutes, sometimes just seconds, sometimes an hour, and then goes down. The previous improvement may just have been random.

    Interestingly, when I check the IPv4 settings again after the connection dies, they are still on "Use the following IP address" but the values that I set and verified before are gone (see screenshot). DNS is still there.
    Randomly losing internet connection on a wifi network-screenshot.png

    I will still play around with this before doing a full network reset. At least ethernet works right now. I don't want to run the risk of messing that up, too, or having to reinstall the entire system.
      My Computer


  10. Posts : 27,185
    Windows 10 (Pro and Insider Pro)
       #10

    What router do you have? Is there any notification (in router's log) about loosing connection?
    What IP range is set in router,
    What IP address did you assigned?

    And what computer do you have (model of wifi adapter)?
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 15:15.
Find Us




Windows 10 Forums