[SOLVED] All network connections slow down over time

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
hailtothethief

[SOLVED] All network connections slow down over time

Post by hailtothethief »

The title pretty much sums up the symptom I'm getting. When I first boot up, my internet and LAN connections work fine. I get reasonably good transfer rates for all services.

Until, that is, about two or three minutes after my NIC connects to my LAN. Then the transmission speeds (for all outbound connections whether local or over the web) slow to a crawl. When scp'ing, the file transfer stalls. When accessing a webpage, the transfer stalls and may not complete even if left for several minutes. This occurs with both wireless and wired connections.

The bizarre part is this: when I right-click the network manager and reconnect to the network, the problem goes away, but only briefly until the problem again occurs, requiring another disconnect/reconnect cycle on the NIC.

So, my friends, I'm trapped in a sort of linux hell, where my services are perfectly configured and everything runs beautifully, except that my network connections require a manual fix every 2-3 minutes. Please help? Additional info is attached.

Here are some bullet point facts:
  • - This occurs on both wired and wireless connections
    - The ONLY change in software/configuration change across the whole network was switching this computer from W7 to Mint 9
    - This machine had NO problems with networking (on the same network) while running W7
    - I have a server running Ubuntu Server 9.10, and it has not had any (networking) problems on this network.
    - Network connections work fine for a (very) short period after boot-up (or any ifup'ing in general)


Some lspci output:

Code: Select all

02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8187SE Wireless LAN Controller [10ec:8199] (rev 22)
	Subsystem: Realtek Semiconductor Co., Ltd. Device [10ec:8181]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 7
	Region 0: I/O ports at 7000 [size=256]
	Region 1: Memory at d2100000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: r8180
	Kernel modules: rtl8187se

03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 02)
	Subsystem: Toshiba America Info Systems Device [1179:ff1e]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 20
	Region 0: I/O ports at 6000 [size=256]
	Region 2: Memory at d0010000 (64-bit, prefetchable) [size=4K]
	Region 4: Memory at d0000000 (64-bit, prefetchable) [size=64K]
	Expansion ROM at d0020000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: r8169
	Kernel modules: r8169
And some mintwifi output:

Code: Select all

wlan0     802.11b/g  ESSID:"hailnet"  
          Mode:Managed  Frequency=2.422 GHz  Access Point: Not-Associated   
          Bit Rate:54 Mb/s   
          Retry:on   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=0/100  Signal level=0 dBm  Noise level=0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

eth0      Link encap:Ethernet  HWaddr 00:26:6c:3d:2e:19  
          inet addr:192.168.0.3  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::226:6cff:fe3d:2e19/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11674 errors:0 dropped:0 overruns:0 frame:0
          TX packets:15409 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3499262 (3.4 MB)  TX bytes:14805963 (14.8 MB)
          Interrupt:20 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:34 errors:0 dropped:0 overruns:0 frame:0
          TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2444 (2.4 KB)  TX bytes:2444 (2.4 KB)

wlan0     Link encap:Ethernet  HWaddr 70:1a:04:ac:b5:38  
          inet6 addr: fe80::721a:4ff:feac:b538/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:312871 errors:518 dropped:353264 overruns:0 frame:0
          TX packets:354348 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:58376610 (58.3 MB)  TX bytes:202156034 (202.1 MB)
          Interrupt:7 Memory:ffffc900010c0000-ffffc900010c0100 

wlan0:avahi Link encap:Ethernet  HWaddr 70:1a:04:ac:b5:38  
          inet addr:169.254.7.19  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          Interrupt:7 Memory:ffffc900010c0000-ffffc900010c0100 

Server:		192.168.0.1
Address:	192.168.0.1#53

Non-authoritative answer:
Name:	google.com
Address: 74.125.155.99
Name:	google.com
Address: 74.125.155.103
Name:	google.com
Address: 74.125.155.104
Name:	google.com
Address: 74.125.155.105
Name:	google.com
Address: 74.125.155.106
Name:	google.com
Address: 74.125.155.147

-------------------------
* I. scanning WIFI PCI devices...
  -- Realtek Semiconductor Co., Ltd. RTL8187SE Wireless LAN Controller (rev 22)
      ==> PCI ID = 10ec:8199 (rev 22)
-------------------------
* II. querying ndiswrapper...
-------------------------
* III. querying iwconfig...
-------------------------
* IV. querying ifconfig...
-------------------------
* V. querying DHCP...
-------------------------
* VI. querying nslookup google.com...
I know the problem is hard to track down. Any help is greatly appreciated.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
hailtothethief

Re: All network connections slow down over time

Post by hailtothethief »

Solved it by myself. The problem was the use of ipv6. Something to do with my router not supporting it (or just being terrible at handling it), therefore when the machine tries to use ipv6 the router got all crunched up on itself. Whatever. It's a simple fix, just blacklist the ipv6 module:

Code: Select all

$ su
Password:

$ echo 'blacklist ipv6' >> /etc/modprobe.d/blacklist.conf
AND THEN RESTART YOUR COMPUTER

(NOTE: if you need to use ipv6 for anything, you should find another workaround since this will disable ipv6 system wide)
Locked

Return to “Networking”