-1

I had read an article about making a wifi connection in Windows 7 using the Command Prompt. I have followed all the instructions from opening CMD to set up internet connection sharing. It is a process that I do:

  1. Opening cmd and enter the command "netsh wlan set hostednetwork mode=allow ssid=fahmi_wifi" key="abc12345"
  2. Open the Windows Network and Sharing Center
  3. Sharing the internet connection to the Virtual Wifi Miniport adapter
  4. Running wifi with the command "netsh wlan start hostednetwork"

I also have opened cmd with admin privileges. But, when I try it on another computer, the wifi says the following message: "No network access".

I use DHCP in my Wifi Adapter.

My question is: How to solve this? What's wrong with my code?

Fahmi NF
  • 1
  • 1
  • 2

1 Answers1

0

Try to set the key without quotes: it worked for me.

francescalus
  • 30,576
  • 16
  • 61
  • 96
TSE
  • 356
  • 1
  • 8