Bug 97361 - RealTek WiFi Adapter Has Slow Connection.
Summary: RealTek WiFi Adapter Has Slow Connection.
Status: NEW
Alias: None
Product: Platform Specific/Hardware
Classification: Unclassified
Component: x86-64 (show other bugs)
Hardware: All Linux
: P1 high
Assignee: platform_x86_64@kernel-bugs.osdl.org
URL: https://bugs.launchpad.net/ubuntu/+so...
Keywords: trivial
Depends on: 45241
Blocks:
  Show dependency tree
 
Reported: 2015-04-27 16:39 UTC by Jeb Eldridge
Modified: 2017-03-06 20:19 UTC (History)
2 users (show)

See Also:
Kernel Version: 3.19.0-15-lowlatency
Subsystem:
Regression: No
Bisected commit-id:


Attachments
HOTFIX (from ppa:bodyakov/wi-fi) (684.43 KB, patch)
2015-04-27 16:59 UTC, Jeb Eldridge
Details | Diff

Description Jeb Eldridge 2015-04-27 16:39:22 UTC
My wireless internet connection, no matter what dongle I use as an interface, is always slower and I have more DNS issues "unable to find website" than what I ever get on even the Windows 10 Developer Beta running on my same machine within a different hard disk.

Using Ubuntu, my internet connection will often slow to a screeching halt, videos fail to stream properly from popular sites a'la Youtube or such, I get DNS issues reported by Chrome and Firefox in which my current connection cannot "find" a website although connected, and last but not least, my connection will cut in and out intermittently though I have set the MAC address of my router as the BSSID. Windows 10 does not give me these issues, and has been more stable connectivity-wise from day one of the first public beta of Windows 10.

Something is terribly wrong, and I do not know what. I have tried what seems like everything to fix the problem, and I still have the same issues. If Ubuntu cannot support common wireless devices and drivers, why would the general public want to prefer Ubuntu over something more stable?

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: libnm-gtk-common 0.9.8.8-0ubuntu7
ProcVersionSignature: Ubuntu 3.16.0-28.38-lowlatency 3.16.7-ckt1
Uname: Linux 3.16.0-28-lowlatency x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Jan 9 14:34:48 2015
Dependencies:

IfupdownConfig:
 # interfaces(5) file used by ifup(8) and ifdown(8)
 auto lo
 iface lo inet loopback
