Solved: Windows 7 laptop connects to wireless network but cannot access internet

A few weeks ago, I brought home my work laptop so that I could take care of some tasks over the weekend.  I have done this before, so it already knew my wireless network and connected just fine.  However, even though it as connected, it stated that “No Internet Access”.

This was puzzling…  The wireless was definitely working, and my other computers and devices were connected just fine, so clearly the problem wasn’t the network.  I tried disable and re-enabling the wireless adapter, but no luck.  I was in a rush, so I ended up plugging in an old fashioned ethernet cable from my router, and my laptop was able to access the internet just fine.  It solved my problem and I didn’t troubleshoot further.

This weekend, I needed to bring my laptop home again, and I ran into the same issue – it would connect to the wireless but was unable to access the internet unless it had a physical cable.  I decided to spend some more time troubleshooting this time and figured it out.

I opened a command shell (Start > Run > cmd.exe) and ran “ipconfig”, which displayed all of my wireless adapter information.  The default gateway showed my router’s address (169.198.0.1), but the IP address for the computer was not a 169.198.0.x address.  Instead, it was an address that I recognized as belonging to my corporate network at work.  For some reason, even though the laptop had connected to the wireless, it hadn’t given up its old wireless IP address and obtained a new one for this network.  As a result, it wasn’t able to route traffic properly, causing it to think that internet access was unavailable.

I spent a while looking at my network settings to see if my IP address was somehow manually set, but it wasn’t.  I have no idea why it wasn’t getting a new address.

I decided to force my laptop to obtain a new address.  I opened the command shell again and ran “ipconfig /release”, which forced it to let go of any ip addresses it was holding on to.  At this point, my wireless network icon changed from a “connect but no internet access” image to a “searching” image.

I then ran a second command, “ipconfig /renew”, which would tell it to try to re-establish connections for its IP addresses.  My wireless network icon promptly changed back to a connected image, and this time, it claimed to have internet access!

I ran “ipconfig” again, and I saw that my ip address was indeed a 192.168.0.x address, which would mean that it could route traffic properly.

I still have no idea why it was holding onto the old address.  Getting a new IP address when switching between wireless networks seems like a pretty obvious step, but at least I now know how to quickly fix the problem if I ever run into it again.

 

A moment later

This entry was posted in Uncategorized and tagged , , , , , . Bookmark the permalink.

2 Responses to Solved: Windows 7 laptop connects to wireless network but cannot access internet

  1. Joe78man says:

    Same issue here, in fact, I hapen to have 2 wireless connections, if I connect my desktop to wireless A, it connects with no problem, if I connect to Wireless 2, it shows a weird IP, no gateway, no internet. I connect with my laptop and have no problem with both wireless.
    Wireless B is ok, otherwise I wouldn’t be able to connect with my laptop and cell phone
    The desktop device is ok, otherwise I wouldn’t be able to connect to Wireless A
    I’m clueless…

  2. Carol says:

    My problem is somewhat similar, in that hubby’s laptop’s built-in wireless radio just isn’t working at all. It turns ON and OFF via the switch, and even shows green ‘bars’ and “enabled” in the Network Connections in Control Panel, but won’t connect to our network. I’ve tried uninstalling/reinstalling it, disabling and reenabling, etc. We bought another USB wireless radio to try and bypass the problem and it won’t connect either, even though it appears to install correctly. Guess we’re headed off to the computer repair guy soon. I was hoping it was an obscure configuration in Windows I could fix myself.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s