Forum Discussion
John Wildes
May 19, 2020Brass Contributor
WSL2 Network Routes
Hello! I've upgraded to 2004, and upgraded my WSL installations to WSL2. Under WSL1 the linux distros shared the local PC nic. Under WSL2 they have their own nic, and IP address behind an internal...
Nervill_mcbo
Oct 13, 2020Copper Contributor
John Wildes I managed to repair the problem, first open the installed distribution (ubuntu, fedora, etc.), locate the vEthernet network card in the network connection, in the properties of the card in the IPv4 section, place in the DNS 8.8.8.8, see to the installed distribution and run the following command sudo nano /etc/resolv.conf edit the nameserver and put 8.8.8.8 saves and run a sudo apt update and it should run without problem.
Regards,
Nervill
mailto:nervill@gmail.com