rtl8812au does not work on boot, with a few adapters (fails to bring the interface up)

Bug #1509859 reported by Jhonny Oliveira
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
rtl8812au (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

My wireless adapter does not work on boot after installing rtl8812au-dkms. However, if I unplug and re-plug it, everything works fine...

Here is my relevant dmesg:
[ 31.163834] 8812au: module verification failed: signature and/or required key missing - tainting kernel
[ 31.165121] RTL871X: module init start
[ 31.165123] RTL871X: rtl8812au v4.3.8_12175.20140902
[ 31.165124] RTL871X: build time: Oct 25 2015 18:01:45
[ 31.264542] r8169 0000:0a:00.0 enp10s0: link down
[ 31.264581] IPv6: ADDRCONF(NETDEV_UP): enp10s0: link is not ready
[ 31.384126] RTL871X: rtw_ndev_init(wlan0)
[ 31.384382] usbcore: registered new interface driver rtl8812au
[ 31.384384] RTL871X: module init ret=0
[ 31.390208] rtl8812au 1-1:1.0 enx801f02bd22fb: renamed from wlan0
[ 31.477862] cfg80211: World regulatory domain updated:
[ 31.477865] cfg80211: DFS Master region: unset
[ 31.477867] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 31.477870] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 31.477872] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 31.477873] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 31.477875] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 31.477878] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 31.477879] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 31.477881] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 31.477883] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 33.566502] usb 7-2: reset high-speed USB device number 2 using ehci-pci
[ 55.311899] usb 7-2: reset high-speed USB device number 2 using ehci-pci

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Can you paste your dmesg right after the boot (with the adapter plugged in)? lsusb -v also helps.

Then run dmesg -c, unplug, plug it again, and paste the output of dmesg again.

Revision history for this message
Jhonny Oliveira (jhonny-oliveira) wrote : Re: [Bug 1509859] Re: Edimax AC-1200 (rtl8812au) does not work on boot

Thanks for the prompt answer.
Please find all the logs in attachment.

Revision history for this message
Jhonny Oliveira (jhonny-oliveira) wrote : Re: Edimax AC-1200 (rtl8812au) does not work on boot

For some reason, maybe some updates in the meanwhile, the problem is gone.

Revision history for this message
Jhonny Oliveira (jhonny-oliveira) wrote :

Problem is back again (well, I mean, in a more persistent way). When I posted my last comment I did not know that sometimes I would still need to do the unplug, re-plug trick. Now I have to do it after every single boot...

Revision history for this message
Jhonny Oliveira (jhonny-oliveira) wrote :

By the way, I'm using Ubuntu 16.04 now.

Revision history for this message
G'kar (r0-ubuntu) wrote :

That's the same for me with Edimax AC-1200 dongle and TP-Link Archer T4UH

The only change that i noticed in dmesg after disconnect is that line :
[dim. mai 8 10:56:40 2016] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

Revision history for this message
G'kar (r0-ubuntu) wrote :
Revision history for this message
G'kar (r0-ubuntu) wrote :
Revision history for this message
G'kar (r0-ubuntu) wrote :
Changed in rtl8812au (Ubuntu):
status: New → Confirmed
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Weird that the wifi interface is actually there, and looks like the difference is that network-manager is able to see and try to connect after you unplug and plug it again.

If you get to reproduce this again, mind pasting your syslog? Want to see what network-manager is saying about your interface.

Would be nice to try restarting network-manager to see if it makes any difference as well.

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

I was able to reproduce this issue, and the problem is that wpa_supplicant is unable to bring the interface up after boot:

/var/log/syslog:
7027 May 22 23:11:17 evapro wpa_supplicant[1628]: Could not set interface wlx048d38ab601a flags (UP): Operation not permitted
7028 May 22 23:11:17 evapro wpa_supplicant[1628]: nl80211: Could not set interface 'wlx048d38ab601a' UP
7029 May 22 23:11:17 evapro wpa_supplicant[1628]: nl80211: deinit ifname=wlx048d38ab601a disabled_11b_rates=0
7030 May 22 23:11:17 evapro wpa_supplicant[1628]: Could not set interface wlx048d38ab601a flags (UP): Operation not permitted
7031 May 22 23:11:17 evapro wpa_supplicant[1628]: WEXT: Could not set interface 'wlx048d38ab601a' UP
7032 May 22 23:11:17 evapro wpa_supplicant[1628]: wlx048d38ab601a: Failed to initialize driver interface

rsalveti@evapro:~$ sudo ifconfig wlx048d38ab601a up
SIOCSIFFLAGS: Operation not permitted

Worked fine after usb unplug/plug.

summary: - Edimax AC-1200 (rtl8812au) does not work on boot
+ rtl8812au does not work on boot, with a few adapters (fails to bring the
+ interface up)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.