Win7: How to solve: Unidentified network/No Internet connection problem?

25,003

Solution 1

The switch might be the problem here. If is a managed switch, here are some possibilities:

  • Pull the power for a minute
  • The switch was running a config that hadn't been saved. If the power was removed when you moved the switch, the config would have reverted so something else.
  • PC2 is on a different switch port and that port isn't configured the same

Solution 2

Instead of relying on DHCP to give you the correct IP settings, you may want to try to manually set the IP address, subnet mask and DNS server. Depending on how your network is setup, you probably just want to give your PC with the problems a private IP address but set the DNS server to the one your ISP is automatically giving your router.

Also, take a look at your routes (route print). You should have the default gateway route (0.0.0.0) associated with the IP address of your default gateway and it should have the lowest metric.

If all that looks ok, ping the default gateway and you should get a response. If you don't, you can continue troubleshooting depending on the message you get back. If you can ping the gateway, try pinging the DNS server outside of your network. IF that works try doing an nslookup on yahoo.com.

Turning off IPv6 if it's on is not a bad idea either. I hope this helps.

Solution 3

It sounds like it may be an issue with the network hardware. Here are a few things to try:

  1. Does PC1 work fine using the same port on the switch? - this will verify the port is still functional
  2. Use the network cable from PC2 on PC1 - this will verify the cable is functional
  3. If both of the above check out fine try connecting PC2 to the switch using PC1's cable and port.

Cheers!

Share:
25,003

Related videos on Youtube

Will Marcouiller
Author by

Will Marcouiller

Scrum Master, Software Architect/Analyst, and Analyst-Programmer. I'm a passionate Software Development professional who strives to the best in every project. I consider every project a new challenge to take on, within which I deliver the best of myself. I'm a strong believer of Agile Methodologies, and as such, I'm always studying, testing, reading, "googling", "StackOverflowing" in order to stay up to date and offer the best software architectures out there, based on the best practices: SOLID. Lately, I have enlarged my knowledge over Dependancy Injection (DI) and Inversion of Control (IoC). It's interesting to learn and share knowledge among the SO community!

Updated on September 17, 2022

Comments

  • Will Marcouiller
    Will Marcouiller over 1 year

    It's been a few days now that I have gotten problems and problems with my network connection, though my other computer works fine!

    The problematic computer is operating with (PC2)

    Windows 7 Professional

    The running-fine computer is running (PC1)

    Windows Vista Business

    The problem occured when I turned off my Cisco Catalyst 3500 series switch so that I can move it to another location (5 feet away). I then recoeecnted the Ethernet cables and my cable modem to the switch.

    The PC1 then reinitialized the network, found the settings and reconnected properly! Internet is then running just fine as if I had never touched it in my life! Great!

    I can't tell the same with PC2, sadly. It began to identify the network, then set it to Unidentified network over and over again though I have tried solving with the troubleshooter. Here's what I did so far:

    I read this linked in answer article to know what's NLA.
    What settings does Windows use to determine network location?

    I have also read this: LAN - Unidentified Network (No Network Access) on Windows 7

    I have also tried:

    1. Setting the DHCP Broadcast Flag to 0 so no more broadcast;
    2. Running a Powershell script that was suppoed to set all Unidentified network to private;
    3. Went and change manually Unidentified network setting from "unknown" to "private";
    4. Forced ipconfig /release, typed in a fake IP in my Local Connection, saved the seetings, then clicked the "Obtain an IP automatically option, and ipconfig /renew;
    5. Setting proper DNS IP though PC1 is set to obtain them automatically (and works, not PC2);
    6. Disabled the adapter, uninstalled and reinstalled it, and enabled it;
    7. To stop the NLA and related services with no luck (didn't solve my problem);
    8. Rolledback to previous working settings/configuration with a restore point, and it netiehr solved the problem.

    Many of the above-mentioned tries come from ServerFault.com and I simply can't find the questions anymore, so please believe me, I DID search! I've been working for about 6 hours on the problem, that is, probably becuase I am no network nor system administrator.

    Any one who has something relevant is welcome to answer and help me. I'm desperate. =( I just want it to work!

    While trying the ipconfig thing, it said that the DHCP request timed out. I tried to ping some other IP addresses as well, and it seems PC2 is totally lost. I can't find a solution, I have done everything I could, I knew, and learned for the last two days.

    Thanks for your help!

  • Will Marcouiller
    Will Marcouiller about 13 years
    Agreed. And how can I diagnose it? It has already worked flawlessly so far. =( I'm gonna cry!... =P
  • poke
    poke about 13 years
    Just added some stuff to my answer. seraphim01 also has some good stuff.
  • Will Marcouiller
    Will Marcouiller about 13 years
    Thanks for your input seraphim01. I have tried the above except for PC1's cable into PC2's port, since cable is too short. Hence, I have tried PC2's cable into PC1 = OK. Connected PC1 to PC2's switch port = OK. Connected PC1 with PC2's cable and switch port = OK. Everything on PC1 works flawlessly. I really do believe it is software related, but then what? I can't tell. I read an article that said such problem could occur while connecting to wireless, some trouble caused by the wireless adapter. I have disabled it, and it changes nothing.
  • Will Marcouiller
    Will Marcouiller about 13 years
    +1 Thank you for your input, poke. I have done what you're suggesting and nothing worked, though this was plausible.
  • Will Marcouiller
    Will Marcouiller about 13 years
    +1 For taking of your time to help me. Thanks though it has not solved the problem.
  • Will Marcouiller
    Will Marcouiller about 13 years
    +1 I have tried this approach as well, though I guess I shall consider taking a deeper look at this. Thanks for your suggestion! =)
  • Will Marcouiller
    Will Marcouiller about 13 years
    This was in fact a trouble due to my switch, it seems so. I have bought myself an Asus RT-N12 NAT and connected my cable modem into its WAN port, then plugged PC2 in, and the network connection worked a few seconds after. PC1 is still plugged into the switch and works just fine as well as it always did. Despite, I have kept the NAT and no more problems since! What is fun about this NAT is that it can serve a wireless repeater purpose. I can now connect my PS3 through wireless, though I shall buy a supplementary NAT for greater WiFi signal strength and quality. Thanks for your answer! =)