No Internet, Cannot ping localhost

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?
 
R

Robert L [MVP - Networking]

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?
 
G

Guest

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.
 
G

Guest

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.
 
R

Robert L [MVP - Networking]

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.
 
G

Guest

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
 
R

Robert L [MVP - Networking]

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
 
G

Guest

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.
 
G

Guest

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top