You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Delete the first line from the file, which says "# This file was automatically generated by WSL. To stop automatic generation of this file, remove this line.".
However, looking inside /etc/resolv.conf it reads:
This file was automatically generated by WSL. To stop automatic generation of this file, add the following entry to /etc/wsl.conf:
[network]
generateResolvConf = false
Problem 2
I actuall tried both to remove the line, and to add this to my /etc/wsl.conf (only thing I have in there):
[network]
generateResolvConf = false
but neither worked. The /etc/resolv.conf is updated once I exit/enter Ubuntu WSL2 again. Is problem 2 a documentation issue, or a real problem? For reference, my /etc/wsl.conf has permission 644.
The text was updated successfully, but these errors were encountered:
The section "Bash loses network connectivity once connected to a VPN" (https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#bash-loses-network-connectivity-once-connected-to-a-vpn) seems outdated.
Problem 1
5a says:
However, looking inside
/etc/resolv.conf
it reads:Problem 2
I actuall tried both to remove the line, and to add this to my /etc/wsl.conf (only thing I have in there):
but neither worked. The
/etc/resolv.conf
is updated once I exit/enter Ubuntu WSL2 again. Is problem 2 a documentation issue, or a real problem? For reference, my/etc/wsl.conf
has permission 644.The text was updated successfully, but these errors were encountered: