What is wireless ad-hoc connection?
Well, If you set up wireless ad hoc connection on your windows computer, you’ll be able to connect other devices to your computer’s wifi network and thus share the internet connection of your computer with other devices without the need of external router or access point, etc. This is similar to wireless tethering and portable hotspot feature on your android phone. On Windows 7, we have an option in new connection setup wizard in network and sharing center for this purpose, but on windows 8, we do not get any such option to set up wireless ad hoc connection, but that doesn’t mean you can not do it. I wonder why Microsoft removed that particular option from there when every device now a days is coming up with hotspot and tethering feature. Anyways, in this tutorial we’ll learn how to turn our computer into wifi hotspot on windows 8 so that other devices could connect to our computer via WiFi. We’ll also learn how to share our windows 8 computer’s internet connection with other devices without using WiFi router..
How to configure windows 8 computer as WiFi Hotspot
- Press win key + x and Choose command prompt (Admin) option from the menu displayed. Alternatively, you can type cmd on start screen, right click on command prompt from the search results, choose run as administrator.
- Now in the command prompt window, type netsh wlan set hostednetwork ssid=nameofnetwork key=networkpassword
- Instead of typing nameofnetwork in the above step, type any name that you want to give to your network.. Instead of typing networkpassword in step above, type secure hard-to-guess password that you want for your network so that anyone trying to connect to your network must know the password.
- Now type netsh wlan start hostednetwork and press enter. You windows 8 laptop/tablet/computer will now be configured as WiFi Hotspot. Any other device could now connect to your computer’s WiFi using the password that you set in the step above. So, Turn WiFi on other devices like your smartphone or another laptop running any version of windows be it windows 7, vista or windows xp. On the second device, your WiFi network name will be shown, connect to it. It’ll ask for the password. Enter the same password you created in second step. Done. Your second device will be connected to your computer’s WiFi.
- If you want to remove or stop the newly created ad-hoc connection, type netsh wlan stop hostednetwork in command prompt(admin).
How to share your computer’s internet connection with other devices
In the first part of this tutorial above, we configured our system as WiFi hotspot, but still other devices connected to our system won’t be able to access internet. Hence we need to follow this part of tutorial so that every devices connected will be able to use our system’s internet connection.
- First, make sure your main system is connected to internet via WiFi or wired connection or usb modem or whatever medium.
- Now type network and sharing center on start screen and choose settings and then choose the concerned search result. Alternatively open control panel and go to the concerned option.
- In network and sharing center, your newly created WiFi hotspot as well as your system’s main internet connection will be listed. Click on the network link of your system’s main internet beside Connections and select properties from the dialog box that opens. Select Sharing tab. Tick mark the option – Allow other network users to connect through this computer’s internet connection. Now select your WiFi Hotspot connection name from dropdown box below. Hit on Ok. Done.
- Now, all other devices, laptops connected to your computer’s WiFi ad-hoc connection will be able to access internet using your system’s primary internet connection.
[INFO] UPDATE: IMPORTANT => If you’re gettting error that “the hosted network couldn’t be started. The group or resource is not in the correct state to perform the operation”, you should run stop command as given in the tutorial to stop hostednetwork and then you should run the following command [/INFO]
netsh wlan set hostednetwork mode=allow
If you face any problem with this method, just comment here and we’ll help you. You can also make use of third-party tools like Free Virtual Router for Windows 8 or Windows 7, Connectify, etc, but I hope this method explained in this article is simple and fair enough that you don’t require any third-party utilities. This method also works on Windows 7 and can be used to connect any device be it phone, tablets, another laptop or computer running any operating system.