LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Very poor network connection on new PC (http://www.linuxquestions.org/questions/slackware-14/very-poor-network-connection-on-new-pc-4175425840/)

arubin 09-05-2012 04:54 PM

Very poor network connection on new PC
 
My new PC is very slow connecting to the internet. It is plugged in directly through ethernet. Connections on windows on the same PC are very fast. Do I need an updated driver?

Quote:

root@Lavankossot:/etc/rc.d# lsmod
Module Size Used by
snd_seq_dummy 1479 0
snd_seq_oss 30116 0
snd_seq_midi_event 5708 1 snd_seq_oss
snd_seq 52486 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 5473 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 40089 0
snd_mixer_oss 17282 1 snd_pcm_oss
ipv6 275315 28
joydev 10279 0
usbhid 36859 0
hid 77723 1 usbhid
usb_storage 43948 0
uas 8298 0
lp 9781 0
ppdev 6021 0
parport_pc 21214 0
parport 30087 3 lp,ppdev,parport_pc
fuse 66651 3
nvidia 11191701 40
psmouse 47222 0
snd_hda_codec_realtek 293594 1
r8169 37529 0
mii 3906 1 r8169
snd_hda_intel 21915 2
agpgart 28874 1 nvidia
i2c_i801 8230 0
sg 26495 0
evdev 9813 11
xhci_hcd 65762 0
eeepc_wmi 3488 0
sparse_keymap 2984 1 eeepc_wmi
snd_hda_codec 71748 2 snd_hda_codec_realtek,snd_hda_intel
rtc_cmos 9374 0
snd_hwdep 6254 1 snd_hda_codec
rtc_core 14471 1 rtc_cmos
snd_pcm 73762 3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer 19671 2 snd_seq,snd_pcm
snd 58334 15 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_realtek,snd_hda_intel,snd _hda_codec,snd_hwdep,snd_pcm,snd_timer
serio_raw 4534 0
soundcore 5681 1 snd
wmi 8349 1 eeepc_wmi
processor 25982 0
i2c_core 19769 2 nvidia,i2c_i801
thermal_sys 13862 1 processor
shpchp 26821 0
hwmon 1473 1 thermal_sys
ehci_hcd 40123 0
rtc_lib 1978 1 rtc_core
button 5013 0
snd_page_alloc 7297 2 snd_hda_intel,snd_pcm
ext4 335343 3
mbcache 5770 1 ext4
jbd2 66089 1 ext4
Quote:

lspci
00:00.0 Host bridge: Intel Corporation Sandy Bridge DMI2 (rev 07)
00:01.0 PCI bridge: Intel Corporation Sandy Bridge IIO PCI Express Root Port 1a (rev 07)
00:02.0 PCI bridge: Intel Corporation Sandy Bridge IIO PCI Express Root Port 2a (rev 07)
00:03.0 PCI bridge: Intel Corporation Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode (rev 07)
00:05.0 System peripheral: Intel Corporation Sandy Bridge Address Map, VTd_Misc, System Management (rev 07)
00:05.2 System peripheral: Intel Corporation Sandy Bridge Control Status and Global Errors (rev 07)
00:05.4 PIC: Intel Corporation Sandy Bridge I/O APIC (rev 07)
00:11.0 PCI bridge: Intel Corporation Patsburg PCI Express Virtual Root Port (rev 06)
00:16.0 Communication controller: Intel Corporation Patsburg HECI Controller #1 (rev 05)
00:1a.0 USB Controller: Intel Corporation Patsburg USB2 Enhanced Host Controller #2 (rev 06)
00:1b.0 Audio device: Intel Corporation Patsburg High Definition Audio Controller (rev 06)
00:1c.0 PCI bridge: Intel Corporation Patsburg PCI Express Root Port 1 (rev b6)
00:1c.2 PCI bridge: Intel Corporation Patsburg PCI Express Root Port 3 (rev b6)
00:1c.3 PCI bridge: Intel Corporation Patsburg PCI Express Root Port 4 (rev b6)
00:1c.4 PCI bridge: Intel Corporation Patsburg PCI Express Root Port 5 (rev b6)
00:1c.5 PCI bridge: Intel Corporation Patsburg PCI Express Root Port 6 (rev b6)
00:1d.0 USB Controller: Intel Corporation Patsburg USB2 Enhanced Host Controller #1 (rev 06)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a6)
00:1f.0 ISA bridge: Intel Corporation Patsburg LPC Controller (rev 06)
00:1f.2 SATA controller: Intel Corporation Patsburg 6-Port SATA AHCI Controller (rev 06)
00:1f.3 SMBus: Intel Corporation Patsburg SMBus Host Controller (rev 06)
01:00.0 VGA compatible controller: nVidia Corporation GF110 [GeForce GTX 560 Ti] (rev a1)
01:00.1 Audio device: nVidia Corporation Device 0e0c (rev a1)
06:00.0 USB Controller: Device 1b21:1042
07:00.0 USB Controller: Device 1b21:1042
08:00.0 SATA controller: Device 1b21:0612 (rev 01)
09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 09)
ff:08.0 System peripheral: Intel Corporation Sandy Bridge QPI Link 0 (rev 07)
ff:08.3 System peripheral: Intel Corporation Sandy Bridge QPI Link Reut 0 (rev 07)
ff:08.4 System peripheral: Intel Corporation Sandy Bridge QPI Link Reut 0 (rev 07)
ff:09.0 System peripheral: Intel Corporation Sandy Bridge QPI Link 1 (rev 07)
ff:09.3 System peripheral: Intel Corporation Sandy Bridge QPI Link Reut 1 (rev 07)
ff:09.4 System peripheral: Intel Corporation Sandy Bridge QPI Link Reut 1 (rev 07)
ff:0a.0 System peripheral: Intel Corporation Sandy Bridge Power Control Unit 0 (rev 07)
ff:0a.1 System peripheral: Intel Corporation Sandy Bridge Power Control Unit 1 (rev 07)
ff:0a.2 System peripheral: Intel Corporation Sandy Bridge Power Control Unit 2 (rev 07)
ff:0a.3 System peripheral: Intel Corporation Sandy Bridge Power Control Unit 3 (rev 07)
ff:0b.0 System peripheral: Intel Corporation Sandy Bridge Interrupt Control Registers (rev 07)
ff:0b.3 System peripheral: Intel Corporation Sandy Bridge Semaphore and Scratchpad Configuration Registers (rev 07)
ff:0c.0 System peripheral: Intel Corporation Sandy Bridge Unicast Register 0 (rev 07)
ff:0c.1 System peripheral: Intel Corporation Sandy Bridge Unicast Register 0 (rev 07)
ff:0c.6 System peripheral: Intel Corporation Sandy Bridge Integrated Memory Controller System Address Decoder 0 (rev 07)
ff:0c.7 System peripheral: Intel Corporation Sandy Bridge System Address Decoder (rev 07)
ff:0d.0 System peripheral: Intel Corporation Sandy Bridge Unicast Register 0 (rev 07)
ff:0d.1 System peripheral: Intel Corporation Sandy Bridge Unicast Register 0 (rev 07)
ff:0d.6 System peripheral: Intel Corporation Sandy Bridge Integrated Memory Controller System Address Decoder 1 (rev 07)
ff:0e.0 System peripheral: Intel Corporation Sandy Bridge Processor Home Agent (rev 07)
ff:0e.1 Performance counters: Intel Corporation Sandy Bridge Processor Home Agent Performance Monitoring (rev 07)
ff:0f.0 System peripheral: Intel Corporation Sandy Bridge Integrated Memory Controller Registers (rev 07)
ff:0f.1 System peripheral: Intel Corporation Sandy Bridge Integrated Memory Controller RAS Registers (rev 07)
ff:0f.2 System peripheral: Intel Corporation Sandy Bridge Integrated Memory Controller Target Address Decoder 0 (rev 07)
ff:0f.3 System peripheral: Intel Corporation Sandy Bridge Integrated Memory Controller Target Address Decoder 1 (rev 07)
ff:0f.4 System peripheral: Intel Corporation Sandy Bridge Integrated Memory Controller Target Address Decoder 2 (rev 07)
ff:0f.5 System peripheral: Intel Corporation Sandy Bridge Integrated Memory Controller Target Address Decoder 3 (rev 07)
ff:0f.6 System peripheral: Intel Corporation Sandy Bridge Integrated Memory Controller Target Address Decoder 4 (rev 07)
ff:10.0 System peripheral: Intel Corporation Sandy Bridge Integrated Memory Controller Channel 0-3 Thermal Control 0 (rev 07)
ff:10.1 System peripheral: Intel Corporation Sandy Bridge Integrated Memory Controller Channel 0-3 Thermal Control 1 (rev 07)
ff:10.2 System peripheral: Intel Corporation Sandy Bridge Integrated Memory Controller ERROR Registers 0 (rev 07)
ff:10.3 System peripheral: Intel Corporation Sandy Bridge Integrated Memory Controller ERROR Registers 1 (rev 07)
ff:10.4 System peripheral: Intel Corporation Sandy Bridge Integrated Memory Controller Channel 0-3 Thermal Control 2 (rev 07)
ff:10.5 System peripheral: Intel Corporation Sandy Bridge Integrated Memory Controller Channel 0-3 Thermal Control 3 (rev 07)
ff:10.6 System peripheral: Intel Corporation Sandy Bridge Integrated Memory Controller ERROR Registers 2 (rev 07)
ff:10.7 System peripheral: Intel Corporation Sandy Bridge Integrated Memory Controller ERROR Registers 3 (rev 07)
ff:11.0 System peripheral: Intel Corporation Sandy Bridge DDRIO (rev 07)
ff:13.0 System peripheral: Intel Corporation Sandy Bridge R2PCIe (rev 07)
ff:13.1 Performance counters: Intel Corporation Sandy Bridge Ring to PCI Express Performance Monitor (rev 07)
ff:13.4 Performance counters: Intel Corporation Sandy Bridge QuickPath Interconnect Agent Ring Registers (rev 07)
ff:13.5 Performance counters: Intel Corporation Sandy Bridge Ring to QuickPath Interconnect Link 0 Performance Monitor (rev 07)
ff:13.6 System peripheral: Intel Corporation Sandy Bridge Ring to QuickPath Interconnect Link 1 Performance Monitor (rev 07

Franklin 09-05-2012 05:45 PM

I use the same card, but mine is (rev 06) rather than (rev 09). I have no problem with the drivers that I can tell.
I do connect using a static IP. Could this be a DHCP problem?
Just wanted to add I'm running 32 bit slackware-current (I see you're running 64bit)

