4
1
On Windows 8, I'm using a wireless hosted network with ICS. I have one interface connected to internet, and my WiFi interface as a wireless access point. The interface that is connected to internet is a USB modem.
This is what I did, I ran these commands:
netsh wlan set hostednetwork ssid=* key=*
netsh start hostednetwork
Then I configured the ICS on the interface connected to internet and linked it up with the new virtual WiFi access point interface.
Then I connected my Android phone to the WiFi access point and tried to access the internet.
An error occurred on the browser, telling me that the DNS did not resolve.
So I modified (static config) the WiFi configuration on my Android phone to use Google DNS 8.8.8.8 and 8.8.4.4 and everything worked.
The WiFi interface is on 192.168.137.1, so my Android phone connected in that particular range, and set the gateway & DNS to the same IP.
In all the guides I've read on the internet, no site mentioned this problem. I don't understand why the DNS information is not propagating from the USB modem -> WiFi Access Point -> Android phone WiFi?
Even if I set the DNS servers on the WiFi access point interface statically to Google DNS, it still doesn't work.
The internet connection only works properly if I set the DNS servers on my Android phone's WiFi configuration. If I don't, I can only use direct IPs.
Any ideas?
Also, for me, sometimes I have to enable the Ethernet connection (just enable not using it actually), just to get the other hostednetwork to show up as an option for sharing. – David d C e Freitas – 2016-08-13T04:58:07.400
Blanking out the DNS addresses will just make the radio button go back to using Automatic DNS – WhiskerBiscuit – 2016-09-02T11:33:42.203
Oh, I also have to redo this action every now and then because the DNS gets lost after some time of switching it on and off I guess. – David d C e Freitas – 2016-11-11T15:20:24.590