One of my blog’s popular posts is a tutorial about how to create an Ad Hoc network on Windows 7. A lot of readers are asking how you can share an internet connection with Ad Hoc network. I spent some time over the weekend and wrote up this tutorial.
Let me explain the scenario a bit. Suppose we have two computers (computer A and computer B) and one wired internet connection. Both computer have wireless cards, but you do not have a wireless router. You want both computers to access the internet through the single wired connection. I connected the wired internet connection to computer A and created an Ad Hoc network on it. I then configured computer B to join the Ad Hoc network.
Here are the steps on computer A:
- Connect the wired internet connection to computer A.
- Click on the Windows icon and type View network connections and press enter.
- Identify the wired internet connection and the wireless card. On computer A, the wired internet connection is called Local Area Connection 2 and the wireless card is called Wireless Network Connection 2. Note that these connections are different on your computer.
- Locate the wired internet connection and right click on it. Select Properties.
- Click on the Sharing tab and check the box. Select the correct wireless connection in the Home networking connection drop down.
- Create an Ad Hoc networking following the instructions in this post. Here is a screenshot of the Ad Hoc network named kombitz I created for this tutorial. Note that if you check the box to save the network, you do not have to do this step again next time.
- Click on the network icon in the lower right corner of the system tray and make sure it’s connected to the Ad Hoc network you just created. If not, click on the network and click on Connect. Here is a screenshot of the network icon in the system tray.
Now computer A is set up to allow connections from other computers. Here are the steps on computer B to join the Ad Hoc network.
- Click on the network icon in the lower right corner. You should see the Ad Hoc network. In this example, it’s called kombitz.
- Select the network kombitz and click on Connect. Enter the network key if you had one set up when creating the Ad Hoc network.
When you are done sharing, you will have to turn internet sharing off on computer A. Otherwise, the wireless connection will not work on computer A. To disable internet sharing, follow the steps 1 through 5 for computer A except you un-check the box Allow other network users to connect through this computer’s Internet connection.