arubin 09-05-2012 06:40 PM

Same problem running DHCP or static. When I boot into Windows it's very fast.

WetDreams 09-05-2012 08:12 PM

Hey, I am not sure if this will be of any help, but I had the same problem with internet connections being too slow every time I tried installing slackware on my computers. Try to blacklist ipv6 by adding
Code:

blacklist ipv6
in /etc/modprobe.d/blacklist and reboot.

With ipv6 disabled internet speed is back to normal for me. I am a newbie and I don't understand why this is happening, but it may have to do something with the router model or configuration since it happens on both of my home computers. Also I don't remember having these issues with my old router, it could be a coincidence, I don't know.

damgar 09-05-2012 09:31 PM

I have issues sometimes if I don't set a static DNS server. I got around this by setting my DNS server to the local address of my router and it's such a habit that I can't tell you what the problem actually was or if it still exists for me. Before I set the router's address I just used 4.2.2.1 and 8.8.8.8 as the DNS servers which I now have set statically set in my router. YMMV

Setting your own ISP's DNS servers might work better for you, my isp has pretty slow DNS.

arubin 09-06-2012 03:09 AM

Damgar I don't think this is a DNS issue. My old PC was fine with the same setup I am using.

I will not be able to work on this for a few days. There might be an updated Realtek driver I can install and I shall look into WetDreams suggestion.

