I can create hosted network via following commands:
netsh wlan set hostednetwork mode=allow
netsh wlan set hostednetwork ssid=lol key=cse093007 keyusage=persistent
netsh wlan start hostednetwork
But I m stuck @ Obtaining ip address.
I can't turn on those following Two: FIPS 140-2 mode supported : No
802.11w Management Frame Protection supported : No
Interface name: Wi-Fi
Driver : 802.11n/b/g 2cm Wireless LAN USB2.0 Adapter
Vendor : AboCom System, Inc.
Provider : Microsoft
Date : 30-Mar-13
Version : 1086.51.328.2013
INF file : net8192su64.inf
Type : Native Wi-Fi Driver
Radio types supported : 802.11n 802.11g 802.11b
FIPS 140-2 mode supported : No
802.11w Management Frame Protection supported : No
Hosted network supported : Yes
Authentication and cipher supported in infrastructure mode:
Open None
WPA2-Personal CCMP
Open WEP-40bit
Open WEP-104bit
Open WEP
WPA-Enterprise TKIP
WPA-Personal TKIP
WPA2-Enterprise TKIP
WPA2-Personal TKIP
WPA-Enterprise CCMP
WPA-Personal CCMP
WPA2-Enterprise CCMP
Vendor defined TKIP
Vendor defined CCMP
Authentication and cipher supported in ad-hoc mode:
Open None
Open WEP-40bit
Open WEP-104bit
Open WEP
WPA2-Personal CCMP
Wireless Display Supported: No (Graphics Driver: No, Wi-Fi Driver: No)
Sometimes DHCP on windows Ad-Hoc takes too long to assign IP address or sometimes it fails to do so.
So if DHCP is not working properly, use static IP on the client side.
Type ipconfig
in command prompt and find the IP address of an interface named Microsoft Hosted Network Virtual Adapter.
Now, in the client system, use that IP as the default gateway and give the client IP address with first 3 fields same as the default gateway and giving a different number in the 4th field.
eg:
Default Gateway : 192.168.43.1
IP Address of client : 192.168.43.3