AlpineWSL
AlpineWSL copied to clipboard
slow internet connection
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
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.