Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

netsh wlan start hostednetwork. The hosted network started. Stuck @Obtaining ip address

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)
like image 534
Shams Doula Avatar asked Dec 08 '22 18:12

Shams Doula


2 Answers

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
like image 63
np_complete Avatar answered Dec 11 '22 10:12

np_complete


This fixed my issue. I forgot to share my wifi to hostednetwork.

To share you wifi with hostednetwork;-

  • go to network adapter settings
  • right-click on your default wifi adapter
  • click on properties
  • go to sharing tab
  • check on allow other user to connect to this computer
  • in drop down menu select your hostednetwork

enter image description here

like image 37
bikram Avatar answered Dec 11 '22 09:12

bikram