Created
January 5, 2024 16:20
-
-
Save mjones129/7a73205e7c01538fa7d2c43ffcab3304 to your computer and use it in GitHub Desktop.
Enable (or re-enable) internet access in WSL2 after reboot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment