Recently I installed WSL 2 Ubuntu 22.04 on my Windows 10 machine, but nothing seems to work properly, because I have no internet access.I tried a few commands and sudo apt update says 'Connection failed' and ping google.comEdition Windows 10 EnterpriseVersion 21H2Installed on 06/02/2023OS build 19044.2486Experience Windows Feature Experience Pack 120.2212.4190.0
~$ sudo apt updateIgn:1 http://archive.ubuntu.com/ubuntu jammy InReleaseIgn:2 http://security.ubuntu.com/ubuntu jammy-security InReleaseIgn:3 http://archive.ubuntu.com/ubuntu jammy-updates InReleaseIgn:4 http://archive.ubuntu.com/ubuntu jammy-backports InReleaseIgn:1 http://archive.ubuntu.com/ubuntu jammy InReleaseIgn:2 http://security.ubuntu.com/ubuntu jammy-security InReleaseIgn:3 http://archive.ubuntu.com/ubuntu jammy-updates InReleaseIgn:4 http://archive.ubuntu.com/ubuntu jammy-backports InReleaseIgn:1 http://archive.ubuntu.com/ubuntu jammy InReleaseIgn:2 http://security.ubuntu.com/ubuntu jammy-security InReleaseIgn:3 http://archive.ubuntu.com/ubuntu jammy-updates InReleaseIgn:4 http://archive.ubuntu.com/ubuntu jammy-backports InReleaseErr:1 http://archive.ubuntu.com/ubuntu jammy InRelease Temporary failure resolving 'archive.ubuntu.com'Err:2 http://security.ubuntu.com/ubuntu jammy-security InRelease Temporary failure resolving 'security.ubuntu.com'Err:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease Temporary failure resolving 'archive.ubuntu.com'Err:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease Temporary failure resolving 'archive.ubuntu.com'Reading package lists... DoneBuilding dependency tree... DoneReading state information... DoneAll packages are up to date.W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease Temporary failure resolving 'archive.ubuntu.com'W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease Temporary failure resolving 'archive.ubuntu.com'W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease Temporary failure resolving 'archive.ubuntu.com'W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease Temporary failure resolving 'security.ubuntu.com'W: Some index files failed to download. They have been ignored, or old ones used instead.