Do you know how to connect Android Phone to an ad-hoc network.

Hey friends today i am going to discuss about how to connect an Android Phone to ad-hoc network (PC/Laptop). Question is why i'm trying to connect Android phone to ad-hoc network (PC/Laptop), i'll tell you why.
Suppose if i have Internet connectivity in PC and Laptop but i want to use Internet in my mobile too then how, so ad-hoc is the way to share Internet connection from PC and Laptop by using ad-hoc.
In simply language you are creating a free wifi for your mobile or other wireless communicative devices.


What is An ad-hoc.?

An ad-hoc network is a temporary connection between computers and devices used for a specific purpose, such as sharing documents during a meeting or playing multi-player computer games.
For more information click the link below:
http://goo.gl/tkLgY1 (Microsoft Page):

According to me we can create it using two interface:
1. GUI
2. CUI


1.GUI (Graphical User Interface): In this interface you don't have to write any commend. You can use Microsoft inbuilt feature or you can use any third party software to configure.
For Microsoft inbuilt feature click the link: http://goo.gl/tkLgY1 (Microsoft Page):



[Note:- Most of the Android device are not being connected using the Microsoft inbuilt ad-hoc feature.]


Now, i'm going to use third Party software.
PC Remote Server: It is very simple to use just download and install it.



After installation go to the HotSpot tab and Change the default password:

 

To start just click on Start HotSpot:





To stop just click Stop HotSpot:



For more info click the link (http://goo.gl/cbCZII)
To download click the link (http://goo.gl/owCQoL)


2.CUI (Command User Interface): In this interface we have to use only commands through cmd. These are also simple commends but difficult to remember so just copy and paste. The commands are as follows:

x. netsh wlan set hostednetwork mode=allow ssid=NAME key=PASSWORD
y. netsh wlan start hostednetwork
z. netsh wlan stop hostednetwork


Step a.

Open cmd as administrator.



Step b. copy the command x. and paste to cmd.





Step c. edit your own information. ssid=(chose the name for display as wifi) and key=(chose the unique password) and press enter. You will see that hosted network is created.


Step d. Ok so now we are going to activate/start the hosted network. Simply just copy the command y. and paste it into cmd and hit enter.







So its done.

Step e. Here we are going to use the command to stop this wifi, so just copy the command z. and paste it cmd and hit enter.








now connect your android device and enjoy, till your PC and Laptop is being shutdown or restarted. Ok what about after PC and Laptop restart, did we have to repeat all above steps.
No.! here is the solution: Just follow the steps shown in pictures below:

Step I. 














Step II.  There will be two shortcuts on your desktop, one is to start the wifi and another is to stop, remember always run both shortcut as administrator.




For fun you can change the shortcut icons too:
See the images below:






Any query contact me: