My Internet connection in Ubuntu 18 was very slow compared to Windows 8.1. This is how I fixed it.
Run this command to open the /etc/resolv.conf file for editing. If you do not have VIM installed, try nano instead. Or run sudo apt install vim-common.
jason@Yog-Sothoth » ~ » $ sudo vim /etc/resolv.conf
Then edit the file to look like this. You can substitute your own favorite DNS provider if you so wish. But this worked well for me.
1 # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) 2 # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN 3 # 127.0.0.53 is the systemd-resolved stub resolver. 4 # run "systemd-resolve --status" to see details about the actual nameservers. 5 6 nameserver 8.8.8.8 7 nameserver 8.8.4.4 8 search home 9
Now the Internet is much faster than before. I also had the issue where the system could not resolve the localhost nodename, this meant I had problems using sudo. But now my system is usable again. The Systemd configuration is a bit strange by default, it is best to tweak it and enjoy a much faster Internet experience.
This is much better.
jason@Yog-Sothoth » ~ » $ speedtest-cli Retrieving speedtest.net configuration... Testing from iPrimus (XXX.XXX.XX.XXX)... Retrieving speedtest.net server list... Selecting best server based on ping... Hosted by 'Yes' Optus (Sydney) [63.75 km]: 24.954 ms Testing download speed................................................................................ Download: 10.95 Mbit/s Testing upload speed...................................................................................................... Upload: 0.86 Mbit/s
sudo: vim: command not found
What shall I do?
Try this.
Did the solution fix your internet speed?
Thats worked well for me but it raises the ping____Thanks 🙂
I cant edit the file…..Please help :(
Press “i” to enter insert mode , when done press esc.
Ubuntu 20.04: Worked for me! So happy now :)
> Download: 10.95 Mbit/s
> Upload: 0.86 Mbit/s
Do you think it’s “better”? My link is 100Mb and I see:
> Download: 93.63 Mbit/s
> Upload: 4.01 Mbit/s
So seems there is a real problem with “upload”…
I have faster Internet now and the problem seems to have been fixed due to an update. But it was a problem in the past.
https://www.securitronlinux.com/wp-content/uploads/2020/04/screenshot_10.png
You save me alot. Thanks you.
Ubuntu 20.04: Worked fine! Thanks.
PS: it does not affect internet speed, it affects internet *connection* speed when you need to find an address, like in a “apt update” or “apt upgrade” and similars.
But it makes a difference and that is what matters. Glad it helped you.
Worked like a charm! Thanks!
It’s works perfectly. Very thanks :)
that net speed fix did the trick, thanks for that!