Link to home
Start Free TrialLog in
Avatar of M1Bill72
M1Bill72

asked on

No Internet connection

My laptop had a connection to the Internet. Lost it yesterday though. Have Windows 7. On the Taskbar it has the wifi icon with a yellow exclamation Mark. Just move my mouse to it a message pops up "unidentified network no Internet access." Click on it and it shows connected. At times it also shows limited access. I've tried to get wifi and wired to work but no luck. My router/gateway address is 192.168.1.254 on my DSL. When checking ipconfig it shows ipv4 169.254.151.220《preferred》and is an autoconfiguration. And the default gateway is blank. What do I need to do?
Avatar of John
John
Flag of Canada image

First try TCP/IP Reset and DNS Flush

Open cmd.exe with Run as Administrator
Then  netsh int ip reset c:\resetlog.txt
Also, ipconfig /flushdns followed by net stop dnscache followed by net start dnscache
Then restart the computer

Second, if the above does not work, remove and reinstall the Network Card.

One of these two should restore your connection
Try using a static address:

Address: 192.168.1.20
Subnet: 255.255.255.0
Gateway: 192.168.1.254
DNS: 8.8.8.8 and 8.8.4.4

What happens when you try this?
Avatar of Wayne88
This problem is not DNS related.  The IP address you are getting is the default IP address when your laptop cannot find a DHCP server.

If you want to get internet asap you can try what Chris Jones suggested or figure out why your laptop is not getting an IP assignment from your router (assuming that's also your DHCP server).  It could be that your DHCP portion is not setup correctly, your laptop is not set to DHCP, or you are not connected to the wireless router and hence the laptop cannot request an IP address.
TCP/IP Reset will fix this (likely) and is not DNS related.
Yes, to be clear the only reason I suggested adding in DNS was when configuring static IPv4 addressing they offer the option, and I prefer to use google DNS pool.
Avatar of M1Bill72
M1Bill72

ASKER

Typing in  net stop dns cache it states The DNS Client service could not be stopped. I've uninstalled the hardware no luck. Setting the ip address does not work either.
Wired AND wireless don't work? Is your router working properly? And just as importantly, is your internet working correctly? I'd recommend connecting your ISP. But do that AFTER the suggestions from John and Chris.
You will not be able to get DHCP IP assignment if you can't even connect to the access point (wireless router).  I think that's issue frankly.  Try connecting the laptop to the router using a cable.
Something is wrong with your system.

Open cmd.exe with Run as Administrator and run SFC /SCANNOW. Allow to complete and restart.

If that does not work, run a Windows 7 Repair Install with the Windows 7 DVD

http://www.sevenforums.com/tutorials/3413-repair-install.html
I've tried both wired and wireless. Neither work.
Have you tried the static IP option yet? If so what happened?
Try repairs as outlined above
You have APIPA address. Restart your router, perhaps DHCP went haywire...
Right now I'm asking this question from my tablet. The internet is fine.
Restart router, your tablet is just running off a DHCP address given out with a lease
Well, we know the router works then. Shaun's suggestion would actually make the most sense to try first, then go with John's.
I second masnrock.  Now we have narrowed down that the problem is with your laptop.  Try John's recommendation.
I've tried the static ip. That did not work.
I was referring to John's suggestion to do a Windows repair.
Okay, that makes it interesting, it is unlikely to simply be a DHCP error then.

Have you tried running the windows network troubleshooter, sometimes this will spot issues.
Post static IP/Subnet/Gateway and DNS IPs please
@Shaun, he's tried with the settings I gave in my post above, so unless it's not on a normal class subnet (I doubt it) then it's very unlikely to be a DHCP issue.
What happens if you ping 127.0.0.1?
Sfc /scannow did not find any integrity violations.
Did you ever restart the router? I'd recommend that you restart your laptop too.
If the ping 127.0.0.1 returns a fail we almost certainly are in the realms of TCP stack failure as previously suggested, another fix might be:

1. Open power shell in an elevated more (Ctrl + shift + enter)
2. do a "netsh int ip reset resetlog.txt"
3. do a "netsh winsock reset"
4. reboot
5. test again

If not, you're going to need to get a windows disk and do a repair (unless someone else figures it out).
Just tried to troubleshooting an adapter. It says "your computer appears to be correctly configured, but the device or resource (DNS server) is not responding.
The NIC may be properly configured but if you cannot assign static IP to it or get DHCP IP assignment then it's Windows.
It's most likely the stack as you have tried two NICs.

It's worth doing what I suggested in the last post before reinstalling the entire O/S though ;)
I've unplugged the router about 15 seconds. That didn't work. I've tried reseting also with no luck.
M1Bill, try disabling either the Eth or Wifi interface and try again.

It looks like you have conflicting gateways.
Tried both. Nothing happened. Went to Intel PROSet/Wireless Tools. Ran a diagnosis. The only thing that failed was the Ping Test.
Try pinging 4.2.2.2 and 4.2.2.3 and let us know what happens. Also, do you know which DNS servers your tablet is using? I'd try setting 4.2.2.2 and 4.2.2.3 as the DNS servers. If those work, then we know the problem is probably related to AT&T's DNS servers. If those don't work as well, then the issue is most likely tied to your laptop.

If things point to your laptop, try resetting the TCP/IP stack as John has suggested.
Tried the Ping of 4.2.2.2 and 4.2.2.3 on my laptop. Each ping failed. Changed the DNS address on my tablet and it still works fine.
What happens when you move the laptop to a completely different location ?
Have you tried resetting TCP/IP and Winsock? I know John provided the instructions for TCP/IP in his first comment, while Chris provided instructions for resetting both in comment #42120687
netsh winsock didn't work.
Did you try the laptop in a different location?
Tried a different location and didn't work. The gateway 192.168.1.254 fails the Ping from my laptop.
Did you reset the TCP/IP stack? You mentioned trying Winsock, but not that.
I did reset the tcp/ip stack. No luck.
This brings one situation I had deal with to mind. Which antivirus software is on That laptop?
I have AVG Ultimate
Just to take a different type of crack at this... could you remove AVG and see what happens after the required reboot? If that still doesn't work, try reinstalling TCP/IP rather than resetting it.
ASKER CERTIFIED SOLUTION
Avatar of John
John
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I can name 3 products that I've seen cause internet issues enough times without even taking the time for deep thought: AVG, Kaspersky, Trend Micro. Only once (in an instance with Trend Micro) did it require going as far as reinstalling TCP/IP. Others only needed AV uninstall or TCP/IP reset.
I use either Symantec Endpoint or (on Windows 10 Creator) Windows Defender. Both excellent and no internet issues.
ESET Nod32 has a function to block certain protocols.

Have we addressed the issue of firewalls yet? (Can you turn off any firewalls and try again?)
Turned off Windows Firewall. That didn't work. Also uninstalled AVG.
I would now suggest you do as John says and do a repair install, we could literally spend years suggesting individual fixes and even then it could be a combination of more than one issue.

Before you do it, you could also try to remove any software you don't use (that is not essential for system operation), but proceed with caution.
Nothing else has worked so Repair Install is the best way forward.