SEARCH

How-To Geek

Share an Internet Connection Between Wireless Machines with an Ad Hoc Network in Windows 7

When you’re traveling sometimes you don’t have a Wi-Fi connection available for your portable devices or need to share files with another wireless computer. Here is how to create a wireless ad hoc network in Windows 7 to solve the issue.

An ad hoc network is a local area network you can build spontaneously in a pinch. It allows computers and devices to communicate directly with each other within a small radius. The ability to create an ad hoc network has been possible since XP and is a way to quickly share data and an Internet connection to other wireless devices. For this tutorial you’ll need the host computer to be hardwired and have wireless capabilities such as a Netbook or Laptop.

In our examples we show using Windows 7, and connecting an XP laptop, but you can create one with Vista as well.

Create an ad hoc Network

Open the Start Menu and type wireless into the Search box and select Manage wireless networks.

sshot-2010-07-09-[03-14-01]

Click the Add button to add a wireless network.

sshot-2010-07-10-[18-53-07]

Next click on Create an ad hoc network

sshot-2010-07-09-[03-16-50]

You’ll get a message instructing you of what an ad hoc network is…click Next.

sshot-2010-07-09-[03-18-03]

Now give your network a name and choose security options…check Save this network if you plan to use it repeatedly so you don’t have to set one up each time. The security type will depend on what the wireless adapter is capable of. We found if you’re only using it quickly with different types of devices it’s easier to have no security. Of course if you are keeping it on for full-time use, you’ll definitely want to use security.

sshot-2010-07-09-[19-55-01]

Wait while the network is created…

sshot-2010-07-09-[20-09-26]

The network was successfully created and is ready to use.

sshot-2010-07-09-[20-09-53]

Verify the network by clicking the wireless icon on the Taskbar…here you can see ours is waiting for users to connect.

sshot-2010-07-10-[18-43-26]

On the Client computer, click on the wireless icon to see available networks and connect to the ad hoc network.

sshot-2010-07-09-[21-36-30]

Then on the Host machine you will see that the other computer is connected to your ad hoc network.

sshot-2010-07-10-[19-02-19]

At this point you’ll be able to share files between machines. To share an Internet connection with other devices, right-click on the Host’s wireless adapter icon. Go to Properties, click the Sharing tab, and select Allow other network users to connect through this computer’s Internet connection.

sshot-2010-07-10-[22-09-43]

In Settings you can select the network services the Client machine can access.

sshot-2010-07-10-[22-10-20]

Now you can share documents and the Internet connection between machines and devices. In this example we’re sharing between a Windows 7 desktop with a wireless card and a Netbook with Windows 7 Home Premium.

sshot-2010-07-10-[22-17-48]

sshot-2010-07-09-[21-07-29]

Of course you can also connect your XP machine too. Here we are connecting an XP Laptop to the ad hoc network.

sshot-2010-07-10-[18-58-32]

Conclusion

If you are looking for a quick way to share your internet connection in pinch say at a meeting or a hotel with no Wi-Fi, creating an ad hoc network is an easy process. Keep in mind your devices need to be within 30ft of the Host computer, and the Internet connection maybe a bit slower than your used to (especially if you have several devices connected). If you would like to use a third-party app to create an instant Wi-Fi hotspot instead, check out our article on Connectify.

Brian Burgess worked in IT for 10 years before pursuing his passion for writing. He's been a tech blogger and journalist for the past seven years, and can be found on his about me page or Google+

  • Published 07/13/10

Comments (8)

  1. Prashant

    Can we do it in Vista?

  2. Mysticgeek

    Yes it should work fine in Vista as well.

  3. Dhaval

    I followed exact same steps.. Vista is the host and Windows 7 is the client. It does connect to the network (Unidentified Network) but no Internet Access. Cannot browse internet.. what could be the issue here?

  4. Ryanb58

    Looks like an intresting post, I might have to use this information to back up a few computers in my house.

    ;)

  5. ahmad hewad kakar

    great job i knew this but i didnot know about internet thanx,,

  6. Marcus

    Can we create ad hoc when the laptop is connected to the router using wireless? or can it only be done when the laptop is connected to the modem using a cable?

  7. rikhil

    thnx…..

  8. Lucky

    errr
    I still have a problem

    Can I make ad hoc wireless network on wireless connection ?
    my notebook connect to internet via a wireless network
    and it wanna share internet to another computer (that cont connect directly to wireless network)
    Can we do that?

    Thank you in advance :)

Enter Your Email Here to Get Access for Free:

Go check your email!