1. Open the Command prompt
as Administrator (Right click and select Run as administrator).You
can also open it by pressing Window Key + X and choosing Command
Prompt (Admin).
2. Type the following command in the command prompt and press
Enter.
"netsh wlan set
hostednetwork mode=allow ssid=satyamsrig
key=password"
Here ssid is the name
of your hotspot and key is password of your hotspot.Choose both of
these according to you.
3. Next,type the following command and hit enter.
3. Next,type the following command and hit enter.
"netsh wlan
start hostednetwork"
You will get a message
like The hosted network started.
4. Now go to Network and Sharing
center and You can see your newly created wifi hotspot connection. But, as
you can see, it has no network access. We need to fix this by enabling sharing
of internet connection for your working Internet connection .In my case, it is
wifi connection, but it can be Ethernet or any other working internet
connection.
5. To enable sharing, Click on
your default Internet connection and select Properties. Under
the Sharing tab, tick the box saying – Allow other network users
to connect through this computer’s Internet connection. Under the Home
networking Connection, select the connection which is showing as your hotspot
connection.
6. Your Wifi hotspot is created
and Internet sharing is enabled. You can check in the Network
and Sharing center that your wifi hotspot now has Internet Access.
7. Now Connect any wifi enabled device to
this hotspot using the password you choose while typing the command.
8. In order to stop the Wifi hotspot, Just
type the following command in the command prompt(as Administrator).
"netsh wlan stop hostednetwork"
It might come to
your mind that remembering these commands is not easy. Also typing them again
is tedious task. This also has a solution.
1. Write both the commands in notepad.
2. Select Save As and save the
file as Batch type. Name the file anything you want but make its
extension .bat .Also select All Files in Save as Type.
Save it on the desktop.
3. Your batch file is created. Now
whenever you need to start hotspot, just run this file with
admin privileges.
4. Similar way, you can create a batch file to stop the
hotspot.
This tutorial
might feels you long because I explained in quite detail. However, It will not
take more than two minutes to create wifi hotspot using this method.
Download batch file -- Click below links --
Regards
SATYAM SRIVASTAVA
9044042671
No comments:
Post a Comment