Wireless ad-hoc network between Ubuntu and MS Windows

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.

2

4 Answers

To be honest this sounds like the Windows Firewall is running. You will want to disable the firewall on just the 'adapter' you created to make the ad-hoc connection.

1

Actually you dont even need to install any tool.

On the Ubuntu machine sharing an internet connection.

  1. Go to Network Connections
  2. Then Wireless Connections
  3. Then Add
  4. Enter a SSID, choose mode : Ad-Hoc
  5. IPv4 Settings choose as a method : shared to other computers
  6. (you may want to establish a wireless security)
  7. 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

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

Good luck

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.

2

install and configure firestarter tool, when finised, create ad-hoc connection then change the IPv4 method to "shared to other computer".

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like