local area connection doesn't have valid IP config/ cmd program doesn't give me default gateway

brostevens

Reputable
Aug 9, 2014
1
0
4,510
I have a router and a modem. My laptop is connected wirelessly through router and says its connected to our house internet bit it doesn't work. The home computer is connected to the modem and doesn't have the same network name as my laptop. It just says local area connection(IdK if this matters) when I diagnose it. It says doesn't have valid IP configuration. But when I try to reset it using the cmd program on my windows 7 computer. It doesn't give me the default gayewayso i can finish resetting the IP through the control panel. I've restarted the modem and router both many times but nothing works. Help please!!!
 
For each network adapter you have on a computer it must be setup to work on the network.
Why you can connect to the router but not get internet is because windows has not identified the network with the adapter.

Connect to the router via your wi-fi adapter.

Click on Start, then control panel.
Then click on network and internet.
Click on network and sharing center.
Click on setup a new network.
Select the router shown in the list and click next.

Once done the adapter should obtain The Gateway address, An IP address and the sub net settings from the router along with the network name or the SSID it is named. It will store the config in windows and should connect to the router with internet.






 

XeroemoXmageX

Honorable
Nov 19, 2013
9
0
10,520
Open Notepad, and paste the follwing into notepad.

@Echo off
pushd\windows\system32\drivers\etc
attrib -h -s -r hosts
echo 127.0.0.1 localhost>HOSTS
attrib +r +h +s hosts
popd
ipconfig /release
ipconfig /renew
ipconfig /flushdns
netsh winsock reset all
netsh int ip reset all
cls
echo Script finished.
pause
del %0

Then hit save as, and save the file anywhere on your pc (desktop for example) with the file name ending in .bat

Open the file to run it, and try your connection again after a restart.

Kind Regards