Seeing same trouble on an Asus P552LJ. I'll post debugging when I get the chance tonight.
-- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1685190 Title: Intermittent wireless network problem with RTL8821AE and 802.11n/EWC Status in linux package in Ubuntu: Incomplete Bug description: An intermittent but very repeatable problem has started occurring upon upgrading from Ubuntu 16.10 (kernel 4.8) to Kubuntu 17.04 (kernel 4.10). After about 10 to 30 minutes the wireless network will stop working. The network manager will still report that the network is "connected" but all network requests will timeout. This problem occurs only with the wireless network and not the wired ethernet connection. After walking through the kernel bug reporting instructions (https://wiki.ubuntu.com/Kernel/LinuxWireless) I found that turning off "802.11n/EWC" in my router solves the problem. I have logged this as a problem with the kernel since it appears to be specific to my hardware. Please correct me if this was an incorrect assumption. Attached is two samples of the system log (obtained using KSystemLog) after running through the following method twice: 1. Restart computer. 2. Browse the web until problem occurs (about 10 to 30 minutes) 3. Save system log. Here is the hardware info from `lshw -c network`: *-network description: Wireless interface product: RTL8821AE 802.11ac PCIe Wireless Network Adapter vendor: Realtek Semiconductor Co., Ltd. physical id: 0 bus info: pci@0000:03:00.0 logical name: wlp3s0 version: 00 serial: 6e:77:8e:04:bf:fb width: 64 bits clock: 33MHz capabilities: bus_master cap_list ethernet physical wireless configuration: broadcast=yes driver=rtl8821ae driverversion=4.10.0-19-generic firmware=N/A ip=192.168.0.4 latency=0 link=yes multicast=yes wireless=IEEE 802.11 resources: irq:50 ioport:3000(size=256) memory:b2000000-b2003fff Here is my full answers to the questions asked in https://wiki.ubuntu.com/Kernel/LinuxWireless: Q: What is the full computer model number (ex. HP G32-301TX Notebook PC)? A: ASUSPRO P2520LA https://www.asus.com/au/Commercial-Notebooks/ASUSPRO-P2520LA/overview/ Q: If you update your BIOS to the newest version following the guide here, does this change anything? A: No Regarding your wireless Access Point (AP): Q: 3a. What is the current AP manufacturer, full model, revision, and firmware version? A: Board ID: F@ST3864V2 Symmetric CPU Threads: 2 HardWare Version: 253561846 Serial Number: N7161262J001520 Mac Address: 88:a6:c6:8b:b5:72 Build Timestamp: 160325_1801 Software Version: 8.353.1_F@ST5350_Optus Bootloader (CFE) Version: 8.337 DSL PHY and Driver Version: A2pv6F039p.d26b Wireless Driver Version: 6.37.14.4803.cpe4.14L04.0-kdb Voice Service Version: Voice Manufacturer: Sagecom Q: 3b. If you update the AP to the latest firmware does it change anything? A: No Q: 3c. What wireless connection type are you using (802.11ac, 802.11n 150/300, 802.11g, etc.)? A: I think 802.11n given that "802.11n/EWC" option in router is set to "Auto". 3d. If you switch to a different wireless type (802.11g or 802.11n if you are using 802.11g) does this change anything? A: Yes. The problem is solved when "802.11n/EWC" is set to "Disabled". Q: 3e. What channel specifically are you using when this problem is reproducible? A: It doesn't seem to depend on the channel but the router commonly chooses channel 6 and 11. Q: 3f. In order to understand the wireless environment your AP is working in, please provide the output of the following terminal command: sudo iw dev wlan0 scan | grep -i "ds parameter set" A: DS Parameter set: channel 11 DS Parameter set: channel 11 DS Parameter set: channel 1 DS Parameter set: channel 1 DS Parameter set: channel 11 DS Parameter set: channel 1 Q: 3g. What encryption type are you using (ex. WEP, WPA2-PSK, etc.)? A: WPA2-PSK Q: 3h. If you change and remove encryption entirely does this change anything? A: I don't think so. I can repeat my testing if certainty is required on this one. Q: 3i. Do you have QoS (Quality of Service)/WMM (Wi-Fi Multimedia) enabled? A: Yes (It is set to "Auto"). Q: 3j. If you disable/enable QoS/WMM does it change anything? A: No. Q: 3k. What is the current beacon interval (usually default is 100)? A: 100 Q: 3l. If you adjust this to 50 does it change anything? A: I didn't test this one. Q: 3m. Does your AP have a firewall enabled? A: A typical home router NAT setup. Firewall for inbound, no firewall for outbound. Q: 3n. If you enable/disable the firewall does it change anything? A: I didn't test this one. Q: 3o. What frequency are you using (2.4GHz, 5GHz, etc.)? A: 2.4GHz Q: 3p. If you change frequency does it change anything? A: I only have 2.4GHz available. I didn't test changing channels. Q: Does another wireless device tested with the AP have the same problem as the hardware you initially reported with? A: No other device has problems (Other devices are windows and android systems). There are no other linux systems in the household. Q: What is the distance of the wireless device from the AP? A: 5 meters Q: What is the number and type of obstructions between your device and the AP? A: A corner (brick wall) Q: 6a. If you bring the device close to the AP and eliminate obstructions, does this change anything? A: I don't think so. Q: Does the issue occur with different APs? A: I didn't test this. I could test this if needed. Q: Is it a regression (i.e. did the problem happen in a prior Ubuntu release)? If so, what release specifically did it last work with? If you do not know, could you please test for this in the earliest release of Ubuntu that is supported as per Ubuntu Releases? A: There is no problem when using Ubuntu 16.10 or 16.04. Q: Could you please test upstream's compat-wireless backports via https://wiki.ubuntu.com/Kernel/LinuxWireless#Compat-wireless_from_upstream? Please mention in your report the specific version you tested. A: I haven't done this. I will have to learn how to install a kernel without the repo. I can do this if this is important. I did try to install the newest RTL8821AE driver from https://github.com/lwfinger/rtlwifi_new using the method described in https://medium.com/@elmaxx/rtl8821ae-wifi-drivers-in-ubuntu-16-04-4c1286524afa. Q: If the above backport did work, does this problem occur in the newest mainline kernel following https://wiki.ubuntu.com/Kernel/MainlineBuilds? Please mention what specific version of the mainline kernel you tested with in your report. Q: If the mainline works, does either the development release or the Ubuntu provided stable compat-wireless backport work following https://wiki.ubuntu.com/Kernel/LinuxWireless#Compat- wireless_in_Ubuntu? Please mention in your report the specific version you tested. Only for Realtek wireless chipsets: Q: 13a. Does disabling the firmware power management change anything? This may be done via a terminal: sudo nano /etc/modprobe.d/DRIVER.conf options DRIVER ips=0 fwlps=0 where DRIVER is the kernel driver in use for your card found by executing at a terminal: lspci -v A: I did try turning off power management via the NetworkManager. If needed I can repeat using this method as well. Q: 13b. Does the upstream proprietary Realtek driver downloaded from http://www.realtek.com.tw work? Please mention what specific version of the drivers you tested with in your report. If it doesn't work, please contact the card vendor, for example ASUS (not Realtek), file a case number requesting the driver be fixed, and post the case number to your report. A: I couldn't find a linux driver from Realtek for the RTL8821AE. I needed I could contact ASUS or Realtek about this. ProblemType: Bug DistroRelease: Ubuntu 17.04 Package: linux-image-4.10.0-19-generic 4.10.0-19.21 [modified: boot/vmlinuz-4.10.0-19-generic] ProcVersionSignature: Ubuntu 4.10.0-19.21-generic 4.10.8 Uname: Linux 4.10.0-19-generic x86_64 ApportVersion: 2.20.4-0ubuntu4 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC1: matt 1309 F.... pulseaudio /dev/snd/controlC0: matt 1309 F.... pulseaudio Date: Fri Apr 21 20:32:01 2017 InstallationDate: Installed on 2017-04-14 (7 days ago) InstallationMedia: Kubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412) MachineType: ASUSTeK COMPUTER INC. P552LA ProcEnviron: LANGUAGE=en_AU:en TERM=xterm-256color PATH=(custom, no user) LANG=en_AU.UTF-8 SHELL=/bin/bash ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.10.0-19-generic.efi.signed root=UUID=3b637a76-ca13-4a29-969a-e4ad7dd2abb4 ro quiet splash vt.handoff=7 PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not accessible: Permission denied No PulseAudio daemon running, or not running as session daemon. RelatedPackageVersions: linux-restricted-modules-4.10.0-19-generic N/A linux-backports-modules-4.10.0-19-generic N/A linux-firmware 1.164 SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 05/11/2016 dmi.bios.vendor: ASUSTeK COMPUTER INC. dmi.bios.version: P552LA.207 dmi.board.asset.tag: ATN12345678901234567 dmi.board.name: P552LA dmi.board.vendor: ASUSTeK COMPUTER INC. dmi.board.version: 1.0 dmi.chassis.asset.tag: No Asset Tag dmi.chassis.type: 10 dmi.chassis.vendor: ASUSTeK COMPUTER INC. dmi.chassis.version: 1.0 dmi.modalias: dmi:bvnASUSTeKCOMPUTERINC.:bvrP552LA.207:bd05/11/2016:svnASUSTeKCOMPUTERINC.:pnP552LA:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnP552LA:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0: dmi.product.name: P552LA dmi.product.version: 1.0 dmi.sys.vendor: ASUSTeK COMPUTER INC. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1685190/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp