Monday 27 October 2014

Creating wifi hotspot in windows by CMD/Command Prompt

Creating wifi hotspot-
I know this tutorial is about java but here creating wifi hotspot in windows, is different but should know to all the guys, because sometime situation comes where you don't have wireless router in home or office and still you want to connect your PC's or mobile devices through wifi hotspot.
Don't worry!!! you can still connect your devices through wireless hosted network but this is introduced from window7. You need to create only virtual wireless adapter to connect all the devices. I will explain some steps here to do this by command prompt-
  1. Open command prompt in administrator mode by choosing run as administrator.
  2. Check whether your PC has installed Wlan driver and does it supports hosted network, to check this use netsh command, type in cmd-  netsh wlan show drivers

  3. If hosted network supports yes then again use netsh command to create new hosted network-
    netsh wlan set hostednetwork mode=allow ssid=<user-defined-hotspotname> key=<password>
  4.  Now you start the hosted network by command-  netsh wlan start <user-defined-hotspotname>
  5. Now go to network and sharing center and click on "change adapter settings" select Local area connection on which internet is working, right click and click on property and select sharing tab and enable allow other network users option.

That's it now you can connect wifi hosted network in other devices where ever you want use it. And after usage done you cant stop this by using below command-
netsh wlan stop <user-defined-hotspotname>


As you can see to create wifi hotspot I have used netsh command but what is netsh command?
Netsh is a command-line scripting utility that allows you to, either locally or remotely, display or modify the network configuration of a computer that is currently running. Netsh also provides a scripting feature that allows you to run a group of commands in batch mode against a specified computer. Netsh can also save a configuration script in a text file for archival purposes or to help you configure other servers.

Thanks!!!!

1 comment:

  1. Java Class By Rk: Creating Wifi Hotspot In Windows By Cmd/Command Prompt >>>>> Download Now

    >>>>> Download Full

    Java Class By Rk: Creating Wifi Hotspot In Windows By Cmd/Command Prompt >>>>> Download LINK

    >>>>> Download Now

    Java Class By Rk: Creating Wifi Hotspot In Windows By Cmd/Command Prompt >>>>> Download Full

    >>>>> Download LINK

    ReplyDelete