Wednesday, November 5, 2014

Share Internet Connection From Desktop to Other WiFi Enabled Devices

Hello Friends, we are going to talk about how to share our internet connection from desktop to other WiFi enabled devices, it can be desktops or cell phones.

Step 1> Open Command Prompt in Administrative mode. It can be run by pressing Windows + x then click on Command Prompt (Admin).
In Windows 8.1, type Command Prompt in search flyout, right click on Command Prompt then Run as Administrator. In other Windows it can also be open through C:\Windows\System32\cmd.exe
Step 2> Run netsh wlan show drivers
If your Hosted network supported is Yes then your network interface supports virtual network and we can share our Internet through WiFi.
Step 3> Run netsh wlan set hostednetwork mode=allow ssid= key=
Here, ssid is the network name. You can give anything you want and key is the password. Here I have given FrameMinds as a ssid and ******** as a key. Password must contain at least 8 characters. You can see e.g. in the snapshot.
Step 4> It will create your Ad-hoc wireless network. Now run netsh wlan start hostednetwork
It will start your WiFi network.
If you are getting error "The hosted network couldn't be started. The group or resource is not in the correct state to perform the requested operation" then click here

Step 5> Type exit to close the Command Prompt.

Step 6> Go to the Control Panel then click on Network and Sharing Center then select Change Adapter Settings.
Step 7> Now right click on your already connected network and select Properties.
Step 8> Go to the Sharing tab. Check Allow other network users to connect through this computer's Internet connection option.
Step 9> Now from the drop down menu select Local Area Connection. Sometimes it can be Local Area Connection* 11 or Local Area Connection* 12 or Local Area Connection* 13 etc. Then click on OK.
Step 10> Go to the Control Panel and select Windows Firewall. Select Turn Windows Firewall on or off. 
Step 11> Make sure in Private Network, Block all incoming connections, including those in the list of allowed apps is unchecked.
Step 12> Now switch on WiFi in your cell or in other PCs. You will find the WiFi network which you have created.
Step 13> Select the network, it will ask the password. Give the password which you have given in the key field and click on Connect. It will take about 30 seconds to connect.
To stop the Ad-hoc network connection, run netsh wlan stop hostednetwork from the Command Prompt.

Please comment for any queries.