The following steps discusses about sharing LAN Internet connectivity from laptop or desktop with wifi/wlan card. to other laptops / phones
netsh wlan set hostednetwork mode=allow ssid=MyWiFi key=MyPasswordHere
netsh wlan start hostednetwork
To stop the network, copy paste the following line
netsh wlan stop hostednetwork
to connect to it, use the following from phone or other laptops
Wifi name (SSID):
MyWiFi
password:
MyPasswordHere
- open cmd in administrative mode
- To start the network, copy paste the following two lines
netsh wlan set hostednetwork mode=allow ssid=MyWiFi key=MyPasswordHere
netsh wlan start hostednetwork
To stop the network, copy paste the following line
netsh wlan stop hostednetwork
to connect to it, use the following from phone or other laptops
Wifi name (SSID):
MyWiFi
password:
MyPasswordHere