Wednesday 4 September 2013

5 Easy Steps to Set up Wireless Ad-Hoc Network in Windows 8 using Command Prompt…!!!

Why require Wireless Ad-Hoc Network:

If you have two or more computers equipped with wireless adapters (Wi-Fi cards), and you don’t have a Wireless Router to share the network, then it is possible to easily connect them in a network by setting up a so-called "ad hoc" network, that is, a computer-to-computer network, without using an access point.
If one of the computers on the ad hoc network has an internet connection, it is possible to share it with the other computers on the network, like in the case of a traditional local network.
My following post will help you to easily setup a Wireless Ad-Hoc Network using command prompt.

Wi-fi 3

Before setup, please be ensure that your system network interface must be capable of supporting hosted networks. It’s always advisable to update your network adapter to the latest drivers before doing this.
  • Launch an elevated command prompt under Windows 8 (with administrator privileges).
  • Run the following command to verify that your network interface supports virtualization:
netsh wlan show drivers Wi-fi 1

After entering the above command, if the “Hosted Network Supported = Yes” (See the highlighted part in the above image),  that means everything is OK. Otherwise, you have to upgrade your system hardware/ software.
  • Now to setup the Ad-Hoc network, run the following command,
netsh wlan set hostednetwork  mode= allow ssid=<enter_network_name> key=<enter_password>
Wi-fi 2
  •  Now your Ad-Hoc network is created, to start it run the following command,
netsh wlan start hostednetwork
  • Now your is ready, just do one thing. If it’s not already enabled, you need to allow Internet Connection Sharing (ICS) for your currently-active internet connection. Simply head over to Network & Sharing Center, and in the properties for the current internet connection, enable ICS. Make sure to select the ad hoc connection under Home networking connection.
Wi-fi 1
Now your all your setup is complete & fully functional.  You can now connect any device to the internet using the ad hoc wireless network with internet connection sharing that you just created on your Windows 8 PC and enjoy the wireless network service.