Rtl8812au: "airmon-ng start" Causes System To Hang With No Obvious Logs Or Errors

Created on 28 Jan 2020  路  1Comment  路  Source: aircrack-ng/rtl8812au

Using a new AC1200 in combination with this driver, and airmon-ng start causes my system to hang with no obvious logs or errors. Despite running sudo airmon-ng check kill immediately before running airmon-ng start, and not having any active network processes, I occasionally get a message like please run "rfkill unblock 2" to use this interface when attempting to start the interface.

Unfortunately the moment I run airmon-ng start attempting to launch another terminal process to run this command fails, so I'll have to have another terminal window open (note, I'm also unable to create a new terminal tab as this process hangs), and running sudo rkill unblock 2 does not help.

Install Method

To install, I followed the dkms instructions

System Specs

/etc/lsb_release

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=19.10
DISTRIB_CODENAME=eoan
DISTRIB_DESCRIPTION="Pop!_OS 19.10"

uname -a

Linux dark 5.3.0-7625-generic #27~1576774560~19.10~f432cd8-Ubuntu SMP Thu Dec 19 20:35:37 UTC  x86_64 x86_64 x86_64 GNU/Linux

Logs

airmon-ng start logs:

$ sudo airmon-ng start wlx00c0caaa5340


PHY     Interface       Driver          Chipset

phy0    wlp2s0          iwlwifi         Intel Corporation Wireless 8265 / 8275 (rev 78)
phy1    wlx00c0caaa5340 88XXau          Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac 2T2R DB WLAN Adapter
        wlx00c0caaa5340 is soft blocked, please run "rfkill unblock 2" to use this interface.
rfkill error, unable to start wlx00c0caaa5340

Would you like to try and automatically resolve this? [y/n] y
Interface wlx00c0caaa5340mon is too long for linux so it will be renamed to the old style (wlan#) name.

                (mac80211 monitor mode vif enabled on [phy1]wlan0mon
````

syslog logs:

[ 33.872307] rfkill: input handler disabled
[ 42.755879] iwlwifi 0000:02:00.0: Applying debug destination EXTERNAL_DRAM
[ 42.888488] iwlwifi 0000:02:00.0: Applying debug destination EXTERNAL_DRAM
[ 42.953703] iwlwifi 0000:02:00.0: FW already configured (0) - re-configuring
[ 42.972816] iwlwifi 0000:02:00.0: BIOS contains WGDS but no WRDS
[ 43.383341] [phydm_la_set_buff_mode] Warning!
[ 47.026473] wlp2s0: authenticate with ...
[ 47.035802] wlp2s0: send auth to... (try 1/3)
[ 47.041249] wlp2s0: authenticated
[ 47.049083] wlp2s0: associate with... (try 1/3)
[ 47.051994] wlp2s0: RX AssocResp from... (capab=0x1511 status=0 aid=77)
[ 47.053985] wlp2s0: associated
[ 47.056319] wlp2s0: Limiting TX power to 30 (30 - 0) dBm as advertised by ...
[ 47.214754] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready
[ 47.894139] IPv6: ADDRCONF(NETDEV_CHANGE): wlx00c0caaa5340: link becomes ready
[ 123.597685] wlp2s0: deauthenticating from ... by local choice (Reason: 3=DEAUTH_LEAVING)
```

Most helpful comment

Small update, I think this might be a bug within the driver when it comes to handling very long names? I used ifconfig and iplink to rename the wlx00c0caaa5340mon interface to wlan1 and was able to get around this error.

>All comments

Small update, I think this might be a bug within the driver when it comes to handling very long names? I used ifconfig and iplink to rename the wlx00c0caaa5340mon interface to wlan1 and was able to get around this error.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

veganinside picture veganinside  路  6Comments

cristianav picture cristianav  路  7Comments

iagosrodrigues picture iagosrodrigues  路  6Comments

terencode picture terencode  路  12Comments

powderluv picture powderluv  路  16Comments