I am creating Wifi Hotspot in Windows 8.1 using the following command:
Then I start the hosted network. After starting the hostednetwork, I enable Internet Connection Sharing on my Huawei E397bu-502 device (4G LTE USB Dongle) in Network Connections. I can successfully connected my Android KitKat device to the hotspot and have internet connectivity on my Android.
netsh wlan set hostednetwork mode=allow ssid=MyHotspot key=mywifikey
But the problem is that the Android Phone disconnects randomly. Then I need to run
netsh wlan stop hostednetwork
After this I can again connect my Android to hotspot. But the process of disconnection continues.
netsh wlan start hostednetwork
Same happens if I share my Huawei-E397 internet connection via USB to my Android. There are no logs available so i have no idea where is the problem.