I currently have internet via a Ethernet cable, and I would like to share that internet connection via a WiFi card. I ran the following commands to setup a WiFi hotspot, and then shared my Ethernet connection to the newly created virtual network adapter.
netsh wlan set hostednetwork mode=allow ssid=wifi key=12345678netsh wlan start hostednetwork
But when I attempt to connect from another computer, the network is 'unidentified' and I have 'limited access'. When I ran ipconfig, my IP was '169.254.x.x'. It seems that the hotspot wasn't assigning any IP address and that the DHCP wasn't working.
How would I be able to fix this?
Thanks.