- Specify an adhoc network name, i.e. UbuntuAdhoc
- Select your favorite security method (this example specifies None)
- Click the Create button
Editing Network Connections:
- Click on the NetworkManager icon, select Edit Connections.
- Select the Wireless tab, select the UbuntuAdhoc network and click the edit button.
- Click the Connect automatically check-box
- On the Wireless tab, ensure the mode is set to Ad-hoc
- Select the Ipv4 Settings tab
- Select the Manual method in the drop down
- Click the Add button and enter a local IP address, Netmask and Gateway, i.e. 22.214.171.124, 255.255.255.0, and 126.96.36.199 respectively.
- Leave DNS Servers and Search Domains blank
- Click OK.
- Left click on the NetworkManager icon and select Connect to Hidden Wireless Network…
- Select UbuntuAdhoc on the connection dropdown and click Connect.
- Voila, your Ubuntu session should be connected to itself. Hover over NetworkManager icon, and you should see the yellow message: Wireless network connection to ‘UbuntuAdhoc‘ (0%).
Note: the NetworkManager bars will appear empty since the network adapter technically is not connected to any network. These bars remain empty even when another computer joins the network. Regardless, the connection will work fine.
In Windows XP:
Wireless Connection Properties:
- Right click the Wireless Connection icon (either from the Windows tray or via the control panel) and select Properties. Ensure to right click on the the windows network icon and not the icon specific to the hardware driver.
- Select TCP/IP option in The connection uses the following items: window, and click the Properties button. (In this image, I was lazy as I used a Lan connection properties window as my virtual XP session did not have a wireless option to capture, but TCP/IP example is identical).
Internet Protocol (TCP/IP) Properties:
- Specify an IP address within a few increments of the Ubuntu IP address, i.e. 188.8.131.52. Ensure to match the subnet mask and gateway to the ones specified in UbuntuAdhoc (255.255.255.0 and 184.108.40.206, respectively).
- Click OK in the both the Internet Protocol (TCP/IP) Properties window and then Wireless Internet
Note: Assuming the original IP address was auto selected, ensure to set the Inernet Protocol (TCP/IP) Properties back to Obtain an IP address automatically when reconnecting to another wireless network.
If anyone knows of an easier way please post.