Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have Windows installed on my laptop, connected to the router wirelessly with IP My desktop is running Linux, connected to the same router (wired) with IP When I do a ping from Windows to Linux, I get a response, but it doesn't work in the other direction. What could be the problem?

share|improve this question

migrated from Aug 2 '13 at 15:30

This question came from our site for users of Linux, FreeBSD and other Un*x-like operating systems.

1… this is pretty much windows administration question :) – Bob Aug 2 '13 at 15:02
up vote 5 down vote accepted

This sounds like your Windows firewall is blocking ICMP packets is what the command ping is using to solicit responses from other computers on the network.

I would try to ping the WI-FI router from both systems to confirm that outbound is working against a 3rd machine (which it likely is, since you're getting IP addresses from the router).

Your router is likely to have the IP address so I'd try pinging that.

From windows:

$ ping

From Linux:

$ ping

If these work then it's highly likely that the Windows firewall is to blame here for blocking your ping attempts.

share|improve this answer
Thanks for the response. Ya you are right, both machines allow the ping to the router. But I also tried setting up an apache server on windows and tried to access it via http from linux, that did not work either. My firewall in windows is also disabled. Is there any other place I should be looking into? – Ajay Nair Aug 2 '13 at 15:21
Was the Apache server configured to listen on the external IP address or localhost? You can see what IP it's listening on with the netstat -an|grep ":80". – slm Aug 3 '13 at 0:09

check the windows firewall, that it allows ICMP

share|improve this answer

Does your linux distro have NETBIOS? when you ping another pc by name in your network, often it is not because the name is in the DNS server but instead broadcast by the other PC through NETBIOS.

For instance on most android phones you can not ping a windows machine by name for this reason unless the host name was added to the DNS server.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .