Windows Share Wifi - From a Command Line
Do you remember when we had wired Ethernet cables and the only way to connected to the LAN was with a CAT5 cable, and mobile phones had to sit out of the party? And then Microsoft Windows gave us a way to create a gateway for WiFi devices to connect to the Wired LAN like this:
netsh wlan set hostednetwork mode=allow ssid=myhotspot key=12345678
netsh wlan start hostednetwork
It only worked when the network interface supported the Hosted Network feature (look for it in the output of netsh plan show driver
).
PS: It can also share a wireless LAN, even when you have only one wireless network adapter.