← All posts

Setting Up Ad Hoc in Windows for Use with Ubuntu and iPod Touch

I finally decided to write about setting up ad hoc in Windows, since I’ve done it several times already and forget how to do it every time. You can think of this note as a reminder to myself.

Yes, I’m still too stingy to buy a new router with Wi-Fi support…. :)

Setting Up Windows

Make sure your Wi-Fi device supports ad hoc. You can do this in “Device Manager” (Win+Pause/Break -> Hardware -> Device Manager): find your device, open its properties, and look for an ad hoc option. If it isn’t there, read the manual for your computer/Wi-Fi card, etc.

Ad hoc wireless network settings in Windows\

Now open “Network Connections” (see the picture above), right-click “Local Area Connection”, select “Properties”, and go to the “Advanced” tab. Then check “Allow other network users to connect through this computer’s Internet connection” (see the picture below).

Enabling Internet Connection Sharing in Windows connection properties

Now click “OK”, right-click “Wireless Network Connection”, select “Properties”, and open “Internet Protocol (TCP/IP) Properties”. Set “IP address” to “192.168.0.1” and “Subnet mask” to “255.255.255.0”, then click “OK”.

Configuring a static IPv4 address for the wireless adapter in Windows

Now go to the “Wireless Networks” tab and click “Add”. Then, as shown in the picture, enter an SSID name of your choice, set “Network Authentication” to “Shared” and “Data encryption” to WEP, and enter your network key.

Ad hoc network name and security settings in Windows

Everything is ready now. Start “Wireless Network Connection” and move on to setting up Ubuntu/iPod.

Setting Up Ubuntu

Open “Network Connections”, click “Add”, and fill in the fields: use the SSID we specified earlier, set Mode to “Ad-hoc”, and move on to the next tab.

Configuring a wireless connection in Ubuntu NetworkManager

Now we’re on the “IPv4 Settings” tab. Add an address (click “Add”) and enter:

  • IP address: 192.168.0.4
  • Subnet mask: 255.255.255.0
  • Gateway: 192.168.0.1

And enter the DNS server address: 192.168.0.1.

IPv4 settings for the ad hoc connection in Ubuntu

Now go to the “Wireless Security” tab and specify the encryption type and the key itself.

Entering the WEP key for the historical ad hoc network example in Ubuntu

Setting Up iPod Touch

It’s much simpler here. Open the iPod settings, then Wi-Fi:

Wi-Fi network list in the iPod Touch settings

If the network you created isn’t listed, tap “Other…” and enter the details. Enter your SSID as the name, set “Security” to WEP, and enter the password for our network.

Entering the network name and WEP key on the iPod Touch

Now tap the network we created and go to the “Static” tab. Enter the details as shown in the screenshot, namely:

  • IP Address: 192.168.0.3
  • Subnet Mask: 255.255.255.0
  • Router: 192.168.0.1
  • DNS: 192.168.0.1

Static IP address, router and DNS settings on the iPod Touch

Well, that’s it. If something doesn’t work, leave a comment—I’ll help and add to the article.

Comments are closed. Read the original discussion in Russian →