1
2
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=12345678
netsh 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.
I have the same issue. And all the solutions over here: http://superuser.com/q/804227/109803 don't help
– Gabriel Fair – 2015-02-17T01:14:10.7803
Possible duplicate of Internet Connection Sharing with Wireless Hosted Network (WHN) is not providing a DNS server for WHN clients
– David d C e Freitas – 2017-09-30T08:25:43.030This Q is not a dup. This question is asking why an IP address isn't getting assigned. The proposed dup deals with a DNS server not being propagated. – I say Reinstate Monica – 2017-10-04T00:22:29.173
...and that the DHCP was working. --- I think you meant that the DHCP server was not running/working on the connection sharing computer. – pabouk – 2013-12-10T10:37:09.067
In your place I used fixips on the localnet until I have a better router as a windows. – peterh - Reinstate Monica – 2013-12-10T14:28:26.577