InstallationDate: Installed on 2014-11-08 (62 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
IpRoute:
 default via 192.168.1.1 dev wlan0 proto static
 192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.11 metric 9
NetworkManager.state:
 [main]
 NetworkingEnabled=true
 WirelessEnabled=true
 WWANEnabled=true
 WimaxEnabled=true
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: network-manager-applet
UpgradeStatus: No upgrade log present (probably fresh install)
nmcli-con:
 NAME UUID TYPE TIMESTAMP TIMESTAMP-REAL AUTOCONNECT READONLY DBUS-PATH
 Wired connection 1 f1c9b8fa-dda4-443c-9143-093770dd40a4 802-3-ethernet 1420688531 Wed 07 Jan 2015 10:42:11 PM EST yes no /org/freedesktop/NetworkManager/Settings/2
 KCS96 1 79387fc2-a0c8-452c-8dd3-a632947dbe73 802-11-wireless 1420831940 Fri 09 Jan 2015 02:32:20 PM EST yes no /org/freedesktop/NetworkManager/Settings/1
 HTC One Network a509d61f-6a95-438f-b66f-8fde34f8e1ed bluetooth 0 never no no /org/freedesktop/NetworkManager/Settings/0
nmcli-dev:
 DEVICE TYPE STATE DBUS-PATH
 wlan0 802-11-wireless connected /org/freedesktop/NetworkManager/Devices/3
 2C:8A:72:02:18:B5 bluetooth disconnected /org/freedesktop/NetworkManager/Devices/2
 eth0 802-3-ethernet unavailable /org/freedesktop/NetworkManager/Devices/0
nmcli-nm:
 RUNNING VERSION STATE NET-ENABLED WIFI-HARDWARE WIFI WWAN-HARDWARE WWAN
 running 0.9.8.8 connected enabled enabled enabled enabled enabled
Comment 1 Jeb Eldridge 2015-04-27 16:53:16 UTC
2015-04-24

See below for my system details to-date:
jeb@Linux:~$ sudo dmesg
[sudo] password for jeb:
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.16.0-33-lowlatency (buildd@toyol) (gcc version 4.9.1 (Ubuntu 4.9.1-16ubuntu6) ) #44-Ubuntu SMP PREEMPT Thu Mar 12 12:48:26 UTC 2015 (Ubuntu 3.16.0-33.44-lowlatency 3.16.7-ckt7)
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.16.0-33-lowlatency root=UUID=f76ea927-6dcf-47d0-a6a8-8f7ed0394edc ro quiet splash
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009efff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009f000-0x000000000009ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000e4000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000cffaffff] usable
[ 0.000000] BIOS-e820: [mem 0x00000000cffb0000-0x00000000cffbdfff] ACPI data
[ 0.000000] BIOS-e820: [mem 0x00000000cffbe000-0x00000000cffdffff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x00000000cffe0000-0x00000000cfffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fff00000-0x00000000ffffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000022fffffff] usable
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] SMBIOS 2.6 present.
[ 0.000000] DMI: BIOSTAR Group A880G+/A880G+, BIOS 080016 09/21/2011
[ 0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[ 0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[ 0.000000] AGP: No AGP bridge found
[ 0.000000] e820: last_pfn = 0x230000 max_arch_pfn = 0x400000000
[ 0.000000] MTRR default type: uncachable
[ 0.000000] MTRR fixed ranges enabled:
[ 0.000000] 00000-9FFFF write-back
[ 0.000000] A0000-EFFFF uncachable
[ 0.000000] F0000-FFFFF write-protect
[ 0.000000] MTRR variable ranges enabled:
[ 0.000000] 0 base 000000000000 mask FFFF80000000 write-back
[ 0.000000] 1 base 000080000000 mask FFFFC0000000 write-back
[ 0.000000] 2 base 0000C0000000 mask FFFFF0000000 write-back
[ 0.000000] 3 disabled
[ 0.000000] 4 disabled
[ 0.000000] 5 disabled
[ 0.000000] 6 disabled
[ 0.000000] 7 disabled
[ 0.000000] TOM2: 0000000230000000 aka 8960M
[ 0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
[ 0.000000] e820: update [mem 0xd0000000-0xffffffff] usable ==> reserved
[ 0.000000] e820: last_pfn = 0xcffb0 max_arch_pfn = 0x400000000
[ 0.000000] found SMP MP-table at [mem 0x000ff780-0x000ff78f] mapped at [ffff8800000ff780]
[ 0.000000] Scanning 1 areas for low memory corruption
[ 0.000000] Base memory trampoline at [ffff880000099000] 99000 size 24576
[ 0.000000] Using GB pages for direct mapping
[ 0.000000] init_memory_mapping: [mem 0x00000000-0x00...
Comment 2 Jeb Eldridge 2015-04-27 16:54:07 UTC
2015-04-27

Here is some current info regarding my wireless interface as well:

jeb@Linux:~$ sudo lshw -C network
[sudo] password for jeb:
  *-network
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: eth0
       version: 03
       serial: 00:30:67:8e:cb:5d
       size: 10Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl_nic/rtl8168d-1.fw latency=0 link=no multicast=yes port=MII speed=10Mbit/s
       resources: irq:26 ioport:d800(size=256) memory:fbffb000-fbffbfff memory:fbffc000-fbffffff memory:febe0000-febfffff
  *-network:0 DISABLED
       description: Ethernet interface
       physical id: 1
       logical name: virbr0-nic
       serial: 52:54:00:f7:71:a5
       size: 10Mbit/s
       capabilities: ethernet physical
       configuration: autonegotiation=off broadcast=yes driver=tun driverversion=1.6 duplex=full link=no multicast=yes port=twisted pair speed=10Mbit/s
  *-network:1
       description: Wireless interface
       physical id: 2
       bus info: usb@1:3.4
       logical name: wlan0
       serial: 04:8d:38:08:d9:e0
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=rtl8192cu driverversion=3.19.0-15-lowlatency firmware=N/A ip=192.168.1.6 link=yes multicast=yes wireless=IEEE 802.11bgn
jeb@Linux:~$
Comment 3 Jeb Eldridge 2015-04-27 16:54:40 UTC
2015-04-27

Here is some current info regarding my wireless interface as well:

jeb@Linux:~$ sudo lshw -C network
[sudo] password for jeb:
  *-network
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: eth0
       version: 03
       serial: 00:30:67:8e:cb:5d
       size: 10Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl_nic/rtl8168d-1.fw latency=0 link=no multicast=yes port=MII speed=10Mbit/s
       resources: irq:26 ioport:d800(size=256) memory:fbffb000-fbffbfff memory:fbffc000-fbffffff memory:febe0000-febfffff
  *-network:0 DISABLED
       description: Ethernet interface
       physical id: 1
       logical name: virbr0-nic
       serial: 52:54:00:f7:71:a5
       size: 10Mbit/s
       capabilities: ethernet physical
       configuration: autonegotiation=off broadcast=yes driver=tun driverversion=1.6 duplex=full link=no multicast=yes port=twisted pair speed=10Mbit/s
  *-network:1
       description: Wireless interface
       physical id: 2
       bus info: usb@1:3.4
       logical name: wlan0
       serial: 04:8d:38:08:d9:e0
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=rtl8192cu driverversion=3.19.0-15-lowlatency firmware=N/A ip=192.168.1.6 link=yes multicast=yes wireless=IEEE 802.11bgn
jeb@Linux:~$
Comment 4 Jeb Eldridge 2015-04-27 16:55:44 UTC
UPDATE: I ran into a newer driver within a PPA assembled by Launchpad user "bodyakov", https://launchpad.net/~bodyakov/+archive/ubuntu/wi-fi . Attached to this URL is the (AMD64) ftl8192cu driver, version 4.0.2.9000-2... I am currently running the driver version 3.19.0-15-lowlatency.

I am going to add the PPA and/or install the driver manually and I'll post the results shortly.
Comment 5 Jeb Eldridge 2015-04-27 16:56:34 UTC
UPDATE - CONTAINS FIX!

I tested out the PPA and though performing a software updater cache reset and update check, I still had to manually install the .DEB file as the Software Updater told me that there were no updates available.
After a quick install and reboot of the computer, my average internet speeds multiplied by 18.107 times!


BEFORE:
http://i59.tinypic.com/2wnz7rk.png

AFTER:
http://i59.tinypic.com/5xpwg5.png



Possibly the network manager was misreading the Wireless Adapter to begin with which didn't lead to any forced updates via the Software Updater either with or without the PPA.

Below is a direct link to the package information and driver on Launchpad:
http://mcaf.ee/9qkje

-----








 *AS I AM NOT A DEVELOPER, I CANNOT MYSELF ADD THIS FIX TO THE UBUNTU OR DEBIAN REPOSITORIES - THIS IS WHERE I NEED HELP. I AM NOT THE ONLY PERSON WHO HAS RAN INTO THIS ISSUE, AND IT SHOULD BE NECESSARY TO PUSH THIS OUT TO THE GENERAL PUBLIC.*
Comment 6 Jeb Eldridge 2015-04-27 16:57:21 UTC
AFFECTED WIRELESS USB ADAPTER INFORMATION:

BRAND: NETIS
CHIPSET MANUFACTUER: REALTEK (RT)
MODEL: WF-2116
NAME: 300Mbps WIRELESS-N USB ADAPTER
SERIAL NUMBER: 2116US39101016
FCC ID: T58W2116R
Comment 8 Szőgyényi Gábor 2017-03-06 20:19:35 UTC
Please try to reproduce this bug with latest kernel image.

Note You need to log in before you can comment on or make changes to this bug.