Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

netsh set multiple hostednetwork

I am trying to use two WIFI adapters to form a WLAN network. I know the following command can setup a hostednetwork and I have already done it.

netsh wlan set hostednetwork [[mode={allow|disallow}] [[ssid=]WirelessNetworkName] [[key=]passphrase] [[keyUsage=]{persistent|temporary}]
netsh wlan start hostednetwork

However, the hostednetwork that I had setup is automatically mirror to the first adapter. How I can setup another hostednetwork that mirror to the second adapter? I have searched in the internet for long time but still cannot get a solution. Thandks.

like image 474
panda Avatar asked Nov 11 '22 15:11

panda


1 Answers

According to my previous search, it's up to the windows to automatically chose which adapter is suitable, and you can't change that. A work around might work, try it then report back to me the results:

  1. Delete already setup-ed hostednetwork
  2. Disable all the wireless adapters except the one you want to setup the hostednetwork on it
  3. Setup hostednetwork And no, you can't setup 2 hostednetworks.
like image 129
Mostafa Avatar answered Dec 25 '22 18:12

Mostafa