Or perhaps Slackware 14 will have been released and that will work better.

cynwulf 09-06-2012 04:41 AM

Quote:

Originally Posted by arubin (Post 4773896)
and I shall look into WetDreams suggestion.

You should do this first as it's the most likely culprit.

tc_ 09-06-2012 08:46 AM

Perhaps r8169 vs r8168 issue
 
Just a guess, but...

You are using the r8169 driver but have a r8168b ethernet card. It may be the case that blacklisting r8169 and installing the r8168 driver from realtek will help. Another solution that might help is manually setting the speed of your ethernet card to 100 instead of 1000 via ethtool. This is a known and very old bug. I also suggest to search this forums or the whole web for r8168 and r8169 driver issues.

edit: An indicator that this is the actual problem would be many "eth0: disconnect/connect", "eth0: autonegotiated.." or similar messages in your log files.
edit2: Yet another indicator would be many lost packages when pinging any other box (e.g. your router)

arubin 09-06-2012 08:53 AM

These pages indicate that the r8169 driver might be what is at fault.

http://forums.linuxmint.com/viewtopic.php?f=49&t=80757

http://www.foxhop.net/realtek-droppi...ntu-and-fedora

tc_ 09-06-2012 09:15 AM

Another thread on the same issue
 
The thread http://www.linuxquestions.org/questi...ed-fyi-928824/ contains a solution. Although I would prefer the latest driver which can be found here: http://www.realtek.com.tw/downloads/...&GetDown=false. If I have some spare time, I may even be able to find the SlackBuild I once wrote for this purpose.

Fred-1.2.13 09-06-2012 10:16 AM

Just for a quick test... login as root and launch startx as root. See if things run faster as root.....

Had a machine do this to me once... never did figure out why as it was a junker test box so I didn't pursue it. Was very weird, network (Internet) crawled as a regular user but ran fine as root.

arubin 09-06-2012 12:18 PM

Ok. Found a few minute to play with the PC. Followed tc_'s advice in #10 and had a 12 Mbps download. Around what I might expect from my broadband.

Thanks

Franklin 09-06-2012 05:59 PM

Glad you got things sorted. Curious as to why my card seems to work fine.
Perhaps I'll be back to this thread when my network starts to suck wind. ;)
Thanks for posting the resolution.


All times are GMT -5. The time now is 05:54 PM.