How To Create Wireless ad hoc/Hotspot on your Laptop without any Software on Windows

If you've ever wanted to get your iPod touch, iPhone,Tablet,Smartphone or other wireless device connected, but all you've got is a wired network at work, school, or elsewhere, Windows version 7 and up makes this process.You can also make WiFi Repeater with your Laptop Wireless Connection.

 

How To Create Adhoc Using Windows Netsh Utility

The Network Shell (netsh) utility is basically developed to let users configure network devices in both client and server editions of Windows. The support for configuring WLAN using netsh was first introduced in Windows Vista, and it’s now available in Windows Server 2008, Windows 7 and Windows 8. Using netsh wlan command, one can easily use hosted network (virtualization  or Microsoft Virtual WiFi Miniport Adapter) feature to create a virtual wireless connection. The Hosted Network is WLAN feature, which is designed to implement virtualization of physical network adapter. Since it plays a vital role in creating a virtual wireless adapter, it’s used by a majority of virtual Wi-Fi hotspot applications, such as Virtual WiFi Router, MyPublicWiFi, Marfi  Connectify etc. So, if your NIC supports wireless hostednetwork / virtualization feature, then you can create an ad hoc wireless connection and turn your PC into Wi-Fi hotspot.


 My connected Device 

OK Lets Start !

1.  RUN CMD as Admin

In order to create an ad hoc connection in Windows 7 or higher version using netsh utility, run CMD with administrative privileges'; just type cmd on Start Screen, right-click it and select Run as administrator.



2. Check if your AdapterNetwork  Interface supported  Virtualization

Now check weather your network interface supports virtualization or not. Simply, run the following command to view Hosted network supported status.If Not supported you just need to update your WiFi Drivers like I just did.
netsh wlan show drivers

3. Allow Ad Hoc

If your NIC supports virtualization, you’re good to go. Now, enter the following commands to configure an ad hoc wireless connection.

netsh wlan set hostednetwork mode=allow ssid=<network name> key=<passkey>
Example:
netsh wlan set hostednetwork mode=allow ssid=adhocBMT key=blogmytuts1


4. Start Ad Hoc

Now, hosted network has been set to allow, you need to start the mode to create an ad hoc connection. Just enter the command below.
netsh wlan start hostednetwork

If “hosted network couldn’t started”, you need to disable current wireless network device and then enable it. You may also need to refresh network adapter list from Device Manger to install a virtual network device driver.

4. Enable ICS for newly created Wi-Fi Connection

To enable ICS ( Internet Connection Sharing )feature, head over to Network and Internet –> Network Connections, and open Properties dialog of network device (which is connected to internet). Now, open Sharing tab, enable Allow other network users to connect through this computer’s Internet connection, and then choose the newly created ad hoc connection from the list. In our case, it’s Wi-Fi 2, as shown in the screenshot below.

Visit http://www.gadget-technolog.blogspot.com/2012/06/using-ics-internet-connection-sharing.html for more info about ICS

a) LAN to Adhoc


b) WiFi to Adhoc

5.Assigned IP address in Adhoc

Now, internet connection is shared, check the IP address assigned to newly created ad hoc connection from TCP/IPv4 Properties. If it doesn’t assign IP address, then run netsh wlan start hostednetwork command in CMD.

You can Assigned Manually  192.168.137.1 Subnet  255.255.255.0 DNS any Public dns.


Now Try to connect your Device!  :)


TIPS:


If you restarted your computer and adhoc didnot work  re enter the command
netsh wlan start hostednetwork
Or create a CMD Batch file copy this on a notepad and save as Enable Hotspot.bat   or Anyname your want then must run with admin.Right click then run as administrator .

start www.gadget-technolog.blogspot.com
netsh wlan start hostednetwork
bmtAdhoc > bmtLOGS.txt


In case your forgot your adhoc password enter this command

netsh wlan show hostednetwork setting=security


If you want to know how many client are connected enter this command
netsh wlan show hostednetwork

Other Command

Show the list of wireless profiles: 
netsh wlan show profiles
Retrieve the stored key (WPA, WEP, etc) of a profile: 
netsh wlan show profiles name=[profile name] key=clear
Delete a wireless profile: 
netsh wlan delete profile name=[profile name]
Set a network’s priority: 
netsh wlan set profileorder name=[profile name]interface=[interface_name] priority=1
Stop automatically connecting to a network: 
netsh wlan set profileparameter name=[profile name] connectionmode=manual
Export a wireless network profile: 
netsh wlan export profile name=[profile name]
Import a network profile:
netsh wlan add profile filename=[path_and_filename.xml] interface=[interface_name]
Disable the Wireless Hosted Network: 
netsh wlan stop hostednetwork

Change the password: 
netsh wlan refresh hostednetwork YourNewNetworkPassword


If your to lazy to do this stuff there is a free software can make it easy :
http://www.gadget-technolog.blogspot.com/2015/05/mypublicwifi-turn-your-computer-into.html


◄ Newer Post Older Post ►
 

Copyright 2011 Gadgets Technology is proudly powered by blogger.com