Skip to content

Instantly share code, notes, and snippets.

@RioChndr
Created August 24, 2022 07:14
Show Gist options
  • Save RioChndr/400b8e93f84a0c3dde5e3f24ddb3f46d to your computer and use it in GitHub Desktop.
Save RioChndr/400b8e93f84a0c3dde5e3f24ddb3f46d to your computer and use it in GitHub Desktop.
Commond problem WSL

Common problem wsl

CURL / Wget / any connection hang up

issue wsl

this because problem with network wsl to host. Solution is here. Run command sudo ifconfig eth0 mtu 1350, or it could be sudo ifconfig eth0 mtu xxxx.

Solution to make it permanent. add it to /etc/wsl.conf. detail here

[boot]
command = sudo ifconfig eth0 mtu 1350
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment