Internet in Ubuntu Linux is Extremely Slow

Icaraeus

Honorable
Hello all, I've recently installed Ubuntu linux on my desktop PC where my PC now dual boots between Windows 10 x86-64 bit and it. However, browsing the internet using the integrated Mozilla Firefox application in Linux is extremely slow.

My network speed is not the issue as I am connected to wired Ethernet and I am able to watch 1080p60fps video on YouTube, and upload speed is good as well. Sites such as Youtube, Google, Hotmail etc load instantaneously in WIndows, yet it takes me over a minute for google to load in Linux.

Any ideas how I would be able to fix this? I've been intending to use Linux for work purposes including writing web applications and scripting artificial intelligence, yet I am unable to do that with the network speed under Linux
 
Solution


Are you sure that it's about the network speed itself?
Can you try to download some large file and take a look for the download speed?

You should check your DNS settings too — if your DNS server is slow you can get such the issue because your system will wait for the DNS server answer for a long time.

Can you also post the output of the command 'ifconfig' and 'route' on your Linux system here?
'cat /etc/resolve.conf' will help too.
Maybe it...

rcxtra

Reputable
Sep 15, 2015
410
0
5,160
Sound like a driver issue with the NIC in Linux. Do you know what NIC you have? If not, look at the hardware ID for the NIC in Device Manager on Windows and see if Linux has full driver support for that particular NIC.

FYI: Have you thought about installing Linux as a Virtual Machine in Windows instead of dual boot? Dual boot can be such a pain if you're in one OS and suddenly realize you quickly need to do something in the other -- save everything, reboot to switch and reboot again to get back to where you were...
 

Icaraeus

Honorable
I've already had to go to great pains to fix the boot loader for Linux as it overwrote the boot loader for Windows, something that has been bothering me for 2 days, so I'll leave it as is. If I need to use Linux I'll just reboot and change OS. Doesn't really bother me.

I don't know much about NICs. All Windows 10 tells me under Device Manager is that it's labeled "Realtek PCIe GBE Family Controller", yet I have nothing network-related in the PCI-E slot of my motherboard other than a TV Tuner and a video card.
 

rcxtra

Reputable
Sep 15, 2015
410
0
5,160


The onboard NIC is tied directly to the PCI-E on the motherboard, that's why it shows as PCIe GBE. When you're in Device Manager you need to right click on the "Realtek PCIe GBE Family Controller" and select Properties. In the window that opens select the Details tab and then change the drop down menu from Device description to Hardware Ids. Copy the first line that shows under Hardware Ids, will look something like this: PCI\VEN_10EC&DEV_8168&SUBSYS_85051043&REV_09

VEN_10EC is Realtek NIC, DEV_8168 (in my case) is the type of Realtek NIC chipset being used in my system. In my case I would search PCI\VEN_10EC&DEV_8168 on Linux sites to see if any driver patches have been released.

As for fixing your Windows bootloader, EasyBCD is a free simple utility that can rebuild all common bootloaders including Windows 10 and Linux. Virtual machines have come a long way over the last several years. Now a days you can't even tell the difference between a virtual machine running full screen and the host OS. You can even install Windows in a virtual machine on a PC booting Linux. Virtualbox is almost too simple to setup not to try, and it's free. It's a little easier to do a Linux virtual machine inside a PC booting Windows because you don't have to worry about licensing/activation. Try it Mikey, you'll like it :)

Oh... And your Linux virtual machine won't have any driver problems because it will be using the underlying Windows drivers that already work. Add a second monitor to your Windows system and it's fantastic. You drag the Linux virtual machine over to the second display and run it full screen and now you've got 2 OS's at your fingertips, both running full screen. :bounce:
 

Icaraeus

Honorable
I've already fixed my boot loader, and EasyBCD wouldn't help anyway if it was a Windows application as I couldn't even boot into Windows as I was stuck in the Linux boot loader.

This is the NIC code:

PCI\VEN_10EC&DEV_8168&SUBSYS_81681849&REV_06

I'm not running a Linux VM, I've installed it as a separate OS to dual boot into. I also don't have a second monitor, though I am fully aware of the advantages multi monitors have
 

imort

Commendable
Jun 15, 2016
11
0
1,520


Are you sure that it's about the network speed itself?
Can you try to download some large file and take a look for the download speed?

You should check your DNS settings too — if your DNS server is slow you can get such the issue because your system will wait for the DNS server answer for a long time.

Can you also post the output of the command 'ifconfig' and 'route' on your Linux system here?
'cat /etc/resolve.conf' will help too.
Maybe it will help too.
 
Solution