Score:0

WSL2 Windows 11 After upgrade - Ubuntu 18.04 on WSL2 has no internet "No Route to Host"

id flag

After upgrading the windows 11, my WSL2 Ubuntu 18.04 has no internet access. I get the error "No Route to Host". I double checked my resolv.conf as displayed below:

root@~$ cat /etc/resolv.conf nameserver 8.8.8.8 nameserver 8.8.4.4

What could be wrong and why does this ALWAYS happen?

waltinator avatar
it flag
Read `man ip ip-route`. Look at `ip route`. Do you have a `default` route?Look at the logs! `sudo journalctl -b 0 -u NetworkManager`. Read `man journalctl`.
Patoshi パトシ avatar
id flag
nothing in the logs
NotTheDr01ds avatar
vn flag
@waltinator WSL doesn't set up logging, nor use `journalctl` (without additional, albiet hacky, effort).
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.