I have Windows installed on my laptop, connected to the router wirelessly with IP 192.168.1.5. My desktop is running Linux, connected to the same router (wired) with IP 192.168.1.2. 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?
migrated from unix.stackexchange.com Aug 2 '13 at 15:30
This question came from our site for users of Linux, FreeBSD and other Un*x-like operating systems..
This sounds like your Windows firewall is blocking ICMP packets is what the command
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 192.168.1.1 so I'd try pinging that.
If these work then it's highly likely that the Windows firewall is to blame here for blocking your ping attempts.
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.