AlpineWSL icon indicating copy to clipboard operation
AlpineWSL copied to clipboard

slow internet connection

Open msh2050 opened this issue 3 years ago • 1 comments

I have very slow internet connection I compare it with ubuntu distro...

can I use this solution? source

sudo rm /etc/resolv.conf
sudo bash -c 'echo "nameserver 8.8.8.8" > /etc/resolv.conf'
sudo bash -c 'echo "[network]" > /etc/wsl.conf'
sudo bash -c 'echo "generateResolvConf = false" >> /etc/wsl.conf'
sudo chattr +i /etc/resolv.conf

msh2050 avatar Jan 20 '22 19:01 msh2050

Hmm sudoing from root user is not necessary.

Also, chattr is not available by default. do

~# apk add e2fsprogs-extra

to get it.

The /etc/wls.conf file seems to be ignored, maybe it is a bug?

The generateResolvConf = false should probably go to resolv conf conf file if there is such equivalent for resolv.conf generator.

freed00m avatar May 06 '22 11:05 freed00m