Tuesday, April 22, 2014

" The hosted network couldn't be started " when set adhoc on Windows 8.1


  • เรื่องมีอยู่ว่า เราจะสร้าง AdHoc บน Windows 8.1 เราด้วย CLI คำสั่ง netsh
netsh wlan stop hostednetwork
netsh wlan set hostednetwork mode=allow ssid=adhoc_name key=password_adhoc
netsh wlan start hostednetwork
  • ก่อนหน้านี้ก็ใช้งาน bat file นี้ได้ปกติ แต่ทำไม วันก่อนมันรันแล้ว mobile เรา ไม่พบ SSID ที่เราสร้างเลยหว่า
  • ผลของการใ่ช้งาน bat file แล้ว AdHoc ไม่แสดง output ประมาณนี้
The hosted network couldn't be started.
The group or resource is not in the correct state to perform the requested operation
Solved  คัดลอกมาจาก stackoverflow
I encountered this problem on my laptop. I found the solution for this problem.
  1. Test this command in the command prompt "netsh wlan show driver".
  2. See Hosted network supported.
  3. If it is no,
Then do this
  1. Go to device manager.
  2. Click on view and press on "show hidden devices".
  3. Go down to the list of devices and expand the node "Network Devices" .
  4. Find an adapter with the name "Microsoft Hosted Network Virtual Adapter" and then right click on it.
  5. Select Enable
  6. This will enable the AdHoc created connection, it should appear in the network connections in Network and Sharing Center, if the AdHoc network connection is not appear then open elevated command prompt and apply this command "netsh wlan stop hostednetwork" without quotations.
  7. After this, the connection should appear. Then try starting your connection. It should work fine.
----------------------------------------------------------------------
Solved  เรียบเรียงเอง
  • เปิด device manager ขึ้นมา โดย ไปที่ Run พิมพ์ devmgmt.msc
  • ไปที่เมนู view => show hidden devices
  • คลิกที่ Network adapters ให้เรามองหา Microsoft Hosted Network Virtual Adapter คลิกขวา Enable มันซะ
  • จากนั้นให้เรารัน command prompt netsh อีกที่ น่าจะผ่าน
เรื่องที่เกี่ยวข้อง
  • http://juuier.blogspot.com/2013/04/how-to-set-up-wireless-ad-hoc-internet.html
  • http://juuier.blogspot.com/2010/08/set-up-ad-hoc-host-on-ubuntu.html
  • http://juuier.blogspot.com/2010/08/set-up-ad-hoc-network-on-windows-xp.html
ที่มา
  • http://stackoverflow.com/questions/18182084/cant-start-hostednetwork
  • http://www.thewindowsclub.com/the-hosted-network-couldnt-be-started

No comments:

Post a Comment

Popular Posts