I configured a WiFi hotspot on Windows, using the command line:
netsh wlan set hostednetwork mode=allow ssid=ProvaMi key=pippo123
netsh wlan start hostednetwork
netsh interface ip set address "TestWIFI" static 192.168.159.1 255.255.255.0 196.168.159.1
(basically, the method I described in this answer
Now, everything works fine, but "sometimes" (where sometimes ranges from some minutes to hours) the network stops working. With "stops working" I mean that the WiFi network is in there, but clients can't connect: I tried from the PC, and I get an error message "I can't connect to this network"; and from my smartphone, which doesn't even try to connect.
I've seen many comments around the web for a problem of the smartphone which is not getting the IP address... bu I can't either reach that part ("Obtaining an IP address.."): the phone simply does not connect.
What I've already tried:
- disabling Windows Firewall
- disabling Power Management for the WiFi interface
- upgrading the WiFi driver
I'm out of ideas on this item, and I can't seem to find a suitable solut