No Internet, Cannot ping localhost

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I can ping a real world address but I cannot ping localhost. The hosts file
is ok. I cannot ping yahoo. When I set the IP to obtain, it won't obtain an
address. If I give it an address and put in the gateway and dns, I can ping
the internet address, but not a friendly name. It sounds like a tcp/ip or
winsock problem. When I remove Winsock and remove the network adapter and
reboot, that should rebuild both, but the result is the same.
Any help?
 
Please post back with the result of nslookup command.

Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
I can ping a real world address but I cannot ping localhost. The hosts file
is ok. I cannot ping yahoo. When I set the IP to obtain, it won't obtain an
address. If I give it an address and put in the gateway and dns, I can ping
the internet address, but not a friendly name. It sounds like a tcp/ip or
winsock problem. When I remove Winsock and remove the network adapter and
reboot, that should rebuild both, but the result is the same.
Any help?
 
Well it appears that Winsock didn't repair. No Winsock entry in the registry.
When I netsh winsock reset, it get a file not found.
 
nslookup
Can't find server

I was able to rebuild winsock, I replaced tcp/ip, the hosts file is correct.

I still cannot ping localhost or the computer name. I compared all the
services on another machine and they look the same. DNS is running. So what
is next. I have never seen this on any computer before.
 
Posting the results of ipconfig /all and nslookup may help.

Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
nslookup
Can't find server

I was able to rebuild winsock, I replaced tcp/ip, the hosts file is correct.

I still cannot ping localhost or the computer name. I compared all the
services on another machine and they look the same. DNS is running. So what
is next. I have never seen this on any computer before.
 
Ipconfig /all is the same on this machine and the other machine I have that
runs OK.

Nslookup localhost
Server not found
192.169.0.23:53

Nslookup 127.0.0.1
Server not found
127.0.0.1
 
I would double check the DNS settings. This search result may help,

NslookupTroubleshooting Nslookup.exe. 1. *** Can't find server name for address w.x.y.z : Timed out. Cause: 1. the DNS server cannot be reached. ....
http://www.chicagotech.net/nslookup.htm


Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
Ipconfig /all is the same on this machine and the other machine I have that
runs OK.

Nslookup localhost
Server not found
192.169.0.23:53

Nslookup 127.0.0.1
Server not found
127.0.0.1
 
nslookup

Default Server: UnKnown
Address: 192.168.0.1:53

I know this is the problem, I just don't know how to correct it.
 
Well if it was a server, I have control over the dns, however with vista (or
xp) there is no place I am aware of for a control panel to correct this.

I am at a loss as to how to fix this.
 
Back
Top