wsa virtwifi saved network changes dns1 entry to vEthernet (wsl) gateway address #199
-
QuestionAnyone else seeing this and have insights on how you prevent it from happening permanently in the wsa configuration settings? BackgroundI'm finding an issue with my current wsa with magisk and mindthegapps install, which i suspect might affect standard issue wsa installs as well, arising after some period of use and system sleep/restore events. Figured i'd ask here since this group understands wsa better than what is available in other forums. What happens is apps are still running fine but any network active results in a failure. A search hit led me to find that this arises from the wsa virtwifi saved network settings end up with its dns1 entry pointing at the vEthernet (wsl) gateway address. See The fix is to run |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
If you don't enable the advanced network it will use NAT, WSA through vEthernet networking, WSA's virtwifi's DNS is Windows NAT, normally it can resolve the domain name |
Beta Was this translation helpful? Give feedback.
-
@Howard20181 thank you for the response. I'm hearing that if wsa settings | advanced networking is set to the default of Just prior to wsa networking dns1 no longer successfully resolving addresses i get a pop-up dialog, which i'll grab the details of next time it arises and paste here, saying something to the tune of wsa networking had to be shutdown click here to restart subsystem. It's just after i click that restart subsystem button that networking in apps stops working and only way i found to recover it, without doing a reboot, is by pointing dns1 setting at an external dns server vs the wsa/wsl nat interface. Does that sound like anything you've seen before? Is the resolution here that i enable advanced networking even if i don't need ability it advertises as providing, which is be able to see and communicate with other devices on my local private network? |
Beta Was this translation helpful? Give feedback.
-
I have updated to the latest build of WSA, but the option to enable advanced network settings doesn't appear in my settings. Is there a way to enable advanced network settings through adb? |
Beta Was this translation helpful? Give feedback.
-
What i found was if wsa advanced networking is enabled, you see actual wifi ssid values and connections. The wifi ssid that your windows host is connected to will be enabled by default. If wsa advanced networking is disabled, or gets automatically disabled when an unsupported vpn client connection is detected, then you go back to having the VirtWifi interface which uses the "vEthernet (wsl)" interface as its gateway and dns. |
Beta Was this translation helpful? Give feedback.
If you don't enable the advanced network it will use NAT, WSA through vEthernet networking, WSA's virtwifi's DNS is Windows NAT, normally it can resolve the domain name