Fix WSL ubuntu problems
Jump to navigation
Jump to search
Running that Linux subsystem under windows 10 got some problems, as expected.
I could ping to external sites by name, so DNS worked and some networking. But downloading updates or connecting to those websites I could ping failed.
Solution (for me) was to downgrade from WSL2 to WSL1 for this instance.
Show the current WSL versions per image:
wsl -l -v
Downgrade by named image (will take some minutes and popups will appear, which I clicked cancel)
wsl --set-version Ubuntu 1
And check again
wsl -l -v