This is with a fresh installation of the 'Ubuntu' package from the MS Store (so is 20.04).
(1) content of /etc/wsl.conf;
(doesn't exist)
(2) content of /etc/resolv.conf;
# 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 nameserver 172.29.192.1
(3) contents of cat /etc/hosts.
# This file was automatically generated by WSL. To stop automatic generation of this file, add the following entry to /etc/wsl.conf:
# [network]
# generateHosts = false
127.0.0.1 localhost
127.0.1.1 bamboo.localdomain bamboo
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
This is with a fresh installation of the 'Ubuntu' package from the MS Store (so is 20.04).
(1) content of /etc/wsl.conf;
(doesn't exist)
(2) content of /etc/resolv.conf;
# 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 nameserver 172.29.192.1
(3) contents of cat /etc/hosts.
# This file was automatically generated by WSL. To stop automatic generation of this file, add the following entry to /etc/wsl.conf:
# [network]
# generateHosts = false
127.0.0.1 localhost
127.0.1.1 bamboo.localdomain bamboo
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
sudo apt update [sudo] password for xxxx: Err:1 http:// archive. ubuntu. com/ubuntu focal InRelease Temporary failure resolving 'archive. ubuntu. com' Err:2 http:// security. ubuntu. com/ubuntu focal-security InRelease Temporary failure resolving 'security. ubuntu. com' Err:3 http:// archive. ubuntu. com/ubuntu focal-updates InRelease Temporary failure resolving 'archive. ubuntu. com' Err:4 http:// archive. ubuntu. com/ubuntu focal-backports InRelease Temporary failure resolving 'archive. ubuntu. com'