WSL 2 Internet crash

victor kubiak 1 Reputation point
2021-09-24T19:08:50.647+00:00

Hi,

Here's my problem.
I have a WSL2 installed with Unbuntu.
Everytime I try reaching the internet by updating my ubuntu or installing packages my internet crashes on both the host and VM.
My internet connection is USB tethering with my phone cause I don't have WiFi nor ethernet at home.
When this crash occurs I have unplug and replug USB to re-enable USB tethering and it works again as long as I don't try to reach internet with my WSL.

Do you have any leads on solution ?

Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,617 questions
Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,309 questions
{count} votes

1 answer

Sort by: Most helpful
  1. YB 1 Reputation point
    2021-11-11T08:48:22.757+00:00

    I have similar/same problem too.

    When I use USB tethering on host OS(Windows 11), all programs use Hyper-V virtual switch,
    such as WSL2 including docker desktop, Sandbox and Hyper-V guest OSs
    break down my tethering connection on both host and guest.

    I guess Hyper-V virtual switch does not consider tethering case.

    0 comments No comments