We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
> Ok, so I finally found solution in an old ticket: [#1908 (comment)](https://github.com/microsoft/WSL/issues/1908#issuecomment-641396913)
So the full set of commands that have to be run is: sudo rm /etc/resolv.conf sudo bash -c 'echo "nameserver 8.8.8.8" > /etc/resolv.conf' sudo bash -c 'echo "[network]" > /etc/wsl.conf' sudo bash -c 'echo "generateResolvConf = false" >> /etc/wsl.conf' sudo chattr +i /etc/resolv.conf
So the full set of commands that have to be run is:
sudo rm /etc/resolv.conf sudo bash -c 'echo "nameserver 8.8.8.8" > /etc/resolv.conf' sudo bash -c 'echo "[network]" > /etc/wsl.conf' sudo bash -c 'echo "generateResolvConf = false" >> /etc/wsl.conf' sudo chattr +i /etc/resolv.conf
that worked for me like charm. thanks a bunch!
Originally posted by @mdrijwan in microsoft/WSL#5420 (comment)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
that worked for me like charm. thanks a bunch!
Originally posted by @mdrijwan in microsoft/WSL#5420 (comment)
The text was updated successfully, but these errors were encountered: