I have setup a wireless ad-hoc connection between two laptops: one running ubuntu and the other MS XP. I have assigned static IP to both the laptops and both get connected quite easily. I can access all ubuntu services like ssh, squid, samba from the laptop running MS Windows. But from Ubuntu machine I cannot access any Windows services like shared directories etc. The Windows machine doesn't even respond to ping requests from ubuntu.
Actually you dont even need to install any tool.
On the Ubuntu machine sharing an internet connection.
- Go to Network Connections
- Then Wireless Connections
- Then Add
- Enter a SSID, choose mode : Ad-Hoc
- IPv4 Settings choose as a method : shared to other computers
- (you may want to establish a wireless security)
- Connect to the network (if you do not see it, you may disable and then enable your network manager)
On the Windows machine after the ubuntu machine is connected to the Ad-Hoc Network
- See the Wireless Networks and connect to the wireless network.
Thats it. You should now be able to use the internet connection provided by the ubuntu machine.
First, it won't respond to a ping... open up Network Connections, then right-click on your Ad-Hoc adapter and click Properties. Go to the Advanced tab, and click Settings under ICMP. You want to make sure "Allow incoming echo requests" is checked here. If it is, then Windows probably isn't explicitly blocking the ping.
Just to rule it out, what are you using for a gateway address in your Static IP setup? Presumably it should be the static IP of the Windows laptop.
Do you have any other Windows boxes you could connect to the ad-hoc network? It might be worth testing their ability to see the network shares of the XP machine.