Thursday, June 6, 2013

Use WiFi via Command Prompt

So today I am here to tell you how to use your PC's internet via WiFi via Command Prompt.
So how to do it.Lets start
  1. Click Start,All Programs and find cmd.exe and right click on it and click on Run As Administrator or      search for cmd and right click and click on Run As Administrator.
  2. Then enable your laptop WiFi and then return to command prompt.
  3. Then paste the following command 
                netsh wlan set hostednetwork mode=allow ssid=Test key=password

Here the Test is the SSID of the WiFi and password is its password.

    4.Then press enter and a window might appear like this:-

   
     5.Then paste the following command to start the WiFi

                    netsh wlan start hosted network

After that go to Network and Sharing Centre and Turn on sharing from your present internet connection for the WiFi to work. Here's how to do:-
i).Go to Network And Sharing Centre.
ii).Click on Ethernet or whatever is your connection mode
iii).Then click on properties and then a popup will come
iv).then click on Sharing
v).Then tick all the options and if it shows a connection box that for which connection to allow,select the required WiFi and done.
For easy understanding,see these photos:-







     6.Then a window might appear like this:-

 
      7.Then to stop the network,paste the following code:-

                    netsh wlan stop hosted network   

      8.Then a window will appear like this:-




Thanks for reading and please share and like.

No comments:

Post a Comment