Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to fix this because it seems the reason why I cannot share ubuntu folders with my Windows machine.

Windows 7 machine network configuration:

IP: 192.168.2.2
Subnet Mask: 255.255.255.0
Gateway: 192.168.2.1

dns: 8.8.8.8, 4.4.4.4

Ubuntu machine network configuration:

IP: 192.168.2.3
Subnet Mask: 255.255.255.0
Gateway: 192.168.2.1

dns: 8.8.8.8, 4.4.4.4

I can ping my Windows machine from Ubuntu but I cannot ping my Ubuntu machine from Windows.

Any suggestions?

share|improve this question
    
Are you pinging by hostname or by IP? What is the exact error when you try to ping? –  pestilence Mar 14 '12 at 19:05
    
Can you post the result of the following command : iptables -L ? –  Antoine Rodriguez Mar 14 '12 at 19:14
add comment

1 Answer

up vote 3 down vote accepted

Maybe your iptables (aka Firewall) has rule for blocking ping requests.
You can check it easily by disabling the iptables with the command sudo ufw disable. Run the ping test again.
Enable it again with sudo ufw enable.

share|improve this answer
    
It worked like a charm. I will have to learn now how to add my windows machine to the iptables in order to reactivate the firewall. Thanks! –  rfc1484 Mar 14 '12 at 21:20
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.