morrownr / 8812au-20210629 Goto Github PK
View Code? Open in Web Editor NEWLinux Driver for USB WiFi Adapters that are based on the RTL8812AU Chipset - v5.13.6
License: Other
Linux Driver for USB WiFi Adapters that are based on the RTL8812AU Chipset - v5.13.6
License: Other
hi for the linux beginners a guide for the wpa3 would be super!
Hi Nick,
I've found that the 'main' branch has some commits day by day, thanks for your effort firstly.
As there are changes day by day, I'm not sure when it's a good chance to update my local driver, so I suggest to add a stable branch, so that if there is a batch of changes you think is completed and stable, then you push to that branch. for end-users like me, then we know it's chance to update our local driver.
Trying to build this without dkms and it leads to Exec format error,
with dmesg telling me about diagreement about version of symbol
module_layout.
# make -C /lib/modules/5.15.0-corax/build M=`pwd` modules
# make
# make install
and
# make -j16 KVER=$(uname -r) KSRC=/lib/modules/$(uname -r)/build
# make install
produce the same binary (as expected)
# modprobe -vvvv 8812au
modprobe: INFO: custom logging function 0x56405dd2e650 registered
insmod /lib/modules/5.15.0-corax/kernel/drivers/net/wireless/8812au.ko rtw_drv_log_level=0 rtw_led_ctrl=1 rtw_vht_enable=1 rtw_power_mgnt=1 rtw_beamform_cap=10 rtw_dfs_region_domain=0 rtw_switch_usb_mode=2
modprobe: INFO: Failed to insert module '/lib/modules/5.15.0-corax/kernel/drivers/net/wireless/8812au.ko': Exec format error
modprobe: ERROR: could not insert '8812au': Exec format error
dmesg output:
[ 1058.824975] 8812au: disagrees about version of symbol module_layout
For the system building, kernel version is the same
# uname -r
5.15.0-corax
# modinfo 8812au.ko | grep version
version: v5.13.6-15-gc40b977e2.20210629
srcversion: 9ABE6835FA0EE1F5E12AB9E
vermagic: 5.15.0-corax SMP mod_unload modversions
parm: rtw_chip_version:int
And the compiler version is the same as the one that built the kernel
# cat /proc/version
Linux version 5.15.0-corax (root@corax) (gcc (Gentoo 11.2.0 p1) 11.2.0, GNU ld (Gentoo 2.37_p1 p0) 2.37) #4 SMP Tue Nov 2 21:31:32 EET 2021
# gcc --version
gcc (Gentoo 11.2.0 p1) 11.2.0
I was using the previous driver from https://github.com/morrownr/8812au-20210629 since months without problem, but this one doesn't work.
Linux amd64 debian unstable, kernel 5.14.17
Bus 005 Device 002: ID 2001:3318 D-Link Corp. 11ac adapter
Debug entries (debug set to 6)
$ grep RTW /var/log/syslog
Nov 11 10:02:28 www kernel: [ 8408.448888] RTW: module init start
Nov 11 10:02:28 www kernel: [ 8408.448892] RTW: rtl8812au v5.13.6-15-gc40b977e2.20210629
Nov 11 10:02:28 www kernel: [ 8408.448902] RTW: rtw_inetaddr_notifier_register
Nov 11 10:02:28 www kernel: [ 8408.448933] RTW: module init ret=0
modprobe output
$ sudo modprobe -v -v -v 8812au
modprobe: INFO: ../libkmod/libkmod.c:367 kmod_set_log_fn() custom logging function 0x55a06f801700 registered
modprobe: DEBUG: ../libkmod/libkmod-index.c:757 index_mm_open() file=/lib/modules/5.14.17/modules.dep.bin
modprobe: DEBUG: ../libkmod/libkmod-index.c:757 index_mm_open() file=/lib/modules/5.14.17/modules.alias.bin
modprobe: DEBUG: ../libkmod/libkmod-index.c:757 index_mm_open() file=/lib/modules/5.14.17/modules.symbols.bin
modprobe: DEBUG: ../libkmod/libkmod-index.c:757 index_mm_open() file=/lib/modules/5.14.17/modules.builtin.alias.bin
modprobe: DEBUG: ../libkmod/libkmod-index.c:757 index_mm_open() file=/lib/modules/5.14.17/modules.builtin.bin
modprobe: DEBUG: ../libkmod/libkmod-module.c:556 kmod_module_new_from_lookup() input alias=8812au, normalized=8812au
modprobe: DEBUG: ../libkmod/libkmod-module.c:562 kmod_module_new_from_lookup() lookup modules.dep 8812au
modprobe: DEBUG: ../libkmod/libkmod.c:597 kmod_search_moddep() use mmaped index 'modules.dep' modname=8812au
modprobe: DEBUG: ../libkmod/libkmod.c:405 kmod_pool_get_module() get module name='8812au' found=(nil)
modprobe: DEBUG: ../libkmod/libkmod.c:413 kmod_pool_add_module() add 0x55a0705dcd90 key='8812au'
modprobe: DEBUG: ../libkmod/libkmod-module.c:202 kmod_module_parse_depline() 0 dependencies for 8812au
modprobe: DEBUG: ../libkmod/libkmod-module.c:589 kmod_module_new_from_lookup() lookup 8812au=0, list=0x55a0705dcea0
modprobe: DEBUG: ../libkmod/libkmod.c:502 lookup_builtin_file() use mmaped index 'modules.builtin' modname=8812au
modprobe: DEBUG: ../libkmod/libkmod-module.c:1760 kmod_module_get_initstate() could not open '/sys/module/8812au/initstate': No such file or directory
modprobe: DEBUG: ../libkmod/libkmod-module.c:1770 kmod_module_get_initstate() could not open '/sys/module/8812au': No such file or directory
modprobe: DEBUG: ../libkmod/libkmod-module.c:1404 kmod_module_get_options() modname=8812au mod->name=8812au mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1409 kmod_module_get_options() passed = modname=8812au mod->name=8812au mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1404 kmod_module_get_options() modname=88XXau mod->name=8812au mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1404 kmod_module_get_options() modname=88XXau mod->name=8812au mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1404 kmod_module_get_options() modname=snd_pcsp mod->name=8812au mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1404 kmod_module_get_options() modname=snd_usb_audio mod->name=8812au mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1404 kmod_module_get_options() modname=cx88_alsa mod->name=8812au mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1404 kmod_module_get_options() modname=snd_atiixp_modem mod->name=8812au mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1404 kmod_module_get_options() modname=snd_intel8x0m mod->name=8812au mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1404 kmod_module_get_options() modname=snd_via82xx_modem mod->name=8812au mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1404 kmod_module_get_options() modname=bonding mod->name=8812au mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1404 kmod_module_get_options() modname=dummy mod->name=8812au mod->alias=(null)
modprobe: DEBUG: ../libkmod/libkmod-module.c:1760 kmod_module_get_initstate() could not open '/sys/module/8812au/initstate': No such file or directory
modprobe: DEBUG: ../libkmod/libkmod-module.c:1770 kmod_module_get_initstate() could not open '/sys/module/8812au': No such file or directory
modprobe: DEBUG: ../libkmod/libkmod-module.c:750 kmod_module_get_path() name='8812au' path='/lib/modules/5.14.17/updates/dkms/8812au.ko'
modprobe: DEBUG: ../libkmod/libkmod-module.c:750 kmod_module_get_path() name='8812au' path='/lib/modules/5.14.17/updates/dkms/8812au.ko'
insmod /lib/modules/5.14.17/updates/dkms/8812au.ko rtw_drv_log_level=6 rtw_led_ctrl=1 rtw_vht_enable=1 rtw_power_mgnt=1
modprobe: DEBUG: ../libkmod/libkmod-module.c:750 kmod_module_get_path() name='8812au' path='/lib/modules/5.14.17/updates/dkms/8812au.ko'
modprobe: DEBUG: ../libkmod/libkmod-module.c:468 kmod_module_unref() kmod_module 0x55a0705dcd90 released
modprobe: DEBUG: ../libkmod/libkmod.c:421 kmod_pool_del_module() del 0x55a0705dcd90 key='8812au'
modprobe: INFO: ../libkmod/libkmod.c:334 kmod_unref() context 0x55a0705dc480 released
I am using PopOS currently, I am unable to connect to 5GHz wifi, it repeatedly asks for password & never connects.
The Edimax AC600 USB adapter (EW-7811UAC) does not appear to be supported by this driver though it is working with the aircrack-ng version.
USB ID 7392:a812
Edimax has a driver released on their website https://www.edimax.com/edimax/download/download/data/edimax/us/download/wireless_adapters_ac600_dual-band/ew-7811uac
**Hello first of all thank you for all your efforts messing around with realteks messy drivers 📦
I'm having some issues with my AWUS036ACH (who doesn't) :P
Sometimes i've been able to put it into monitor mode other times i have not been able to. But the biggest issue for me right now is that i cannot connect to any networks with it? I can see networks so its obviously able to scan but i've never been able to connect with it.**
Linux kali 5.14.0-kali4-amd64 #1 SMP Debian 5.14.16-1kali1 (2021-11-05) x86_64 GNU/Linux
Bus 001 Device 002: ID 0bda:8812 Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac 2T2R DB WLAN Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
rtl8812au/5.13.6, 5.14.0-kali4-amd64, x86_64: installed
phy#0
Interface wlan0
ifindex 3
wdev 0x1
addr 00:c0:ca:aa:59:fa
type managed
txpower -100.00 dBm
RTW: ERROR HalPwrSeqCmdParsing: Fail to polling Offset[0x6]=00
RTW: ERROR _InitPowerOn_8812AU: run power on flow fail
RTW: ERROR rtw_hal_init: fail
RTW: nolinked power save leave
RTW: ERROR HalPwrSeqCmdParsing: Fail to polling Offset[0x6]=00
RTW: ERROR _InitPowerOn_8812AU: run power on flow fail
RTW: ERROR rtw_hal_init: fail
RTW: nolinked power save leave
RTW: ERROR HalPwrSeqCmdParsing: Fail to polling Offset[0x6]=00
RTW: ERROR _InitPowerOn_8812AU: run power on flow fail
RTW: ERROR rtw_hal_init: fail
RTW: nolinked power save leave
RTW: ERROR HalPwrSeqCmdParsing: Fail to polling Offset[0x6]=00
RTW: ERROR _InitPowerOn_8812AU: run power on flow fail
RTW: ERROR rtw_hal_init: fail
RTW: nolinked power save leave
RTW: ERROR HalPwrSeqCmdParsing: Fail to polling Offset[0x6]=00
RTW: ERROR _InitPowerOn_8812AU: run power on flow fail
RTW: ERROR rtw_hal_init: fail
RTW: nolinked power save leave
Any idea if its possible to fix this?
Btw, i'm running the adapter on a virtualbox guest, so i guess that might be why im having these issues.
I mean just look at the txpower, -100 lmfao.
Thanks!
Dear all,
I would like to request the following device to be included:
2357:0120
TP-Link 802.11ac WLAN Adapter
Thanks in advance.
Best regards
Fresh install of Redhat 8 - I am getting following error in os_intfs.c
I tried both 8812AU and 8821AU drivers.
[root@dev1 8812au-20210629]# uname -a; mokutil --sb-state; lsusb; rfkill list all; dkms status; iw dev
Linux dev1.localdomain 4.18.0-348.7.1.el8_5.x86_64 #1 SMP Wed Dec 8 21:51:17 EST 2021 x86_64 x86_64 x86_64 GNU/Linux
EFI variables are not supported on this system
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 003: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 008 Device 002: ID 046d:c315 Logitech, Inc. Classic Keyboard 200
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 002: ID 1912:2824
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 005: ID 0bda:0811 Realtek Semiconductor Corp. Realtek 8812AU/8821AU 802.11ac WLAN Adapter [USB Wireless Dual-Band Adapter 2.4/5Ghz]
Bus 001 Device 007: ID 04e8:6863 Samsung Electronics Co., Ltd Galaxy series, misc. (tethering mode)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[root@dev1 8812au-20210629]#
Errors 1:
/root/wifi_drivers/8812au-20210629/os_dep/linux/os_intfs.c:1865:22: error: initialization of ‘u16 (*)(struct net_device *, struct sk_buff *, struct net_device , u16 ()(struct net_device *, struct sk_buff *, struct net_device ))’ {aka ‘short unsigned int ()(struct net_device *, struct sk_buff *, struct net_device , short unsigned int ()(struct net_device *, struct sk_buff *, struct net_device ))’} from incompatible pointer type ‘u16 ()(struct net_device *, struct sk_buff *, void , u16 ()(struct net_device *, struct sk_buff *, struct net_device ))’ {aka ‘short unsigned int ()(struct net_device *, struct sk_buff *, void , short unsigned int ()(struct net_device *, struct sk_buff *, struct net_device *))’} [-Werror=incompatible-pointer-types]
.ndo_select_queue = rtw_select_queue,
^~~~~~~~~~~~~~~~
/root/wifi_drivers/8812au-20210629/os_dep/linux/os_intfs.c:1865:22: note: (near initialization for ‘rtw_netdev_ops.ndo_select_queue’)
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:316: /root/wifi_drivers/8812au-20210629/os_dep/linux/os_intfs.o] Error 1
make[1]: *** [Makefile:1571: module/root/wifi_drivers/8812au-20210629] Error 2
make[1]: Leaving directory '/usr/src/kernels/4.18.0-348.7.1.el8_5.x86_64'
make: *** [Makefile:2508: modules] Error 2
After editing Makefile with
USER_EXTRA_CFLAGS=-Wno-error=incompatible-pointer-types
I get following Error:
Error2:
CC [M] /root/wifi_drivers/8812au-20210629/os_dep/linux/ioctl_cfg80211.o
/root/wifi_drivers/8812au-20210629/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_ch_switch_notify’:
/root/wifi_drivers/8812au-20210629/os_dep/linux/ioctl_cfg80211.c:469:3: error: too few arguments to function ‘cfg80211_ch_switch_started_notify’
cfg80211_ch_switch_started_notify(adapter->pnetdev, &chdef, 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/wifi_drivers/8812au-20210629/include/osdep_service_linux.h:98,
from /root/wifi_drivers/8812au-20210629/include/osdep_service.h:54,
from /root/wifi_drivers/8812au-20210629/include/drv_types.h:27,
from /root/wifi_drivers/8812au-20210629/os_dep/linux/ioctl_cfg80211.c:17:
./include/net/cfg80211.h:7673:6: note: declared here
void cfg80211_ch_switch_started_notify(struct net_device dev,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/wifi_drivers/8812au-20210629/os_dep/linux/ioctl_cfg80211.c: At top level:
/root/wifi_drivers/8812au-20210629/os_dep/linux/ioctl_cfg80211.c:10477:3: error: ‘struct cfg80211_ops’ has no member named ‘mgmt_frame_register’
.mgmt_frame_register = cfg80211_rtw_mgmt_frame_register,
^~~~~~~~~~~~~~~~~~~
/root/wifi_drivers/8812au-20210629/os_dep/linux/ioctl_cfg80211.c:10477:25: warning: initialization of ‘int ()(struct wiphy *, struct wireless_dev , u64)’ {aka ‘int ()(struct wiphy *, struct wireless_dev , long long unsigned int)’} from incompatible pointer type ‘void ()(struct wiphy *, struct wireless_dev , u16, bool)’ {aka ‘void ()(struct wiphy *, struct wireless_dev *, short unsigned int, _Bool)’} [-Wincompatible-pointer-types]
.mgmt_frame_register = cfg80211_rtw_mgmt_frame_register,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/wifi_drivers/8812au-20210629/os_dep/linux/ioctl_cfg80211.c:10477:25: note: (near initialization for ‘rtw_cfg80211_ops.mgmt_tx_cancel_wait’)
make[2]: *** [scripts/Makefile.build:316: /root/wifi_drivers/8812au-20210629/os_dep/linux/ioctl_cfg80211.o] Error 1
make[1]: *** [Makefile:1571: module/root/wifi_drivers/8812au-20210629] Error 2
make[1]: Leaving directory '/usr/src/kernels/4.18.0-348.7.1.el8_5.x86_64'
make: *** [Makefile:2508: modules] Error 2
The model device (DWA-171-A1) is not working.
Could you include?
ID 2001: 3314 D-Link Corp. DWA-171 AC600 DB Wireless Adapter (rev.A1) [Realtek RTL8811AU]
https://www.dlink.com.br/produto/adaptador-wireless-usb-ac600-dwa-171/
Hello,
I don´t know if this issue really depends on the driver, but every time I edit my hostapd, save the file and reboot - my entries (channel, ssid...) are gone and replaced with the default ones.
Is there a solution or what I´m doing wrong?
Thank you.
Hi,
I'm using 2 nvidia tx2 boards for wireless module. After installing rtl8812au driver, I checked normal wifi connection is no problem. But in ad-hoc mode the boards can't communicate each other even though they are in same essid, cell, frequency...
Is this a known issue?
Thanks a lot.
Hi,
I've watching the following message in the system logs randomly:
"rtl8812_sreset_xmit_status_check tx hang"
When it appears, all stations connected to the AP configured with hostapd can't communicate anymore with it. The only solution is to unload the 8812au driver, load again and restart the hostapd daemon.
I've tested all variations with this hardware:
Currently using the Raspberry Pi 2, the AWUS036ACH and the USB powered hub. The config and status is shown below:
###############################################################################
# SOFTWARE
###############################################################################
cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
#######################################
cat /etc/debian_version
10.11
#######################################
uname -a
Linux rpiap 5.10.63-v7+ #1459 SMP Wed Oct 6 16:41:10 BST 2021 armv7l GNU/Linux
###############################################################################
# HARDWARE
###############################################################################
lsusb -t
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/5p, 480M
|__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=smsc95xx, 480M
|__ Port 3: Dev 4, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 4: Dev 5, If 0, Class=Vendor Specific Class, Driver=rtl8812au, 480M
###############################################################################
# DRIVER
###############################################################################
dkms status
8812au, 5.6.4.2_35491.20191025, 5.10.63+, armv7l: installed
8812au, 5.6.4.2_35491.20191025, 5.10.63-v7+, armv7l: installed
8812au, 5.6.4.2_35491.20191025, 5.10.63-v7l+, armv7l: installed
rtl8812au, 5.13.6, 5.10.63-v7+, armv7l: installed
#######################################
modinfo 8812au
filename: /lib/modules/5.10.63-v7+/kernel/drivers/net/wireless/8812au.ko
version: v5.13.6-15-gc40b977e2.20210629
author: Realtek Semiconductor Corp.
description: Realtek Wireless Lan Driver
license: GPL
srcversion: 9ABE6835FA0EE1F5E12AB9E
alias: usb:v2604p0012d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v148Fp9097d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v050Dp1109d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0411p025Dd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v20F4p805Bd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2357p010Fd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2357p010Ed*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2357p010Dd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2357p0103d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2357p0101d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v13B1p003Fd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0846p9051d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2001p3316d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2001p3315d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v07B8p8812d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2019pAB30d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v1740p0100d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v1058p0632d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2001p3313d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0586p3426d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0E66p0022d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0B05p17D2d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0409p0408d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0789p016Ed*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v04BBp0952d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0DF6p0074d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v7392pA822d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2001p330Ed*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v050Dp1106d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0BDAp881Cd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0BDAp881Bd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0BDAp881Ad*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0BDAp8812d*dc*dsc*dp*ic*isc*ip*in*
depends: cfg80211
name: 8812au
vermagic: 5.10.63-v7+ SMP mod_unload modversions ARMv7 p2v8
parm: rtw_wireless_mode:int
parm: rtw_ips_mode:The default IPS mode (int)
parm: rtw_lps_level:The default LPS level (int)
parm: rtw_lps_chk_by_tp:int
parm: rtw_max_bss_cnt:int
parm: rtw_usb_rxagg_mode:int
parm: rtw_dynamic_agg_enable:int
parm: rtw_drv_log_level:set log level when insert driver module, default log level is _DRV_INFO_ = 4 (uint)
parm: rtw_tx_aclt_flags:device TX AC queue packet lifetime control flags (uint)
parm: rtw_tx_aclt_conf_default:device TX AC queue lifetime config for default status (array of uint)
parm: rtw_tx_aclt_conf_ap_m2u:device TX AC queue lifetime config for AP mode M2U status (array of uint)
parm: rtw_tx_bw_mode:The max tx bw for 2.4G and 5G. format is the same as rtw_bw_mode (uint)
parm: rtw_rx_ampdu_sz_limit_1ss:RX AMPDU size limit for 1SS link of each BW, 0xFF: no limitation (array of uint)
parm: rtw_rx_ampdu_sz_limit_2ss:RX AMPDU size limit for 2SS link of each BW, 0xFF: no limitation (array of uint)
parm: rtw_rx_ampdu_sz_limit_3ss:RX AMPDU size limit for 3SS link of each BW, 0xFF: no limitation (array of uint)
parm: rtw_rx_ampdu_sz_limit_4ss:RX AMPDU size limit for 4SS link of each BW, 0xFF: no limitation (array of uint)
parm: rtw_stbc_cap:int
parm: rtw_vht_enable:int
parm: rtw_vht_24g_enable:int
parm: rtw_vht_rx_mcs_map:VHT RX MCS map (uint)
parm: rtw_trx_path_bmp:int
parm: rtw_tx_path_lmt:int
parm: rtw_rx_path_lmt:int
parm: rtw_tx_nss:int
parm: rtw_rx_nss:int
parm: rtw_country_code:The default country code (in alpha2) (charp)
parm: rtw_channel_plan:The default chplan ID when rtw_alpha2 is not specified or valid (int)
parm: rtw_excl_chs:exclusive channel array (array of uint)
parm: rtw_pci_dynamic_aspm_linkctrl:int
parm: rtw_qos_opt_enable:int
parm: ifname:The default name to allocate for first interface (charp)
parm: if2name:The default name to allocate for second interface (charp)
parm: rtw_ap_src_b2u_flags:int
parm: rtw_ap_fwd_b2u_flags:int
parm: rtw_wowlan_sta_mix_mode:int
parm: rtw_pwrtrim_enable:int
parm: rtw_initmac:charp
parm: rtw_chip_version:int
parm: rtw_rfintfs:int
parm: rtw_lbkmode:int
parm: rtw_network_mode:int
parm: rtw_channel:int
parm: rtw_mp_mode:int
parm: rtw_wmm_enable:int
parm: rtw_vrtl_carrier_sense:int
parm: rtw_vcs_type:int
parm: rtw_busy_thresh:int
parm: rtw_ht_enable:int
parm: rtw_bw_mode:int
parm: rtw_ampdu_enable:int
parm: rtw_rx_stbc:int
parm: rtw_rx_ampdu_amsdu:int
parm: rtw_tx_ampdu_amsdu:int
parm: rtw_quick_addba_req:int
parm: rtw_beamform_cap:int
parm: rtw_power_mgnt:int
parm: rtw_smart_ps:int
parm: rtw_low_power:int
parm: rtw_wifi_spec:int
parm: rtw_full_ch_in_p2p_handshake:int
parm: rtw_antdiv_cfg:int
parm: rtw_antdiv_type:int
parm: rtw_drv_ant_band_switch:int
parm: rtw_single_ant_path:int
parm: rtw_switch_usb_mode:int
parm: rtw_enusbss:int
parm: rtw_hwpdn_mode:int
parm: rtw_hwpwrp_detect:int
parm: rtw_hw_wps_pbc:int
parm: rtw_check_hw_status:int
parm: rtw_led_ctrl:Led Control: 0=Always off, 1=Normal blink, 2=Always on (int)
parm: rtw_max_roaming_times:The max roaming times to try (uint)
parm: rtw_notch_filter:0:Disable, 1:Enable, 2:Enable only for P2P (uint)
parm: rtw_hiq_filter:0:allow all, 1:allow special, 2:deny all (uint)
parm: rtw_adaptivity_en:0:disable, 1:enable, 2:auto (uint)
parm: rtw_adaptivity_mode:0:normal, 1:carrier sense (uint)
parm: rtw_adaptivity_th_l2h_ini:th_l2h_ini for Adaptivity (int)
parm: rtw_adaptivity_th_edcca_hl_diff:th_edcca_hl_diff for Adaptivity (int)
parm: rtw_dfs_region_domain:0:NONE, 1:FCC, 2:MKK, 3:ETSI (uint)
parm: rtw_amsdu_mode:0:non-spp, 1:spp, 2:all drop (uint)
parm: rtw_amplifier_type_2g:BIT3:2G ext-PA, BIT4:2G ext-LNA (uint)
parm: rtw_amplifier_type_5g:BIT6:5G ext-PA, BIT7:5G ext-LNA (uint)
parm: rtw_RFE_type:default init value:64 (uint)
parm: rtw_powertracking_type:default init value:64 (uint)
parm: rtw_GLNA_type:default init value:0 (uint)
parm: rtw_TxBBSwing_2G:default init value:0xFF (uint)
parm: rtw_TxBBSwing_5G:default init value:0xFF (uint)
parm: rtw_OffEfuseMask:default open Efuse Mask value:0 (uint)
parm: rtw_FileMaskEfuse:default drv Mask Efuse value:0 (uint)
parm: rtw_rxgain_offset_2g:default RF Gain 2G Offset value:0 (uint)
parm: rtw_rxgain_offset_5gl:default RF Gain 5GL Offset value:0 (uint)
parm: rtw_rxgain_offset_5gh:uint
parm: rtw_rxgain_offset_5gm:default RF Gain 5GM Offset value:0 (uint)
parm: rtw_pll_ref_clk_sel:force pll_ref_clk_sel, 0xF:use autoload value (uint)
parm: rtw_tx_pwr_by_rate:0:Disable, 1:Enable, 2: Depend on efuse (int)
parm: rtw_tx_pwr_lmt_enable:0:Disable, 1:Enable, 2: Depend on efuse (int)
parm: rtw_target_tx_pwr_2g_a:2.4G target tx power (unit:dBm) of RF path A for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm: rtw_target_tx_pwr_2g_b:2.4G target tx power (unit:dBm) of RF path B for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm: rtw_target_tx_pwr_2g_c:2.4G target tx power (unit:dBm) of RF path C for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm: rtw_target_tx_pwr_2g_d:2.4G target tx power (unit:dBm) of RF path D for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm: rtw_target_tx_pwr_5g_a:5G target tx power (unit:dBm) of RF path A for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm: rtw_target_tx_pwr_5g_b:5G target tx power (unit:dBm) of RF path B for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm: rtw_target_tx_pwr_5g_c:5G target tx power (unit:dBm) of RF path C for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm: rtw_target_tx_pwr_5g_d:5G target tx power (unit:dBm) of RF path D for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm: rtw_antenna_gain:Antenna gain in mBi. 0x7FFF: unspecifed (int)
parm: rtw_tsf_update_pause_factor:num of bcn intervals to stay TSF update pause status (int)
parm: rtw_tsf_update_restore_factor:num of bcn intervals to stay TSF update restore status (int)
parm: rtw_phy_file_path:The path of phy parameter (charp)
parm: rtw_load_phy_file:PHY File Bit Map (int)
parm: rtw_decrypt_phy_file:Enable Decrypt PHY File (int)
parm: rtw_recvbuf_nr:Preallocated number of struct recv_buf (int)
parm: rtw_phydm_ability:uint
parm: rtw_halrf_ability:uint
parm: rtw_en_napi:int
parm: rtw_en_gro:int
parm: rtw_iqk_fw_offload:int
parm: rtw_ch_switch_offload:int
parm: rtw_en_dyn_rrsr:int
parm: rtw_rrsr_value:int
parm: rtw_scan_interval_thr:Threshold used to judge if scan request comes from scan UI, unit is ms. (uint)
#######################################
lsmod | grep 8812au
8812au 2142208 0
cfg80211 761856 2 8812au,88XXau
#######################################
grep "[[:alnum:]]" /sys/module/8812au/parameters/*
/sys/module/8812au/parameters/if2name:wlan%d
/sys/module/8812au/parameters/ifname:wlan%d
/sys/module/8812au/parameters/rtw_adaptivity_en:0
/sys/module/8812au/parameters/rtw_adaptivity_mode:0
/sys/module/8812au/parameters/rtw_adaptivity_th_edcca_hl_diff:0
/sys/module/8812au/parameters/rtw_adaptivity_th_l2h_ini:0
/sys/module/8812au/parameters/rtw_ampdu_enable:1
/sys/module/8812au/parameters/rtw_amplifier_type_2g:0
/sys/module/8812au/parameters/rtw_amplifier_type_5g:0
/sys/module/8812au/parameters/rtw_amsdu_mode:0
/sys/module/8812au/parameters/rtw_antdiv_cfg:2
/sys/module/8812au/parameters/rtw_antdiv_type:0
/sys/module/8812au/parameters/rtw_antenna_gain:32767
/sys/module/8812au/parameters/rtw_ap_fwd_b2u_flags:8
/sys/module/8812au/parameters/rtw_ap_src_b2u_flags:8
/sys/module/8812au/parameters/rtw_beamform_cap:1
/sys/module/8812au/parameters/rtw_busy_thresh:40
/sys/module/8812au/parameters/rtw_bw_mode:33
/sys/module/8812au/parameters/rtw_channel:1
/sys/module/8812au/parameters/rtw_channel_plan:255
/sys/module/8812au/parameters/rtw_check_hw_status:0
/sys/module/8812au/parameters/rtw_chip_version:0
/sys/module/8812au/parameters/rtw_ch_switch_offload:0
/sys/module/8812au/parameters/rtw_decrypt_phy_file:0
/sys/module/8812au/parameters/rtw_dfs_region_domain:0
/sys/module/8812au/parameters/rtw_drv_ant_band_switch:1
/sys/module/8812au/parameters/rtw_drv_log_level:4
/sys/module/8812au/parameters/rtw_dynamic_agg_enable:1
/sys/module/8812au/parameters/rtw_en_dyn_rrsr:1
/sys/module/8812au/parameters/rtw_en_gro:1
/sys/module/8812au/parameters/rtw_en_napi:1
/sys/module/8812au/parameters/rtw_enusbss:0
/sys/module/8812au/parameters/rtw_FileMaskEfuse:0
/sys/module/8812au/parameters/rtw_full_ch_in_p2p_handshake:0
/sys/module/8812au/parameters/rtw_GLNA_type:0
/sys/module/8812au/parameters/rtw_halrf_ability:4294967295
/sys/module/8812au/parameters/rtw_hiq_filter:1
/sys/module/8812au/parameters/rtw_ht_enable:1
/sys/module/8812au/parameters/rtw_hwpdn_mode:2
/sys/module/8812au/parameters/rtw_hwpwrp_detect:0
/sys/module/8812au/parameters/rtw_hw_wps_pbc:1
/sys/module/8812au/parameters/rtw_initmac:(null)
/sys/module/8812au/parameters/rtw_ips_mode:1
/sys/module/8812au/parameters/rtw_iqk_fw_offload:0
/sys/module/8812au/parameters/rtw_lbkmode:0
/sys/module/8812au/parameters/rtw_led_ctrl:0
/sys/module/8812au/parameters/rtw_load_phy_file:68
/sys/module/8812au/parameters/rtw_low_power:0
/sys/module/8812au/parameters/rtw_lps_chk_by_tp:1
/sys/module/8812au/parameters/rtw_lps_level:0
/sys/module/8812au/parameters/rtw_max_bss_cnt:0
/sys/module/8812au/parameters/rtw_max_roaming_times:2
/sys/module/8812au/parameters/rtw_mp_mode:0
/sys/module/8812au/parameters/rtw_network_mode:0
/sys/module/8812au/parameters/rtw_notch_filter:0
/sys/module/8812au/parameters/rtw_OffEfuseMask:0
/sys/module/8812au/parameters/rtw_pci_dynamic_aspm_linkctrl:0
/sys/module/8812au/parameters/rtw_phydm_ability:4294967295
/sys/module/8812au/parameters/rtw_phy_file_path:/lib/firmware/
/sys/module/8812au/parameters/rtw_pll_ref_clk_sel:15
/sys/module/8812au/parameters/rtw_power_mgnt:1
/sys/module/8812au/parameters/rtw_powertracking_type:64
/sys/module/8812au/parameters/rtw_pwrtrim_enable:0
/sys/module/8812au/parameters/rtw_qos_opt_enable:0
/sys/module/8812au/parameters/rtw_quick_addba_req:0
/sys/module/8812au/parameters/rtw_recvbuf_nr:8
/sys/module/8812au/parameters/rtw_RFE_type:64
/sys/module/8812au/parameters/rtw_rfintfs:2
/sys/module/8812au/parameters/rtw_rrsr_value:-1
/sys/module/8812au/parameters/rtw_rx_ampdu_amsdu:0
/sys/module/8812au/parameters/rtw_rxgain_offset_2g:0
/sys/module/8812au/parameters/rtw_rxgain_offset_5gh:0
/sys/module/8812au/parameters/rtw_rxgain_offset_5gl:0
/sys/module/8812au/parameters/rtw_rxgain_offset_5gm:0
/sys/module/8812au/parameters/rtw_rx_nss:0
/sys/module/8812au/parameters/rtw_rx_path_lmt:0
/sys/module/8812au/parameters/rtw_rx_stbc:3
/sys/module/8812au/parameters/rtw_scan_interval_thr:16000
/sys/module/8812au/parameters/rtw_single_ant_path:0
/sys/module/8812au/parameters/rtw_smart_ps:2
/sys/module/8812au/parameters/rtw_stbc_cap:19
/sys/module/8812au/parameters/rtw_switch_usb_mode:2
/sys/module/8812au/parameters/rtw_trx_path_bmp:0
/sys/module/8812au/parameters/rtw_tsf_update_pause_factor:200
/sys/module/8812au/parameters/rtw_tsf_update_restore_factor:5
/sys/module/8812au/parameters/rtw_tx_aclt_flags:0
/sys/module/8812au/parameters/rtw_tx_ampdu_amsdu:2
/sys/module/8812au/parameters/rtw_TxBBSwing_2G:255
/sys/module/8812au/parameters/rtw_TxBBSwing_5G:255
/sys/module/8812au/parameters/rtw_tx_bw_mode:33
/sys/module/8812au/parameters/rtw_tx_nss:0
/sys/module/8812au/parameters/rtw_tx_path_lmt:0
/sys/module/8812au/parameters/rtw_tx_pwr_by_rate:0
/sys/module/8812au/parameters/rtw_tx_pwr_lmt_enable:0
/sys/module/8812au/parameters/rtw_usb_rxagg_mode:2
/sys/module/8812au/parameters/rtw_vcs_type:1
/sys/module/8812au/parameters/rtw_vht_24g_enable:1
/sys/module/8812au/parameters/rtw_vht_enable:2
/sys/module/8812au/parameters/rtw_vht_rx_mcs_map:43690
/sys/module/8812au/parameters/rtw_vrtl_carrier_sense:2
/sys/module/8812au/parameters/rtw_wifi_spec:0
/sys/module/8812au/parameters/rtw_wireless_mode:95
/sys/module/8812au/parameters/rtw_wmm_enable:1
/sys/module/8812au/parameters/rtw_wowlan_sta_mix_mode:0
###############################################################################
# HOSTAPD
###############################################################################
cat /etc/hostapd/hostapd.conf | grep = | grep "^[^#]" | sort | uniq | sed "s/wpa_passphrase=.*/wpa_passphrase=<protected>/g"
accept_mac_file=/etc/hostapd/hostapd.accept
auth_algs=1
beacon_int=100
bridge=br0
channel=36
country_code=ZZ
ctrl_interface_group=0
ctrl_interface=/var/run/hostapd
driver=nl80211
dtim_period=2
fragm_threshold=2346
ht_capab=[HT40+][HT40-][SHORT-GI-20][SHORT-GI-40][MAX-AMSDU-7935]
hw_mode=a
ieee80211ac=1
ieee80211d=1
ieee80211n=1
ignore_broadcast_ssid=0
interface=wlan0
logger_stdout=-1
logger_stdout_level=2
logger_syslog=-1
logger_syslog_level=2
macaddr_acl=1
max_num_sta=32
rsn_pairwise=CCMP
rts_threshold=2347
ssid=U1AT3OTPX-RPI42
vht_capab=[MAX-MPDU-11454][SHORT-GI-80][TX-STBC-2BY1][RX-STBC-1][SU-BEAMFORMER][SOUNDING-DIMENSION-2][HTC-VHT][MAX-A-MPDU-EXP7]
vht_oper_centr_freq_seg0_idx=42
vht_oper_chwidth=1
wmm_enabled=1
wpa=2
wpa_key_mgmt=WPA-PSK
wpa_passphrase=<protected>
#######################################
hostapd -v
hostapd v2.8-devel
User space daemon for IEEE 802.11 AP management,
IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
Copyright (c) 2002-2019, Jouni Malinen <[email protected]> and contributors
#######################################
hostapd_cli status
Selected interface 'wlan0'
state=ENABLED
phy=phy0
freq=5180
num_sta_non_erp=0
num_sta_no_short_slot_time=0
num_sta_no_short_preamble=0
olbc=0
num_sta_ht_no_gf=0
num_sta_no_ht=0
num_sta_ht_20_mhz=0
num_sta_ht40_intolerant=0
olbc_ht=0
ht_op_mode=0x0
cac_time_seconds=0
cac_time_left_seconds=N/A
channel=36
secondary_channel=1
ieee80211n=1
ieee80211ac=1
beacon_int=100
dtim_period=2
vht_oper_chwidth=1
vht_oper_centr_freq_seg0_idx=42
vht_oper_centr_freq_seg1_idx=0
vht_caps_info=004109a2
rx_vht_mcs_map=fffa
tx_vht_mcs_map=fffa
ht_caps_info=086e
ht_mcs_bitmask=ffff0000000000000000
supported_rates=0c 12 18 24 30 48 60 6c
max_txpower=33
bss[0]=wlan0
bssid[0]=00:c0:ca:af:f4:97
ssid[0]=U1AT3OTPX-RPI42
num_sta[0]=1
#######################################
hostapd_cli list_sta
Selected interface 'wlan0'
a4:93:3f:8e:4a:58
###############################################################################
# NETWORKING
###############################################################################
ifconfig br0 && ifconfig wlan0
br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.16 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::e3cf:8f85:1706:cd1e prefixlen 64 scopeid 0x20<link>
ether 00:c0:ca:af:f4:97 txqueuelen 1000 (Ethernet)
RX packets 25553 bytes 1452023 (1.3 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 22141 bytes 28577975 (27.2 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::2c0:caff:feaf:f497 prefixlen 64 scopeid 0x20<link>
ether 00:c0:ca:af:f4:97 txqueuelen 1000 (Ethernet)
RX packets 2161 bytes 234473 (228.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 13988 bytes 8739383 (8.3 MiB)
TX errors 0 dropped 11052 overruns 0 carrier 0 collisions 0
#######################################
ip address show br0 && ip address show wlan0
3: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 00:c0:ca:af:f4:97 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.16/24 brd 192.168.1.255 scope global noprefixroute br0
valid_lft forever preferred_lft forever
inet6 fe80::e3cf:8f85:1706:cd1e/64 scope link
valid_lft forever preferred_lft forever
4: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br0 state UP group default qlen 1000
link/ether 00:c0:ca:af:f4:97 brd ff:ff:ff:ff:ff:ff
inet6 fe80::2c0:caff:feaf:f497/64 scope link
valid_lft forever preferred_lft forever
######################################
ip route show
default via 192.168.1.1 dev br0 src 192.168.1.16 metric 203
192.168.1.0/24 dev br0 proto dhcp scope link src 192.168.1.16 metric 203
#######################################
sysctl net.ipv4.ip_forward && sysctl net.ipv4.conf.all.proxy_arp && sysctl net.ipv6.conf.all.forwarding
net.ipv4.ip_forward = 1
net.ipv4.conf.all.proxy_arp = 0
net.ipv6.conf.all.forwarding = 0
#######################################
cat /sys/devices/virtual/net/br0/lower_wlan0/brport/hairpin_mode
0
#######################################
###############################################################################
# IW IWCONFIG
###############################################################################
iwconfig wlan0
wlan0 IEEE 802.11AC ESSID:"U1AT3OTPX-RPI42" Nickname:"WIFI@RTL8812AU"
Mode:Master Frequency:5.18 GHz Access Point: 00:C0:CA:AF:F4:97
Bit Rate:867 Mb/s Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=12/100 Signal level=8/100 Noise level=0/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
#######################################
iw dev
phy#0
Interface wlan0
ifindex 4
wdev 0x1
addr 00:c0:ca:af:f4:97
ssid U1AT3OTPX-RPI42
type AP
channel 36 (5180 MHz), width: 80 MHz, center1: 5210 MHz
txpower 31.00 dBm
#######################################
iw phy phy0 info
Wiphy phy0
max # scan SSIDs: 9
max scan IEs length: 2304 bytes
max # sched scan SSIDs: 0
max # match sets: 0
Retry short limit: 7
Retry long limit: 4
Coverage class: 0 (up to 0m)
Supported Ciphers:
* WEP40 (00-0f-ac:1)
* WEP104 (00-0f-ac:5)
* TKIP (00-0f-ac:2)
* CCMP-128 (00-0f-ac:4)
* CMAC (00-0f-ac:6)
Available Antennas: TX 0 RX 0
Supported interface modes:
* IBSS
* managed
* AP
* monitor
* P2P-client
* P2P-GO
Band 1:
Capabilities: 0x1962
HT20/HT40
Static SM Power Save
RX HT20 SGI
RX HT40 SGI
RX STBC 1-stream
Max AMSDU length: 7935 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 16 usec (0x07)
HT Max RX data rate: 300 Mbps
HT TX/RX MCS rate indexes supported: 0-15
Bitrates (non-HT):
* 1.0 Mbps
* 2.0 Mbps
* 5.5 Mbps
* 11.0 Mbps
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
Frequencies:
* 2412 MHz [1] (17.0 dBm)
* 2417 MHz [2] (17.0 dBm)
* 2422 MHz [3] (17.0 dBm)
* 2427 MHz [4] (17.0 dBm)
* 2432 MHz [5] (17.0 dBm)
* 2437 MHz [6] (17.0 dBm)
* 2442 MHz [7] (17.0 dBm)
* 2447 MHz [8] (17.0 dBm)
* 2452 MHz [9] (17.0 dBm)
* 2457 MHz [10] (17.0 dBm)
* 2462 MHz [11] (17.0 dBm)
* 2467 MHz [12] (17.0 dBm) (no IR)
* 2472 MHz [13] (17.0 dBm) (no IR)
* 2484 MHz [14] (disabled)
Band 2:
Capabilities: 0x962
HT20/HT40
Static SM Power Save
RX HT20 SGI
RX HT40 SGI
RX STBC 1-stream
Max AMSDU length: 7935 bytes
No DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 16 usec (0x07)
HT Max RX data rate: 300 Mbps
HT TX/RX MCS rate indexes supported: 0-15
VHT Capabilities (0x03c109a2):
Max MPDU length: 11454
Supported Channel Width: neither 160 nor 80+80
short GI (80 MHz)
TX STBC
SU Beamformer
+HTC-VHT
VHT RX MCS set:
1 streams: MCS 0-9
2 streams: MCS 0-9
3 streams: not supported
4 streams: not supported
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
VHT RX highest supported: 867 Mbps
VHT TX MCS set:
1 streams: MCS 0-9
2 streams: MCS 0-9
3 streams: not supported
4 streams: not supported
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
VHT TX highest supported: 867 Mbps
Bitrates (non-HT):
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
Frequencies:
* 5180 MHz [36] (15.0 dBm)
* 5200 MHz [40] (15.0 dBm)
* 5220 MHz [44] (15.0 dBm)
* 5240 MHz [48] (15.0 dBm)
* 5260 MHz [52] (15.0 dBm) (radar detection)
* 5280 MHz [56] (15.0 dBm) (radar detection)
* 5300 MHz [60] (15.0 dBm) (radar detection)
* 5320 MHz [64] (15.0 dBm) (radar detection)
* 5500 MHz [100] (15.0 dBm) (radar detection)
* 5520 MHz [104] (15.0 dBm) (radar detection)
* 5540 MHz [108] (15.0 dBm) (radar detection)
* 5560 MHz [112] (15.0 dBm) (radar detection)
* 5580 MHz [116] (15.0 dBm) (radar detection)
* 5600 MHz [120] (15.0 dBm) (radar detection)
* 5620 MHz [124] (15.0 dBm) (radar detection)
* 5640 MHz [128] (15.0 dBm) (radar detection)
* 5660 MHz [132] (15.0 dBm) (radar detection)
* 5680 MHz [136] (15.0 dBm) (radar detection)
* 5700 MHz [140] (15.0 dBm) (radar detection)
* 5720 MHz [144] (disabled)
* 5745 MHz [149] (15.0 dBm)
* 5765 MHz [153] (15.0 dBm)
* 5785 MHz [157] (15.0 dBm)
* 5805 MHz [161] (15.0 dBm)
* 5825 MHz [165] (15.0 dBm)
* 5845 MHz [169] (disabled)
* 5865 MHz [173] (disabled)
* 5885 MHz [177] (disabled)
Supported commands:
* new_interface
* set_interface
* new_key
* start_ap
* new_station
* set_bss
* join_ibss
* set_pmksa
* del_pmksa
* flush_pmksa
* remain_on_channel
* frame
* set_channel
* connect
* disconnect
WoWLAN support:
* wake up on anything (device continues operating normally)
software interface modes (can always be added):
* monitor
interface combinations are not supported
Device supports SAE with AUTHENTICATE command
Device supports scan flush.
max # scan plans: 1
max scan plan interval: -1
max scan plan iterations: 0
Supported TX frame types:
* IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
Supported RX frame types:
* IBSS: 0xd0
* managed: 0x40 0xb0 0xd0
* AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* P2P-client: 0x40 0xd0
* P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
Supported extended features:
To sort this problem I've created a systemctl service which watchs for changes in /var/log/syslog and checks the last minute in journalctl to reload the driver and restart the hostapd :-) (and it works... but...)
NIck, thank you so much in advance :-)
Hello, I've recently got an USB device with a rtl8812au chip, ID 0bda:8812. It's working fine using this driver on a fresh Ubuntu 21.10 and for channels 36, 40, 44 and 48. But as the ISP-preconfigured wireless routers from three of my neighbours span 80MHz-networks over this frequency range, it's a bit crowded.
Using an Ubuntu 20.04 with kernel 5.4, I was able to use Gordboys driver: https://github.com/gordboy/rtl8812au-5.9.3.2
With his driver and the option rtw_country_code=DE (compare to gordboy/rtl8812au-5.9.3.2#18 ), I can connect to my DFS-capable access point on the upper channels, tested with channels 52 and 100. So I know my hardware is able to do this.
As Gordboy is not maintaining his repository anymore, I'd very much appreciate if you could find the time to get the upper channels usable with your driver, too. Maybe one could salvage some code that deals with the correct region setting from Gordboy's driver?
(As I am not a native english speaker, I hope my text is understandable.)
Thank you for all your efforts so far!
(Edit: Amended typing error)
hi i still would like to activate wpa3 on my awus036ach i did the steps in the wpa_supplicant txt file but how do i active wpa3 then? the tutorial is not there anymore :S
I am not a professional security analyst and could use the help of those who are more familiar with Kali Linux, Parrot, Aircrack-ng, Wireshark and other operating systems and tools that support security analysis to test this driver and report.
One of the complaints over the years has been the stability of the drivers for the 8812au chipset. Well, this driver is VERY VERY stable. Managed and master modes operate without known bugs at this point so I will give priority to working on monitor mode but I need feedback. I need testers.
Regards,
Nick
Greetings
It has been a couple of weeks since this new driver was opened to the public. The number of visitors has steadily increased with 98 hits in one day earlier this week. Testing continues...
Managed mode (aka: client) thoughts
This driver is faster in managed mode than the previous version. Here is the result of an extended session with iperf3:
Bitrate : 455 Mbits/sec Retr : 0
I never saw results like this with the old version. Generally I was lucky to get 400 Mb/s in nearly perfect conditions. I have tested everything I can think of and all I can say at this point is there are no known bugs in managed mode. This driver is fast and very stable.
Master mode (aka: AP) thoughts
DFS channel support is working well. I have been testing with hostapd and a RasPi4B. I have tested many things. This driver has been extremely stable for me. There is a document called Bridged_Wireless_Access_Point.md in the repo and if you are interested in AP mode, it should provide a lot of information. It is possible, with minor modifications to also support Wireless Router and Repeater setups.
Monitor mode thoughts
I have added a document called Monitor_Mode.md that provides help with monitor mode and I have provided a script to start and test monitor mode. The script is called start-mon.sh
. This script helps with entering monitor mode and it allows you to change settings in a question and answer manner. It even allows you to scan and test injection functionality among other things. This script is needed because I had to deal with numerous questions about how to do various things with the last version of this driver. There are also some workarounds for issues. The real issue is that Realtek does not follow the "book" in how everything works in monitor mode like the drivers for Mediatek/Ralink and Atheros based adapters do. Anyone that wants to help improve the script should contact me. Help is welcome. Overall, scanning, capture, injection, deauth and everything I thought to test is working well and is stable.
Documentation and installation
With help from others, the documentation and installation has been improved. There is always room for improvement so if anyone wants to help in this area, let me know. There is one thing I need to make clear and that is that not everything can be supported. This driver takes a LOT of work and many OS's are tested and supported, not all of the MANY OS's and various configurations can be supported.
One big NOTE for those that used to use very old versions of the 8812au driver: The very old 8812au drivers had support for the 8811au chipset. That is not the case in this day in time. This driver ONLY supports the 8812au chipset. Not to worry as there is also a new driver for the 8811au (8821au) chipset... but this is not it. This is...
https://github.com/morrownr/8821au-20210708
Thanks for using the driver.
Regards,
Nick
@Matheus-Garbelini
All,
I have continued testing this new driver. I've got to say that this and the new 8811au driver (8821au) are the best out-of-kernel USB WiFi drivers I've ever seen. I knew from comparing the code of the previous version to this version that a lot of new code was in this driver.
Managed mode is faster. Here is an iperf3 result:
[ 5] 40.00-41.00 sec 57.5 MBytes 482 Mbits/sec 0 1.89 MBytes
[ 5] 41.00-42.00 sec 55.0 MBytes 461 Mbits/sec 0 1.89 MBytes
[ 5] 42.00-43.00 sec 60.0 MBytes 503 Mbits/sec 0 1.89 MBytes
[ 5] 43.00-44.00 sec 58.8 MBytes 493 Mbits/sec 0 1.89 MBytes
[ 5] 44.00-45.00 sec 57.5 MBytes 482 Mbits/sec 0 1.89 MBytes
[ 5] 45.00-46.00 sec 58.8 MBytes 493 Mbits/sec 0 1.89 MBytes
Master mode seems to just work.
Monitor mode has been surprising in that I have not had to make any code additions or changes.
That is not to say that things are perfect because some things just work different than what we would expect which is why I added the Monitor_Mode.md document and the start-mon.sh script to help test and set things up. But the bottom line is that this driver appears to be VERY stable. That lack of stability has historically been an issue with older versions of this driver.
I think we can move into maintenance mode and look to fix and upgrade various issues that come up.
Enjoy.
Hello, I have installed the driver with a clean and new installation of ubuntu, but it does not work, any suggestion?
thanks
Linux peter-B85M-D3H 5.13.0-37-generic #42~20.04.1-Ubuntu SMP Tue Mar 15 15:44:28 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
SecureBoot disabled
Platform is in Setup Mode
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 006: ID 18f8:0f97 [Maxxter] USB OPTICAL MOUSE
Bus 003 Device 008: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter
Bus 003 Device 005: ID 048d:1366 Integrated Technology Express, Inc. MultiCard Device
Bus 003 Device 004: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 003 Device 003: ID 2357:011e TP-Link 802.11ac WLAN Adapter
Bus 003 Device 002: ID 0c45:7603 Microdia USB Keyboard
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
0: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
rtl8812au, 5.13.6, 5.13.0-37-generic, x86_64: installed
rtl88x2bu, 5.8.7.1, 5.13.0-37-generic, x86_64: installed
phy#0
Interface wlx000db002de98
ifindex 3
wdev 0x1
addr ****
ssid ****
type managed
channel 1 (2412 MHz), width: 20 MHz, center1: 2412 MHz
txpower 20.00 dBm
PC Specs
System:
Kernel: 5.13.0-37-generic x86_64 bits: 64 compiler: N/A
Desktop: Gnome 3.36.9 Distro: Ubuntu 20.04.4 LTS (Focal Fossa)
Machine:
Type: Desktop Mobo: Gigabyte model: B85M-D3H v: x.x serial:
UEFI: American Megatrends v: F14 date: 09/19/2014
CPU:
Topology: Quad Core model: Intel Core i7-4790 bits: 64 type: MT MCP
arch: Haswell rev: 3 L2 cache: 8192 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
bogomips: 57464
Speed: 998 MHz min/max: 800/4000 MHz Core speeds (MHz): 1: 998 2: 1106
3: 1016 4: 1098 5: 1050 6: 1148 7: 1097 8: 1096
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Gigabyte driver: r8169
Device-2: TP-Link 802.11ac WLAN Adapter type: USB driver: usb-network
bus ID: 3-4:3
Device-3: Ralink RT2870/RT3070 Wireless Adapter type: USB
driver: rt2800usb bus ID: 3-8:8
acquired with inxi
The Archer T600 Plus has the rtl8812au chipset
https://www.tp-link.com/en/home-networking/high-gain-adapter/archer-t600u-plus/
It's Vendor:Device-ID is 2357:0120
Thanks for adding.
When reporting problems, remember that the people that will attempt to help you do not know what Linux distro you are using and that can be very important to know. Painting a picture that includes the distro you are using and a brief description of the problem is important.
Checklist regarding what to include in your report:
install-driver.sh
script.sudo lsusb; rfkill list all; dkms status; iw dev; iw reg get
Note: With the previous version of this driver and with the other Realtek drivers maintained at this site, many of the reported problems have to do with installations in VM's. If you are installing to a VM, and you have a problem, the chances are extremely high that the problem is with the setup in the VM, not this driver. Please investigate the problem first with the maker of the VM. Our time is valuable. Please help us maintain this driver by directing VM problems to the VM makers. I have maintained this driver for a few years and I have yet to see a problem reported for a VM installation that turns out to be a problem with this driver.
Thank you and enjoy
Hello everyone,
As you can see from the numerous reports by people that have adapters based on the 8811au and 8821au chipsets, it seems that it is not clear that this repo does not support those chipsets. Let me try to clear things up:
This repo ONLY supports adapters with the 8812au chipset (AC1200). Period.
You should check in the file supported-device-IDs
here before installing this driver unless you are sure your adapter uses a 8812au chipset. If you do not see your device ID in supported-device-IDs
then check the same file in the following repo:
https://github.com/morrownr/8821au-20210708
The above repo supports the 8811au and 8821au chipsets (AC600).
I realize this can be somewhat confusing and I do my best to help but the confusion was caused by Realtek. Realtek has unnecessarily released a lot of different USB WiFi chipsets that all require different drivers. Realtek has a long history of doing this type of thing. It is just one more thing that makes using Realtek based adapters a challenge... which is why I recommend buying adapters with Mediatek chipsets:
Hello,
I installed the driver on Fedora 35 workstation kernel 5.16.7-200.fc35.x86_64 and the driver isn't working.
I am using the Alfa AC1200.
The driver works on my Raspberry PI.
I'm not sure what I should do from here and support would be appreciated.
I thank you for your patience. Artic LXqt openRC Linux 5.18.0-artix1-1
sudo uname -a; mokutil --sb-state; lsusb; rfkill list all; dkms status; iw dev
Linux 5.18.0-artix1-1 #1 SMP PREEMPT_DYNAMIC Thu, 26 May 2022 13:26:58 +0000 x86_64 GNU/Linux
bash: mokutil: command not found
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 009 Device 004: ID 13fe:5500 Kingston Technology Company Inc. Flash drive
Bus 009 Device 003: ID 0781:5583 SanDisk Corp. Ultra Fit
Bus 009 Device 002: ID 2109:0817 VIA Labs, Inc. USB3.0 Hub
Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 008 Device 005: ID 0bda:8812 Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac 2T2R DB WLAN Adapter
^, right?
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
2: phy1: Wireless LAN
Soft blocked: no
Hard blocked: no
rtl8812au/5.13.6, 5.18.0-artix1-1, x86_64: installed
phy#1
Interface wlan1
ifindex 7
wdev 0x100000002
addr 9a:20:5c:d8:f1:1f
type managed
txpower -100.00 dBm
Interface wlan0
ifindex 6
wdev 0x100000001
addr 52:1c:c7:53:0a:35
type managed
txpower -100.00 dBm
has wan interface, right?
lsmod
Module Size Used by
tun 61440 2
rfcomm 94208 4
snd_seq_dummy 16384 0
snd_hrtimer 16384 1
snd_seq 94208 7 snd_seq_dummy
snd_seq_device 16384 1 snd_seq
fuse 176128 6
qrtr 57344 4
cmac 16384 2
algif_hash 16384 1
algif_skcipher 16384 1
af_alg 36864 6 algif_hash,algif_skcipher
bnep 32768 2
edac_mce_amd 57344 0
kvm_amd 167936 0
ccp 131072 1 kvm_amd
rng_core 20480 1 ccp
kvm 1118208 1 kvm_amd
irqbypass 16384 1 kvm
vfat 24576 3
fat 90112 1 vfat
amdgpu 8941568 30
crct10dif_pclmul 16384 1
snd_hda_codec_realtek 167936 1
crc32_pclmul 16384 0
snd_hda_codec_generic 98304 1 snd_hda_codec_realtek
btusb 65536 0
snd_hda_codec_hdmi 86016 1
ledtrig_audio 16384 1 snd_hda_codec_generic
ghash_clmulni_intel 16384 0
btrtl 28672 1 btusb
btbcm 20480 1 btusb
8812au 3039232 0
mxm_wmi 16384 0
snd_hda_intel 61440 4
btintel 49152 1 btusb
snd_intel_dspcfg 36864 1 snd_hda_intel
aesni_intel 380928 3
btmtk 16384 1 btusb
snd_intel_sdw_acpi 20480 1 snd_intel_dspcfg
crypto_simd 16384 1 aesni_intel
snd_hda_codec 184320 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
cryptd 28672 3 crypto_simd,ghash_clmulni_intel
joydev 28672 0
r8169 106496 0
bluetooth 872448 36 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
k10temp 16384 0
snd_hda_core 118784 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
mousedev 24576 0
fam15h_power 16384 0
pcspkr 16384 0
realtek 36864 1
mdio_devres 16384 1 r8169
cfg80211 1085440 1 8812au
snd_hwdep 16384 1 snd_hda_codec
libphy 172032 3 r8169,mdio_devres,realtek
sp5100_tco 20480 0
snd_pcm 172032 5 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
ecdh_generic 16384 1 bluetooth
i2c_piix4 36864 0
rfkill 36864 5 bluetooth,cfg80211
snd_timer 49152 3 snd_seq,snd_hrtimer,snd_pcm
gpu_sched 53248 1 amdgpu
drm_ttm_helper 16384 1 amdgpu
snd 126976 19 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm
ttm 86016 2 amdgpu,drm_ttm_helper
soundcore 16384 1 snd
drm_dp_helper 167936 1 amdgpu
mac_hid 16384 0
wmi 45056 1 mxm_wmi
acpi_cpufreq 32768 0
crypto_user 24576 0
ext4 1011712 3
crc32c_generic 16384 0
crc16 16384 2 bluetooth,ext4
mbcache 16384 1 ext4
jbd2 192512 1 ext4
uas 32768 0
usb_storage 81920 5 uas
hid_elecom 16384 0
crc32c_intel 24576 6
xhci_pci 20480 0
usbhid 73728 0
xhci_pci_renesas 24576 1 xhci_pci
I thank you for your time.
Request that you test and report any problems. Specific bugs should be reported by opening a new issue. Discussion can go here.
Nick
Hello,
Sorry to bother again. Have waited some months before reporting. But the build still breaks with kernel 5.17. Seems to be small flaw, though.
So, below the log, hoping it will be a small effort this time to fix the error.
sudo uname -a; mokutil --sb-state; lsusb; /usr/sbin/rfkill list all; /usr/sbin/dkms status; /sbin/iw dev
Linux Groargh 5.17.0 #1 SMP PREEMPT Tue Mar 22 14:39:44 CET 2022 x86_64 GNU/Linux
EFI variables are not supported on this system
Bus 003 Device 004: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 003 Device 003: ID 04a9:190a Canon, Inc. CanoScan LiDE 210
Bus 003 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 003: ID 7392:a822 Edimax Technology Co., Ltd 802.11n NIC
Bus 005 Device 002: ID 145f:0203 Trust Trust USB Camera
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 0b33:0402 Contour Design, Inc. RollerMouse Free 2
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
rtl8812au/5.13.6: added
DKMS make.log for rtl8812au-5.13.6 for kernel 5.17.0 (x86_64)
Wed 20 Apr 2022 15:33:12 CEST
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.17.0/build M=/var/lib/dkms/rtl8812au/5.13.6/build modules
make[1]: Entering directory '/usr/src/linux-headers-5.17.0'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (Debian 11.2.0-18) 11.2.0
You are using: gcc (Debian 11.2.0-20) 11.2.0
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_cmd.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_security.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_io.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_debug.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_ioctl_query.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_ioctl_set.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_ieee80211.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_mlme.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_mlme_ext.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_mi.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_wlan_util.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_vht.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_pwrctrl.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_rf.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_chplan.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/monitor/rtw_radiotap.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_recv.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_sta_mgt.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_ap.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/wds/rtw_wds.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/mesh/rtw_mesh.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/mesh/rtw_mesh_pathtbl.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/mesh/rtw_mesh_hwmp.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_xmit.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_p2p.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_rson.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_tdls.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_br_ext.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_iol.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_sreset.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_btcoex_wifionly.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_btcoex.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_beamforming.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_odm.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_rm.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_rm_fsm.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_ft.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_wnm.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_mbo.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_rm_util.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/efuse/rtw_efuse.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_roch.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/crypto/aes-internal.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/crypto/aes-internal-enc.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/crypto/aes-gcm.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/crypto/aes-ccm.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/crypto/aes-omac1.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/crypto/ccmp.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/crypto/gcmp.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/crypto/aes-siv.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/crypto/aes-ctr.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/crypto/sha256-internal.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/crypto/sha256.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/crypto/sha256-prf.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/crypto/rtw_crypto_wrap.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_swcrypto.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/os_dep/osdep_service.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/os_dep/linux/os_intfs.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/os_dep/linux/usb_intf.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/os_dep/linux/usb_ops_linux.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/os_dep/linux/ioctl_linux.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/os_dep/linux/xmit_linux.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/os_dep/linux/mlme_linux.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/os_dep/linux/recv_linux.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/os_dep/linux/ioctl_cfg80211.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/os_dep/linux/rtw_cfgvendor.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/os_dep/linux/wifi_regd.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/os_dep/linux/rtw_android.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/os_dep/linux/rtw_proc.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/os_dep/linux/nlrtw.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/os_dep/linux/rtw_rhashtable.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/hal/hal_intf.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/hal/hal_com.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/hal/hal_com_phycfg.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/hal/hal_phy.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/hal/hal_dm.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/hal/hal_dm_acs.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/hal/hal_btcoex_wifionly.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/hal/hal_btcoex.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/hal/hal_mp.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/hal/hal_mcc.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/hal/hal_hci/hal_usb.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/hal/led/hal_led.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/hal/led/hal_usb_led.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/hal/HalPwrSeqCmd.o
/var/lib/dkms/rtl8812au/5.13.6/build/hal/hal_hci/hal_usb.c: In function ‘usb_init_recv_priv’:
/var/lib/dkms/rtl8812au/5.13.6/build/hal/hal_hci/hal_usb.c:29:22: error: cast between incompatible function types from ‘void ()(void )’ to ‘void ()(long unsigned int)’ [-Werror=cast-function-type]
29 | (void()(unsigned long))usb_recv_tasklet,
| ^
cc1: all warnings being treated as errors
make[2]: *** [scripts/Makefile.build:288: /var/lib/dkms/rtl8812au/5.13.6/build/hal/hal_hci/hal_usb.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:1831: /var/lib/dkms/rtl8812au/5.13.6/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.17.0'
make: *** [Makefile:2514: modules] Error 2
I've got an HP Z230 desktop which ran an earlier version of this driver under Ubuntu 18 without problems. I upgraded to Ubuntu 20, and now I cannot get the latest driver version to work. I even bought a new dongle, the AWUS036ACS was was claimed to be tested and compatible. The transcript below seems to show that installation worked without problems. I did "sudo bash ./install_driver.sh" and got a success message. I include the other requested output below. The device is showing up with lsusb
. I would appreciate any suggestions as to what to try next.
Running install-driver.sh version 20220108
Ubuntu 20.04.3 LTS
5.4.0-97-generic
x86_64
Starting installation...
Copying source files to: /usr/src/rtl8812au-5.13.6
Copying 8812au.conf to: /etc/modprobe.d
Creating symlink /var/lib/dkms/rtl8812au/5.13.6/source ->
/usr/src/rtl8812au-5.13.6
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
'make' -j8 KVER=5.4.0-97-generic KSRC=/lib/modules/5.4.0-97-generic/build...........
Signing module:
- /var/lib/dkms/rtl8812au/5.13.6/5.4.0-97-generic/x86_64/module/8812au.ko
Secure Boot not enabled on this system.
cleaning build area...
DKMS: build completed.
8812au.ko:
Running module version sanity check.
Good news! Module version v5.13.6-15-gc40b977e2.20210629 for 8812au.ko
exactly matches what is already found in kernel 5.4.0-97-generic.
DKMS will not replace this module.
You may override by specifying --force.
DKMS: install completed.
The driver was installed successfully.
Do you want to edit the driver options file now? [y/N] y
Do you want to reboot now? (recommended) [y/N] N
Z230:~/Downloads/8812au-20210629-main> sudo uname -a; mokutil --sb-state; lsusb; rfkill list all; dkms status; iw dev
Linux home-z230 5.4.0-97-generic #110-Ubuntu SMP Thu Jan 13 18:22:13 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
SecureBoot disabled
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 0bda:0301 Realtek Semiconductor Corp. multicard reader
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 018: ID 0bda:0811 Realtek Semiconductor Corp. 802.11ac WLAN Adapter
Bus 003 Device 003: ID 04f3:0210 Elan Microelectronics Corp. Optical Mouse
Bus 003 Device 002: ID 03f0:0024 HP, Inc KU-0316 Keyboard
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
rtl8812au, 5.13.6, 5.4.0-97-generic, x86_64: installed (WARNING! Diff between built and installed module!)
Z230:~/Downloads/8812au-20210629-main> iwconfig
lo no wireless extensions.
eno1 no wireless extensions.
I can sometimes work these out and create a patch myself if it's straightforward.
This one I dont understand. Have you tested? Is there a patch on the way?
Here's what I get:
/var/lib/dkms/8812au/1.0/build/os_dep/osdep_service.c: In function ‘thread_exit’: /var/lib/dkms/8812au/1.0/build/os_dep/osdep_service.c:1312:9: error: implicit declaration of function ‘complete_and_exit’ [-Werror=implicit-function-declaration] 1312 | complete_and_exit(comp, 0); | ^~~~~~~~~~~~~~~~~ /var/lib/dkms/8812au/1.0/build/os_dep/linux/os_intfs.c: In function ‘rtw_net_set_mac_address’: /var/lib/dkms/8812au/1.0/build/os_dep/linux/os_intfs.c:1624:28: warning: passing argument 1 of ‘_rtw_memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1624 | _rtw_memcpy(pnetdev->dev_addr, sa->sa_data, ETH_ALEN); /* set mac addr to net_device */ | ~~~~~~~^~~~~~~~~~ In file included from /var/lib/dkms/8812au/1.0/build/include/drv_types.h:27, from /var/lib/dkms/8812au/1.0/build/os_dep/linux/os_intfs.c:17: /var/lib/dkms/8812au/1.0/build/include/osdep_service.h:313:35: note: expected ‘void *’ but argument is of type ‘const unsigned char *’ 313 | extern void _rtw_memcpy(void *dec, const void *sour, u32 sz); | ~~~~~~^~~ /var/lib/dkms/8812au/1.0/build/os_dep/linux/os_intfs.c: In function ‘rtw_os_ndev_register’: /var/lib/dkms/8812au/1.0/build/os_dep/linux/os_intfs.c:2160:25: warning: passing argument 1 of ‘_rtw_memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2160 | _rtw_memcpy(ndev->dev_addr, adapter_mac_addr(adapter), ETH_ALEN); | ~~~~^~~~~~~~~~ In file included from /var/lib/dkms/8812au/1.0/build/include/drv_types.h:27, from /var/lib/dkms/8812au/1.0/build/os_dep/linux/os_intfs.c:17: /var/lib/dkms/8812au/1.0/build/include/osdep_service.h:313:35: note: expected ‘void *’ but argument is of type ‘const unsigned char *’ 313 | extern void _rtw_memcpy(void *dec, const void *sour, u32 sz); | ~~~~~~^~~ CC [M] /var/lib/dkms/8812au/1.0/build/os_dep/linux/rtw_android.o cc1: some warnings being treated as errors make[2]: *** [/usr/src/linux-5.17.0-rc1-2.g8751a94/scripts/Makefile.build:289: /var/lib/dkms/8812au/1.0/build/os_dep/osdep_service.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [../../../linux-5.17.0-rc1-2.g8751a94/Makefile:1845: /var/lib/dkms/8812au/1.0/build] Error 2 make[1]: Leaving directory '/usr/src/linux-5.17.0-rc1-2.g8751a94-obj/x86_64/default' make: *** [Makefile:2486: modules] Error 2
It compiled and loaded but does not show up in ip a
The output if that command at the top of the README is:
root@Optiplex-380:~# sudo uname -a; mokutil --sb-state; lsusb; rfkill list all; dkms status; iw dev
Linux Optiplex-380 5.10.0-10-amd64 #1 SMP Debian 5.10.84-1 (2021-12-08) x86_64 GNU/Linux
EFI variables are not supported on this system
Bus 005 Device 005: ID 0bda:0811 Realtek Semiconductor Corp. Realtek 8812AU/8821AU 802.11ac WLAN Adapter [USB Wireless Dual-Band Adapter 2.4/5Ghz]
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 005: ID 093a:2532 Pixart Imaging, Inc. Gaming Mouse
Bus 003 Device 004: ID 1a2c:417c China Resource Semico Co., Ltd USB Keyboard
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
rtl8812au/5.13.6, 5.10.0-10-amd64, x86_64: installed
And the output of an ip a
is:
root@Optiplex-380:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether b8:ac:6f:35:bd:98 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.25/24 brd 192.168.0.255 scope global enp2s0
valid_lft forever preferred_lft forever
inet6 fe80::baac:6fff:fe35:bd98/64 scope link
valid_lft forever preferred_lft forever
Not sure what this is about, but this seems like it could be an issue, considering the UNCLAIMED
root@Optiplex-380:~# lshw
...
*-usb UNCLAIMED
description: Generic USB device
product: 802.11ac WLAN Adapter
vendor: Realtek
physical id: 7
bus info: usb@5:7
version: 2.00
serial: 00e04c000001
capabilities: usb-2.10
configuration: maxpower=500mA speed=480Mbit/s
Also a couple of things that I thought might be useful:
root@Optiplex-380:~# lspci
00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
00:01.0 PCI bridge: Intel Corporation 4 Series Chipset PCI Express Root Port (rev 03)
00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 1 (rev 01)
00:1d.0 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 (rev 01)
00:1d.1 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 (rev 01)
00:1d.2 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 (rev 01)
00:1d.3 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 (rev 01)
00:1d.7 USB controller: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation NM10/ICH7 Family SATA Controller [IDE mode] (rev 01)
00:1f.3 SMBus: Intel Corporation NM10/ICH7 Family SMBus Controller (rev 01)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV740 PRO [Radeon HD 4770]
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] RV710/730 HDMI Audio [Radeon HD 4000 series]
02:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetLink BCM57780 Gigabit Ethernet PCIe (rev 01)
root@Optiplex-380:~# apt list --installed | grep "wlan"
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
root@Optiplex-380:~# apt list --installed | grep "ip"
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
bzip2/testing,unstable,now 1.0.8-5 amd64 [installed]
ghostscript/testing,unstable,now 9.55.0~dfsg-3 amd64 [installed,automatic]
gzip/stable,testing,unstable,now 1.10-4 amd64 [installed]
iproute2/testing,unstable,now 5.16.0-2 amd64 [installed]
iptables/stable,testing,unstable,now 1.8.7-1 amd64 [installed,automatic]
iputils-ping/testing,unstable,now 3:20211215-1 amd64 [installed]
libcairo-script-interpreter2/stable,testing,unstable,now 1.16.0-5 amd64 [installed,automatic]
libip4tc2/stable,testing,unstable,now 1.8.7-1 amd64 [installed]
libip6tc2/stable,testing,unstable,now 1.8.7-1 amd64 [installed,automatic]
libipc-system-simple-perl/stable,testing,unstable,now 1.30-1 all [installed,automatic]
libpipeline1/testing,unstable,now 1.5.5-1 amd64 [installed,automatic]
libpipewire-0.3-0/testing,unstable,now 0.3.48-1 amd64 [installed,automatic]
libpipewire-0.3-common/testing,unstable,now 0.3.48-1 all [installed,automatic]
libpipewire-0.3-modules/testing,unstable,now 0.3.48-1 amd64 [installed,automatic]
libqt5qmlworkerscript5/testing,unstable,now 5.15.2+dfsg-10 amd64 [installed,automatic]
pipewire-bin/testing,unstable,now 0.3.48-1 amd64 [installed,automatic]
pipewire-media-session/testing,unstable,now 0.4.1-2 amd64 [installed,automatic]
pipewire/testing,unstable,now 0.3.48-1 amd64 [installed,automatic]
python3-pyqt5.sip/testing,unstable,now 12.9.1-1 amd64 [installed,automatic]
python3-sip/testing,unstable,now 4.19.25+dfsg-3+b1 amd64 [installed,automatic]
qlipper/stable,testing,unstable,now 1:5.1.2-1+b1 amd64 [installed]
unzip/stable,testing,unstable,now 6.0-26 amd64 [installed]
whiptail/testing,unstable,now 0.52.21-5+b1 amd64 [installed]
zip/stable,testing,unstable,now 3.0-12 amd64 [installed,automatic]
Current GUI info (aka: I don't have a network flyout on my taskbar):
Display Manager: `sddm/stable,testing,unstable,now 0.19.0-3 amd64 [installed]`
Window Manager: `twm/stable,testing,unstable,now 1:1.0.10-1 amd64 [installed]`
PC Specs:
Dell Optiplex 380
Boots with LILO and systemd
64-bit
CPU: Intel Pentium Dual-Core E5400 @ 2.70GHz
RAM: 4GB of DDR3 (2 800MHz sticks, unsure if it's running in dual-channel)
GPU: AMD/ATI Radeon HD 4770
Please help, I want to get this PC off of my desk where it is currently hooked up to my router, as that is the only way it can get internet connectivity currently.
install driver
sudo dkms status
rtl8812au/5.13.6, 5.18.5-artix1-1, x86_64: installed
update kernel
sudo dkms status
rtl8812au/5.13.6: added
rtl8812au/5.13.6.r119.gedb17ca: added
Please advise.
Hi,
I am trying this driver, after the previous one let me down: https://github.com/aircrack-ng/rtl8812au.
I have a RaspberryPi which has 5.4.0-1044-raspi Ubuntu 20.04.3 LTS and Asus ac56 WiFi dongle with RTL8812AU chipset.
I have static ip on the wlan interface: 10.0.0.8
When I set the WiFi network to any channel on the 2.4GHz band, like channel 4, RPI connects to it but I cannot ping the devices on the other side.
If I change the channel to any on the 5GHz band, the ping works. I do not change anything except the channel number on my WiFi access point.
Other devices like my phone or laptop can connect to the 2.4GHz network and I have ping. But RPi does not work.
Could you please help me if you have any clue?
These are the logs and commands (mokutil --sb-state does not work and says EFI variables are not supported on this system
):
$ sudo uname -a && lsusb && rfkill list all && dkms status && iw dev
Linux workload-client-08 5.4.0-1044-raspi #48-Ubuntu SMP PREEMPT Thu Sep 9 15:24:01 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
Bus 002 Device 002: ID 2001:4a00 D-Link Corp. D-Link DUB-1312
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0b05:17d2 ASUSTek Computer, Inc. USB-AC56 802.11a/b/g/n/ac Wireless Adapter [Realtek RTL8812AU]
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
rtl8812au, 5.13.6, 5.4.0-1044-raspi, aarch64: installed
phy#0
Interface wlan0
ifindex 3
wdev 0x1
addr f0:2f:74:63:5c:d9
ssid Wlan_New_Network_cots_4
type managed
channel 4 (2427 MHz), width: 20 MHz, center1: 2427 MHz
txpower 14.00 dBm
Test with 2.4GHz channel:
$ ip a
5: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 2312 qdisc mq state UP group default qlen 1000
link/ether f0:2f:74:63:5c:d9 brd ff:ff:ff:ff:ff:ff
inet 10.0.0.8/24 brd 10.0.0.255 scope global wlan0
valid_lft forever preferred_lft forever
inet6 fe80::f22f:74ff:fe63:5cd9/64 scope link
valid_lft forever preferred_lft forever
$ iw dev
phy#0
Interface wlan0
ifindex 5
wdev 0x100000001
addr f0:2f:74:63:5c:d9
ssid Wlan_New_Network_cots_4
type managed
channel 4 (2427 MHz), width: 20 MHz, center1: 2427 MHz
txpower 20.00 dBm
$ lshw
*-network:1
description: Wireless interface
physical id: 4
bus info: usb@1:1.3
logical name: wlan0
serial: f0:2f:74:63:5c:d9
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=rtl8812au driverversion=v5.13.6-15-gc40b977e2.20210629 firmware=52.14 ip=10.0.0.8 link=yes multicast=yes wireless=IEEE 802.11gn
>> ping 10.0.0.7
PING 10.0.0.7 (10.0.0.7) 56(84) bytes of data.
From 10.0.0.8 icmp_seq=1 Destination Host Unreachable
From 10.0.0.8 icmp_seq=2 Destination Host Unreachable
From 10.0.0.8 icmp_seq=3 Destination Host Unreachable
Test with 5GHz channel:
$ ip a
5: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 2312 qdisc mq state UP group default qlen 1000
link/ether f0:2f:74:63:5c:d9 brd ff:ff:ff:ff:ff:ff
inet 10.0.0.8/24 brd 10.0.0.255 scope global wlan0
valid_lft forever preferred_lft forever
inet6 fe80::f22f:74ff:fe63:5cd9/64 scope link
valid_lft forever preferred_lft forever
$ iw dev
phy#0
Interface wlan0
ifindex 5
wdev 0x100000001
addr f0:2f:74:63:5c:d9
ssid Wlan_New_Network_cots_36
type managed
channel 36 (5180 MHz), width: 20 MHz, center1: 5180 MHz
txpower 20.00 dBm
$ lshw
*-network:1
description: Wireless interface
physical id: 4
bus info: usb@1:1.3
logical name: wlan0
serial: f0:2f:74:63:5c:d9
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=rtl8812au driverversion=v5.13.6-15-gc40b977e2.20210629 firmware=52.14 ip=10.0.0.8 link=yes multicast=yes wireless=IEEE 802.11an
$ ping 10.0.0.7
PING 10.0.0.7 (10.0.0.7) 56(84) bytes of data.
64 bytes from 10.0.0.7: icmp_seq=1 ttl=64 time=4.03 ms
64 bytes from 10.0.0.7: icmp_seq=2 ttl=64 time=1.87 ms
64 bytes from 10.0.0.7: icmp_seq=3 ttl=64 time=2.23 ms
64 bytes from 10.0.0.7: icmp_seq=4 ttl=64 time=1.93 ms
64 bytes from 10.0.0.7: icmp_seq=5 ttl=64 time=1.90 ms
64 bytes from 10.0.0.7: icmp_seq=6 ttl=64 time=2.13 ms
I installed the driver according to the instructions and it was without any errors.
I would appreciate if anyone can fix this.
Hello,
I have an Edimax C600 USB WiFi adapter, which does not exist yet in the device ID list:
ID 7392:a812 Edimax Technology Co., Ltd Edimax AC600 USB
(Only the 7392:a822 version is currently supported.)
The device has been working well for a long time with the RTL8812AU Aircrack-NG driver (ver. 5.6.4.2). After adding the missing ID to the driver here did I notice that it was constantly randomising its MAC address, which led to the device name being randomised too (i.e. wlx_randomstuff_), making it hard to be used in scripts and hostapd.conf. The Aircrack-NG driver picks up the default hardware MAC address just fine however. I have worked around it by setting the module parameter rtw_initmac
to a fixed address. Is there a way to let it pick up the default MAC address automatically the way the Aircrack driver does it?
options 8812au rtw_drv_log_level=4 rtw_vht_enable=1 rtw_power_mgnt=0 rtw_beamform_cap=1 rtw_switch_usb_mode=2
interface=hotspot
driver=nl80211
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
country_code=US
max_num_sta=255
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
ap_max_inactivity=300
eapol_key_index_workaround=0
eap_server=0
own_ip_addr=127.0.0.1
ht_capab=[HT40+][HT40-][SHORT-GI-20][SHORT-GI-40]
#vht_capab=[MAX-MPDU-11454][SHORT-GI-80][SU-BEAMFORMER][HTC-VHT]
#vht_oper_chwidth=1
ieee80211n=1
wmm_enabled=1
wpa=2
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
hw_mode=a
channel=36
ssid=xxxx
wpa_passphrase=xxxxxxxx
[16080.360494] RTW: OnAction_back
[16080.360518] RTW: OnAction_back, action=0
[16080.361219] RTW: issue_addba_rsp_wait_ack(hotspot) ra=d4:6d:6d:fa:9b:eb status:=0 tid=0 size:64, acked, 1/3 in 0 ms
[16085.714850] RTW: OnAction_back
[16085.714870] RTW: OnAction_back, action=2
[16085.714880] RTW: OnAction_back(): DELBA: 0(0)
[16090.302208] RTW: OnAction_back
[16090.302227] RTW: OnAction_back, action=0
[16090.302889] RTW: issue_addba_rsp_wait_ack(hotspot) ra=d4:6d:6d:fa:9b:eb status:=0 tid=0 size:64, acked, 1/3 in 0 ms
[16095.784811] RTW: OnAction_back
[16095.784841] RTW: OnAction_back, action=2
[16095.784863] RTW: OnAction_back(): DELBA: 0(0)
[16100.275394] RTW: OnAction_back
[16100.275404] RTW: OnAction_back, action=0
[16100.276274] RTW: issue_addba_rsp_wait_ack(hotspot) ra=d4:6d:6d:fa:9b:eb status:=0 tid=0 size:64, acked, 1/3 in 0 ms
[16105.458923] RTW: OnAction_back
[16105.458957] RTW: OnAction_back, action=2
[16105.458974] RTW: OnAction_back(): DELBA: 0(0)
[16110.273053] RTW: OnAction_back
[16110.273072] RTW: OnAction_back, action=0
[16110.274130] RTW: issue_addba_rsp_wait_ack(hotspot) ra=d4:6d:6d:fa:9b:eb status:=0 tid=0 size:64, acked, 1/3 in 0 ms
[16116.477928] RTW: OnAction_back
[16116.477958] RTW: OnAction_back, action=2
[16116.477976] RTW: OnAction_back(): DELBA: 0(0)
[16118.583465] RTW: +OnAuth
[16118.583480] RTW: auth alg=0, seq=1
[16118.583517] RTW: issue_auth
[16118.585552] RTW: OnAssocReq
[16118.585580] RTW: OnAssocReq(hotspot) old AID=2
[16118.585598] RTW: HT: STA d4:6d:6d:fa:9b:eb HT Capabilities Info: 0x09e7
[16118.585620] RTW: bss_cap_update_on_sta_join STA d4:6d:6d:fa:9b:eb - no greenfield, num of non-gf stations 3
[16118.585642] RTW: rtw_ht_operation_update current operation mode=0x15
[16118.585655] RTW: rtw_ht_operation_update new operation mode=0x15 changes=0
[16118.585666] RTW: bss_cap_update_on_sta_join, updated=0
[16118.585677] RTW: update_sta_info_apmode
[16118.585727] RTW: issue_del_ba(hotspot) ra=d4:6d:6d:fa:9b:eb reason=37, tid=0, initiator=1
[16118.585750] RTW: ### Set STA_(3) info ###
[16118.585775] RTW: issue_asocrsp
[16118.585812] RTW: report_add_sta_event: add STA
[16118.587225] RTW: rtw_get_sta_tx_nss: 2 SS
[16118.587240] RTW: rtw_get_sta_rx_nss: 2 ss
[16118.587252] RTW: STA - MAC_ID:3, Tx - 2 SS, Rx - 2 SS
[16118.587263] RTW: STA - MAC_ID:3, SM_PS 3
[16118.587279] RTW: ht_mcs_set=ff ff 00 00, nss=1, bitmap=000000ff
[16118.587293] RTW: rtw_ap_update_sta_ra_info=> mac_id:3 , tx_ra_bitmap:0x00000000000ffff0, networkType:0x14
[16118.588462] RTW: ============ STA [d4:6d:6d:fa:9b:eb] ===================
[16118.588484] RTW: mac_id : 3
[16118.588495] RTW: wireless_mode : 0x14
[16118.588506] RTW: mimo_type : 2
[16118.588517] RTW: static smps : N
[16118.588528] RTW: bw_mode : 40MHz, ra_bw_mode : 40MHz
[16118.588538] RTW: rate_id : 4
[16118.588549] RTW: rssi : 50 (%), rssi_level : 5
[16118.588560] RTW: is_support_sgi : Y, is_vht_enable : N
[16118.588571] RTW: disable_ra : N, disable_pt : N
[16118.588582] RTW: is_noisy : Y
[16118.588592] RTW: txrx_state : 2
[16118.588603] RTW: curr_tx_rate : MCS7 (S)
[16118.588614] RTW: curr_tx_bw : CHANNEL_WIDTH_MAX
[16118.588624] RTW: curr_retry_ratio : 255
[16118.588635] RTW: ra_mask : 0x00000000000ffff0
[16118.588647] RTW: indicate_sta_assoc_event to upper layer - hostapd
[16118.588662] RTW: rtw_cfg80211_indicate_sta_assoc(hotspot)
[16118.588709] RTW: rtw_set_rts_bw connect_to_8812=0,enable=1
[16118.589200] RTW: cfg80211_rtw_change_station(hotspot) mac:d4:6d:6d:fa:9b:eb
[16118.589460] RTW: cfg80211_rtw_del_key(hotspot) key_index=0, addr=d4:6d:6d:fa:9b:eb
[16118.589586] RTW: cfg80211_rtw_del_key(hotspot) key_index=0, addr=d4:6d:6d:fa:9b:eb
[16118.590194] RTW: send eapol packet 1/4
[16118.593882] RTW: recv eapol packet 2/4
[16118.594269] RTW: cfg80211_rtw_get_key(hotspot) keyid=1, pairwise=0, addr=(null) ret 0
[16118.594282] RTW: cfg80211_rtw_get_key(hotspot) seq:0x1a4
[16118.594446] RTW: send eapol packet 3/4
[16118.598708] RTW: recv eapol packet 4/4
[16118.599090] RTW: cfg80211_rtw_add_key(hotspot) adding key for d4:6d:6d:fa:9b:eb
[16118.599108] RTW: cfg80211_rtw_add_key(hotspot) cipher=0xfac04
[16118.599129] RTW: cfg80211_rtw_add_key(hotspot) key_len=16, key_index=0
[16118.599143] RTW: cfg80211_rtw_add_key(hotspot) pairwise=1
[16118.599157] RTW: rtw_cfg80211_ap_set_encryption
[16118.599175] RTW: rtw_cfg80211_ap_set_encryption(hotspot) set CCMP PTK of d4:6d:6d:fa:9b:eb idx:0, len:16
[16118.599275] RTW: cfg80211_rtw_change_station(hotspot) mac:d4:6d:6d:fa:9b:eb
[16118.599534] RTW: set pairwise key camid:2, addr:d4:6d:6d:fa:9b:eb, kid:0, type:AES
[16118.686759] RTW: rtw_issue_addbareq_cmd, p=0
[16118.686910] RTW: BA_starting_seqctrl = 47 for TID=0
[16118.686930] RTW: issue_addba_req(hotspot) ra=d4:6d:6d:fa:9b:eb tid=0
[16118.688798] RTW: OnAction_back
[16118.688807] RTW: OnAction_back, action=1
[16118.688812] RTW: agg_enable for TID=0
[16120.459968] RTW: OnAction_back
[16120.459977] RTW: OnAction_back, action=0
[16120.468080] RTW: issue_addba_rsp_wait_ack(hotspot) ra=d4:6d:6d:fa:9b:eb status:=0 tid=0 size:64, acked, 1/3 in 0 ms
[16125.620854] RTW: OnAction_back
[16125.620876] RTW: OnAction_back, action=2
[16125.620887] RTW: OnAction_back(): DELBA: 0(0)
[16130.212910] RTW: OnAction_back
[16130.212927] RTW: OnAction_back, action=0
[16130.214179] RTW: issue_addba_rsp_wait_ack(hotspot) ra=d4:6d:6d:fa:9b:eb status:=0 tid=0 size:64, acked, 1/3 in 0 ms
[16136.843793] RTW: +OnAuth
[16136.843801] RTW: auth alg=0, seq=1
[16136.843818] RTW: issue_auth
[16136.853851] RTW: OnAssocReq
[16136.853872] RTW: OnAssocReq(hotspot) old AID=2
[16136.853881] RTW: HT: STA d4:6d:6d:fa:9b:eb HT Capabilities Info: 0x09e7
[16136.853887] RTW: bss_cap_update_on_sta_join STA d4:6d:6d:fa:9b:eb - no greenfield, num of non-gf stations 3
[16136.853894] RTW: rtw_ht_operation_update current operation mode=0x15
[16136.853899] RTW: rtw_ht_operation_update new operation mode=0x15 changes=0
[16136.853904] RTW: bss_cap_update_on_sta_join, updated=0
[16136.853910] RTW: update_sta_info_apmode
[16136.853937] RTW: issue_del_ba(hotspot) ra=d4:6d:6d:fa:9b:eb reason=37, tid=0, initiator=0
[16136.853954] RTW: issue_del_ba(hotspot) ra=d4:6d:6d:fa:9b:eb reason=37, tid=0, initiator=1
[16136.853961] RTW: ### Set STA_(3) info ###
[16136.853968] RTW: issue_asocrsp
[16136.853993] RTW: report_add_sta_event: add STA
[16136.855180] RTW: rtw_get_sta_tx_nss: 2 SS
[16136.855186] RTW: rtw_get_sta_rx_nss: 2 ss
[16136.855192] RTW: STA - MAC_ID:3, Tx - 2 SS, Rx - 2 SS
[16136.855197] RTW: STA - MAC_ID:3, SM_PS 3
[16136.855204] RTW: ht_mcs_set=ff ff 00 00, nss=1, bitmap=000000ff
[16136.855211] RTW: rtw_ap_update_sta_ra_info=> mac_id:3 , tx_ra_bitmap:0x00000000000ffff0, networkType:0x14
[16136.856310] RTW: ============ STA [d4:6d:6d:fa:9b:eb] ===================
[16136.856316] RTW: mac_id : 3
[16136.856322] RTW: wireless_mode : 0x14
[16136.856327] RTW: mimo_type : 2
[16136.856332] RTW: static smps : N
[16136.856337] RTW: bw_mode : 40MHz, ra_bw_mode : 40MHz
[16136.856342] RTW: rate_id : 4
[16136.856347] RTW: rssi : 51 (%), rssi_level : 5
[16136.856353] RTW: is_support_sgi : Y, is_vht_enable : N
[16136.856358] RTW: disable_ra : N, disable_pt : N
[16136.856363] RTW: is_noisy : Y
[16136.856368] RTW: txrx_state : 2
[16136.856374] RTW: curr_tx_rate : MCS7 (S)
[16136.856378] RTW: curr_tx_bw : CHANNEL_WIDTH_MAX
[16136.856383] RTW: curr_retry_ratio : 255
[16136.856388] RTW: ra_mask : 0x00000000000ffff0
[16136.856394] RTW: indicate_sta_assoc_event to upper layer - hostapd
[16136.856402] RTW: rtw_cfg80211_indicate_sta_assoc(hotspot)
[16136.856431] RTW: rtw_set_rts_bw connect_to_8812=0,enable=1
[16136.856745] RTW: cfg80211_rtw_change_station(hotspot) mac:d4:6d:6d:fa:9b:eb
[16136.856843] RTW: cfg80211_rtw_del_key(hotspot) key_index=0, addr=d4:6d:6d:fa:9b:eb
[16136.856906] RTW: cfg80211_rtw_del_key(hotspot) key_index=0, addr=d4:6d:6d:fa:9b:eb
[16136.857241] RTW: send eapol packet 1/4
[16136.859782] RTW: recv eapol packet 2/4
[16136.860255] RTW: cfg80211_rtw_get_key(hotspot) keyid=1, pairwise=0, addr=(null) ret 0
[16136.860263] RTW: cfg80211_rtw_get_key(hotspot) seq:0x1b1
[16136.860354] RTW: send eapol packet 3/4
[16136.865443] RTW: recv eapol packet 4/4
[16136.865725] RTW: cfg80211_rtw_add_key(hotspot) adding key for d4:6d:6d:fa:9b:eb
[16136.865736] RTW: cfg80211_rtw_add_key(hotspot) cipher=0xfac04
[16136.865742] RTW: cfg80211_rtw_add_key(hotspot) key_len=16, key_index=0
[16136.865747] RTW: cfg80211_rtw_add_key(hotspot) pairwise=1
[16136.865754] RTW: rtw_cfg80211_ap_set_encryption
[16136.865763] RTW: rtw_cfg80211_ap_set_encryption(hotspot) set CCMP PTK of d4:6d:6d:fa:9b:eb idx:0, len:16
[16136.865792] RTW: set pairwise key camid:2, addr:d4:6d:6d:fa:9b:eb, kid:0, type:AES
[16136.865810] RTW: cfg80211_rtw_change_station(hotspot) mac:d4:6d:6d:fa:9b:eb
[16137.500476] RTW: rtw_issue_addbareq_cmd, p=0
[16137.500538] RTW: BA_starting_seqctrl = 3177 for TID=0
[16137.500576] RTW: issue_addba_req(hotspot) ra=d4:6d:6d:fa:9b:eb tid=0
[16137.502292] RTW: OnAction_back
[16137.502328] RTW: OnAction_back, action=1
[16137.502344] RTW: agg_enable for TID=0
[16145.354805] RTW: issue_nulldata(hotspot) to d4:6d:6d:fa:9b:eb, ch:36, 3/3 in 150 ms
[16145.354824] RTW: expire_timeout_chk(hotspot) asoc check, d4:6d:6d:fa:9b:eb keep_alive_trycnt=1
[16147.422665] RTW: issue_nulldata(hotspot) to d4:6d:6d:fa:9b:eb, ch:36, 3/3 in 140 ms
[16147.422683] RTW: expire_timeout_chk(hotspot) asoc check, d4:6d:6d:fa:9b:eb keep_alive_trycnt=2
[16149.502705] RTW: issue_nulldata(hotspot) to d4:6d:6d:fa:9b:eb, ch:36, 3/3 in 140 ms
[16149.502725] RTW: expire_timeout_chk(hotspot) asoc check, d4:6d:6d:fa:9b:eb keep_alive_trycnt=3
[16151.582799] RTW: issue_nulldata(hotspot) to d4:6d:6d:fa:9b:eb, ch:36, 3/3 in 140 ms
[16151.582811] RTW: expire_timeout_chk(hotspot) asoc expire d4:6d:6d:fa:9b:eb, state=0x4001
[16151.582823] RTW: rtw_cfg80211_indicate_sta_disassoc(hotspot)
[16151.582850] RTW: rtw_ht_operation_update current operation mode=0x15
[16151.582856] RTW: rtw_ht_operation_update new operation mode=0x15 changes=0
[16151.582861] RTW: bss_cap_update_on_sta_leave, updated=0
[16151.582870] RTW: rtw_stadel_event_callback(mac_id=3)=d4:6d:6d:fa:9b:eb
[16151.582876] RTW: rtw_sta_mstatus_disc_rpt(hotspot) - mac_id=3
[16151.583139] RTW: cfg80211_rtw_del_key(hotspot) key_index=0, addr=d4:6d:6d:fa:9b:eb
[16151.583216] RTW: cfg80211_rtw_del_key(hotspot) key_index=0, addr=d4:6d:6d:fa:9b:eb
[16151.583262] RTW: cfg80211_rtw_change_station(hotspot) mac:d4:6d:6d:fa:9b:eb
[16151.583323] RTW: +cfg80211_rtw_del_station(hotspot) mac=d4:6d:6d:fa:9b:eb
[16151.583329] RTW: free sta macaddr =d4:6d:6d:fa:9b:eb
[16151.583337] RTW: -cfg80211_rtw_del_station(hotspot)
[16151.583933] RTW: start_addr=1026, data_H:00010500, data_L:80005010, macid=3, txrpt_h4b=10500
[16151.585556] RTW: hotspot wakeup macid=3, ori reg_0x4d4=0x00000000
[16151.585610] RTW: ### Clean STA_(3) info ###
[16151.585618] RTW: rtw_release_macid(hotspot) if1, mac_addr:d4:6d:6d:fa:9b:eb macid:3
[16151.585628] RTW: rtw_set_rts_bw connect_to_8812=0,enable=1
[16151.585930] RTW: report_del_sta_event(hotspot) d4:6d:6d:fa:9b:eb mac_id=3, enqueue:0, res:1
[16151.585938] RTW: clear key for addr:d4:6d:6d:fa:9b:eb, camid:2
Hi Nick,
Moving this to the repo, apologies for the previously misplaced comment!
I've been struggling with your installation script & I was hoping you might be able to point me in the right direction?
I've been trying to install this driver package but I keep getting the following error. I've been trying to get it to work for a few days now.
Raspberry Pi OS (64 bit) support was turned on in Makefile as planned.
I have checked the makefile & toggled the flags for the respective 64 & 32 bit builds. No luck.
I am running:
Linux my-pi 5.10.74-v8+ #1471 SMP PREEMPT Mon Oct 18 17:11:19 BST 2021 aarch64 GNU/Linux
As far as my experience is concerned, I'd say I am a moderate Linux user, not a noob, but not an expert.
Many thanks
M
{USB_DEVICE(0x2357, 0x011F), .driver_info = RTL8821}, /* TP-Link - Archer AC600 T2U Nano */
this from the https://github.com/aircrack-ng/rtl8812au but neither of the 2 codebases work properly... if I hack your code with this
diff --git a/os_dep/linux/usb_intf.c b/os_dep/linux/usb_intf.c
index 242ea99..b3c4d5b 100644
--- a/os_dep/linux/usb_intf.c
+++ b/os_dep/linux/usb_intf.c
@@ -184,6 +184,7 @@ static struct usb_device_id rtw_usb_id_tbl[] = {
{USB_DEVICE(0x2357, 0x010D), .driver_info = RTL8812}, /* TP-Link - Archer T4U AC1300 */
{USB_DEVICE(0x2357, 0x010E), .driver_info = RTL8812}, /* TP-Link - Archer T4UH AC1300 */
{USB_DEVICE(0x2357, 0x010F), .driver_info = RTL8812}, /* TP-Link - T4UHP */
+ {USB_DEVICE(0x2357, 0x011F), .driver_info = RTL8812}, /* TP-Link - Archer AC600 T2U Nano */
{USB_DEVICE(0x20F4, 0x805B), .driver_info = RTL8812}, /* TRENDnet - TEW-805UB */
{USB_DEVICE(0x0411, 0x025D), .driver_info = RTL8812}, /* Buffalo - WI-U3-866D */
{USB_DEVICE(0x050D, 0x1109), .driver_info = RTL8812}, /* Belkin F9L1109 - SerComm */
it matches, loads and gives me details... but an iw scan
returns no networks
I'm testing with your code cuz the other repo/driver behaviour is pretty glitchy (lots of packet loss)
TLDR: With a caveat, the driver can be considered tested and well-working with the current Ubuntu 22.04.
The long version:
Hi Nick,
I recently updated my desktop to Ubuntu 22.04 (Kernel 5.15). In this version, the crda package is no longer installed by default and got uninstalled with the update. Compare https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1958918 . It seems Gentoo did the same: https://bugs.gentoo.org/show_bug.cgi?id=462032
So, /etc/default/crda
is no longer read and the default region no longer set in this way.
If I am running your driver with the rtw_country_code=DE
option, it continues to work great, same as with 18.04 and 20.04 on my laptop.
I observed the following:
I have a Zyxel router rented from my internet service provider that broadcasts an 802.11g-network on channel 13 and an 802.11n-network on channel 132+136. Also, I have temporarily set up a Netgear router (running openWRT) that broadcasts an 802.11n-network on channel 1 that I set up to use the region ruleset for the US.
My rudimentary understanding of the set wireless region I can read out via iw reg get
on my ubuntu clients is this:
When I am not connected to any wireless network at all, the region is 00 (or whatever I set before using sudo iw reg set
). When I connect to my network on channel 13, it stays there. If I connect to the network on channel 1, it switches to US. If I disconnect the connection, it goes back to 00. If I connect it to the network on channel 132, it changes to DE. This works both with the 8812au USB adapter and with the build-in Centrino wireless-N 105.
So, the basic idea in Ubuntu seems to be that an Ubuntu wireless client gets its region setting from the AP, if the latter is configured correctly (I can't get the network on channel 13 to broadcast the DE information). If the network connection is severed, the set region of the Ubuntu client goes back to the state it was in before. So, either 00 or anything that was set via sudo iw reg set
(let it be CA, JP, ...). The output of iwlist chan
and iw list
changes accordingly with the output from iw reg get
.
Now, the interesting bit (replicated on both laptop and desktop):
If I connect to the network on channel 1 (the one that gets the client to the US setting) using my trusty Alfa AWUS036ACM USB adapter (or the build-in interface, either Centrino wireless-n 105 or Realtek BCM4312 running with the b43 driver on ubuntu 18.04 kernel 5.4), I can no longer connect to the network on channel 13 with the other wifi adapter. This seems ok to me as the region on the client got set to US, thus inhibiting the wireless interfaces from sending radio signals on channel 12 and 13. If I connect to the network on channel 13 first, I can make a second connection with the other wifi adapter to the network on Channel 1.
My USB adapter with the 8812 chipset will connect to the network on channel 13 anytime (if the driver was loaded with the rtw_country_code=DE
option), regardless of the output of iw reg get
. This is sensible. If I reload it without that option using sudo modprobe -r 8812au & sudo modprobe 8812au
, the output from iwlist chan
is
wlxdc4ef405e467 17 channels in total; available frequencies :
Channel 01 : 2.412 GHz
Channel 02 : 2.417 GHz
Channel 03 : 2.422 GHz
Channel 04 : 2.427 GHz
Channel 05 : 2.432 GHz
Channel 06 : 2.437 GHz
Channel 07 : 2.442 GHz
Channel 08 : 2.447 GHz
Channel 09 : 2.452 GHz
Channel 10 : 2.457 GHz
Channel 11 : 2.462 GHz
Channel 12 : 2.467 GHz
Channel 13 : 2.472 GHz
Channel 36 : 5.18 GHz
Channel 40 : 5.2 GHz
Channel 44 : 5.22 GHz
Channel 48 : 5.24 GHz
and it is indifferent to the output of iw reg get
. With the three other wifi adapters, the output of iwlist chan
and iw list
changes with the output of iw reg get.
My conclusion:
Your driver on my Ubuntu systems is indifferent to the wifi region set via iw
. It will albeit and reliably use the region set that it receives via the option rtw_country_code=__
when the driver gets loaded by the OS.
With this caveat, the driver can be considered tested and well-working with the current Ubuntu 22.04.
Let me know if I can test anything for you.
Regards!
Newbie here, got the following error while installing the driver on a Raspberry Pi 4 running Raspbian.
Running install-driver.sh version 20211002
Starting installation...
Copying source files to: /usr/src/rtl8812au-5.13.6
Copying 8812au.conf to: /etc/modprobe.d
Creating symlink /var/lib/dkms/rtl8812au/5.13.6/source ->
/usr/src/rtl8812au-5.13.6
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
'make' -j4 KVER=5.10.63-v7l+ KSRC=/lib/modules/5.10.63-v7l+/build...(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.10.63-v7l+ (armv7l)
Consult /var/lib/dkms/rtl8812au/5.13.6/build/make.log for more information.
An error occurred. dkms build error = 10
Please report this error.
This is the content of the mentioned log file:
DKMS make.log for rtl8812au-5.13.6 for kernel 5.10.63-v7l+ (armv7l)
Mon 29 Nov 2021 02:23:50 PM GMT
make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/5.10.63-v7l+/build M=/var/lib/dkms/rtl8812au/5.13$make[1]: Entering directory '/usr/src/linux-headers-5.10.63-v7l+'
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_cmd.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_security.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_debug.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_io.o
gcc: error: unrecognized command line option ‘-mgeneral-regs-only’
make[2]: *** [scripts/Makefile.build:280: /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_cmd.o] E$make[2]: *** Waiting for unfinished jobs....
gcc: error: unrecognized command line option ‘-mgeneral-regs-only’
make[2]: *** [scripts/Makefile.build:280: /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_io.o] Er$gcc: error: unrecognized command line option ‘-mgeneral-regs-only’
make[2]: *** [scripts/Makefile.build:280: /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_debug.o]$gcc: error: unrecognized command line option ‘-mgeneral-regs-only’
make[2]: *** [scripts/Makefile.build:280: /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_security$make[1]: *** [Makefile:1825: /var/lib/dkms/rtl8812au/5.13.6/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.10.63-v7l+'
make: *** [Makefile:2499: modules] Error 2
Hi, thanks a lot for the driver!
I ran into some minor error when attempting to remove the driver. When running remove-driver.sh, the driver is being removed from dkms, but the files in /etc/modprobe.d/ and /usr/src/ remain on the system and have to be deleted manually.
The script throws the message:
remove-driver.sh: 51: Syntax error: word unexpected (expecting ")")
After following installation instructions, I successfully installed the driver for an AWUS036AC adapter. However, I cannot connect to a Wi-Fi network no matter what network I choose (all of them exist). I receive an Wi-Fi network could not be found issue. I'm working on HP/Kali VirtualBox installed on Ubuntu.
Output of sudo uname -a; mokutil --sb-state; lsusb; rfkill list all; dkms status; iw dev:
Linux kali 5.16.0-kali3-amd64 #1 SMP PREEMPT Debian 5.16.11-1kali1 (2022-03-03) x86_64 GNU/Linux
EFI variables are not supported on this system
Bus 001 Device 002: ID 0bda:8812 Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac 2T2R DB WLAN Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
rtl8812au/5.13.6, 5.16.0-kali3-amd64, x86_64: installed
phy#0
Interface wlan0
ifindex 3
wdev 0x1
addr 7e:3d:90:81:af:a6
type managed
txpower -100.00 dBm
Result of iwconfig wlan0 is:
wlan0 unassociated Nickname:"WIFI@RTL8812AU"
Mode:Managed Frequency=2.462 GHz Access Point: Not-Associated
Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Hi,
Below my experience with a first compilation run of this driver on Debian 11 and a 5.16 kernel:
DKMS make.log for rtl8812au-5.13.6 for kernel 5.16.0 (x86_64)
Thu 13 Jan 2022 17:47:44 CET
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.16.0/build M=/var/lib/dkms/rtl8812au/5.13.6/build modules
make[1]: Entering directory '/usr/src/linux-headers-5.16.0'
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_cmd.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_security.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_debug.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_io.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_ioctl_query.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_ioctl_set.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_ieee80211.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_mlme.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_mlme_ext.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_mi.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_wlan_util.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_vht.o
/var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_mlme_ext.c: In function ‘rtw_txpwr_init_regd’:
/var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_mlme_ext.c:304:20: error: this statement may fall through [-Werror=implicit-fallthrough=]
304 | if (rfctl->txpwr_lmt_name)
| ^
/var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_mlme_ext.c:307:9: note: here
307 | default:
| ^~~~~~~
/var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_mlme_ext.c: In function ‘mgt_dispatcher’:
/var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_mlme_ext.c:1695:38: error: this statement may fall through [-Werror=implicit-fallthrough=]
1695 | ptable->func = &OnAuthClient;
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_mlme_ext.c:1697:9: note: here
1697 | case WIFI_ASSOCREQ:
| ^~~~
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_pwrctrl.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_rf.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_chplan.o
CC [M] /var/lib/dkms/rtl8812au/5.13.6/build/core/monitor/rtw_radiotap.o
cc1: all warnings being treated as errors
make[2]: *** [scripts/Makefile.build:287: /var/lib/dkms/rtl8812au/5.13.6/build/core/rtw_mlme_ext.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:1846: /var/lib/dkms/rtl8812au/5.13.6/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.16.0'
make: *** [Makefile:2512: modules] Error 2
And also:
sudo uname -a; mokutil --sb-state; lsusb; /usr/sbin/rfkill list all; /usr/sbin/dkms status; /sbin/iw dev
[sudo] password for jouthuis:
Linux Groargh 5.16.0 #1 SMP PREEMPT Thu Jan 13 16:49:50 CET 2022 x86_64 GNU/Linux
EFI variables are not supported on this system
Bus 006 Device 004: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 006 Device 003: ID 04a9:190a Canon, Inc. CanoScan LiDE 210
Bus 006 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 7392:a822 Edimax Technology Co., Ltd 802.11n NIC
Bus 003 Device 002: ID 145f:0203 Trust Trust USB Camera
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 0b33:0402 Contour Design, Inc. RollerMouse Free 2
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
rtl8812au/5.13.6: added
rtl8812au/5.9.3.2, 5.10.0-3-amd64, x86_64: installed
rtl8812au/5.9.3.2, 5.13.0, x86_64: installed
rtl8812au/5.9.3.2, 5.14.0, x86_64: installed
A fix would be welcome. I will give that a test asap.
Thanks
Jan Outhuis
Linux smart 5.4.0-91-generic #102-Ubuntu SMP Fri Nov 5 16:31:28 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
EFI variables are not supported on this system
Installed using the instructions, with no error messages, but something seems off:
sudo modprobe 8821au
modprobe: FATAL: Module 8821au not found in directory /lib/modules/5.4.0-91-generic
This was done on a new install of Ubuntu server 20.04.
I found that the kernel will not allow insertion of the drive on my system. openSUSE 15.3 on an x86_64 system. Per the openSUSE forum, I found that the issue was caused because I used secure boot. Disabling secure boot fixed the issue, but I have Windows 11 on the same machine, which requires secure boot. Is there any chance of building an efi version or addition to the driver?
Followed the easy install instructions, the module appears to be functional but Wifi isn't working. I checked lsmod output, but it doesn't show the module.
nathan@exnihilo:~$ sudo uname -a; mokutil --sb-state; lsusb; rfkill list all; dkms status; iw dev
Linux exnihilo 5.15.0-25-generic #25-Ubuntu SMP Wed Mar 30 15:54:22 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
SecureBoot disabled
Platform is in Setup Mode
Bus 002 Device 003: ID 0bc2:ab38 Seagate RSS LLC Backup Plus Hub (Mass Storage)
Bus 002 Device 002: ID 0bc2:ab45 Seagate RSS LLC Backup+ Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 009: ID 0bda:0811 Realtek Semiconductor Corp. Realtek 8812AU/8821AU 802.11ac WLAN Adapter [USB Wireless Dual-Band Adapter 2.4/5Ghz]
Bus 001 Device 005: ID 1532:0091 Razer USA, Ltd Razer Viper 8KHz
Bus 001 Device 003: ID 046d:c341 Logitech, Inc. Logitech Mechanical keyboard
Bus 001 Device 008: ID 18d1:4ee3 Google Inc. Nexus/Pixel Device (tether)
Bus 001 Device 002: ID 0bc2:ab44 Seagate RSS LLC Backup Plus Hub
Bus 001 Device 007: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
rtl8812au/5.13.6, 5.15.0-25-generic, x86_64: installed
nathan@exnihilo:~$ sudo lsmod
Module Size Used by
cfg80211 962560 0
rndis_host 20480 0
cdc_ether 20480 1 rndis_host
usbnet 53248 2 rndis_host,cdc_ether
mii 16384 1 usbnet
ntfs3 274432 0
nvidia_uvm 1216512 0
nvidia_drm 69632 8
nvidia_modeset 1159168 21 nvidia_drm
nvidia 39112704 1432 nvidia_uvm,nvidia_modeset
snd_hda_codec_realtek 151552 1
intel_rapl_msr 20480 0
intel_rapl_common 36864 1 intel_rapl_msr
snd_hda_codec_generic 102400 1 snd_hda_codec_realtek
intel_tcc_cooling 16384 0
x86_pkg_temp_thermal 20480 0
ledtrig_audio 16384 1 snd_hda_codec_generic
snd_hda_codec_hdmi 73728 1
intel_powerclamp 20480 0
snd_hda_intel 53248 3
snd_intel_dspcfg 28672 1 snd_hda_intel
snd_intel_sdw_acpi 20480 1 snd_intel_dspcfg
snd_hda_codec 155648 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core 110592 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hwdep 16384 1 snd_hda_codec
snd_pcm 139264 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
drm_kms_helper 307200 1 nvidia_drm
coretemp 24576 0
snd_seq_midi 20480 0
snd_seq_midi_event 16384 1 snd_seq_midi
cec 61440 1 drm_kms_helper
kvm_intel 364544 0
snd_rawmidi 49152 1 snd_seq_midi
mei_hdcp 24576 0
nls_iso8859_1 16384 1
snd_seq 73728 2 snd_seq_midi,snd_seq_midi_event
rc_core 65536 1 cec
fb_sys_fops 16384 1 drm_kms_helper
kvm 1007616 1 kvm_intel
snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi
snd_timer 40960 2 snd_seq,snd_pcm
snd 102400 17 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
syscopyarea 16384 1 drm_kms_helper
sysfillrect 20480 1 drm_kms_helper
rapl 20480 0
intel_cstate 20480 0
joydev 32768 0
input_leds 16384 0
wmi_bmof 16384 0
gigabyte_wmi 20480 0
efi_pstore 16384 0
sysimgblt 16384 1 drm_kms_helper
ee1004 20480 0
soundcore 16384 1 snd
mei_me 40960 1
mei 135168 3 mei_hdcp,mei_me
mac_hid 16384 0
acpi_pad 184320 0
sch_fq_codel 20480 3
ipmi_devintf 20480 0
ipmi_msghandler 122880 1 ipmi_devintf
msr 16384 0
parport_pc 49152 0
ppdev 24576 0
lp 28672 0
parport 65536 3 parport_pc,lp,ppdev
drm 606208 12 drm_kms_helper,nvidia,nvidia_drm
ip_tables 32768 0
x_tables 53248 1 ip_tables
autofs4 49152 2
hid_generic 16384 0
usbhid 65536 0
hid 147456 2 usbhid,hid_generic
uas 28672 1
usb_storage 77824 1 uas
crct10dif_pclmul 16384 1
crc32_pclmul 16384 0
ghash_clmulni_intel 16384 0
aesni_intel 376832 0
crypto_simd 16384 1 aesni_intel
cryptd 24576 2 crypto_simd,ghash_clmulni_intel
r8169 102400 0
ahci 45056 4
i2c_i801 36864 0
xhci_pci 24576 0
i2c_smbus 20480 1 i2c_i801
3w_9xxx 49152 0
realtek 32768 1
libahci 45056 1 ahci
xhci_pci_renesas 20480 1 xhci_pci
wmi 32768 2 gigabyte_wmi,wmi_bmof
video 53248 0
if wireless is connected no apps will launch giving like error, which only shows when launched from CLI
Invalid MIT-MAGIC-COOKIE-1 key
qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
Fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
Aborted
disconnect wireless and all is fine.
Git fetch and sudo ./remove-driver.sh ./install-driver.sh today
Please advise.
artix LXQt OpenRC https://artixlinux.org/
sudo uname -a; mokutil --sb-state; lsusb; rfkill list all; dkms status; iw dev
Linux redacted 5.18.5-artix1-1 #1 SMP PREEMPT_DYNAMIC Fri, 17 Jun 2022 05:53:18 +0000 x86_64 GNU/Linux
This system doesn't support Secure Boot
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 003: ID 056e:010c Elecom Co., Ltd M-HT1URBK HUGE Optical TrackBall
Bus 005 Device 002: ID 046d:c248 Logitech, Inc. G105 Gaming Keyboard
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 009 Device 003: ID 2109:0817 VIA Labs, Inc. USB3.0 Hub
Bus 009 Device 005: ID 13fe:5500 Kingston Technology Company Inc. Flash drive
Bus 009 Device 004: ID 0781:5583 SanDisk Corp. Ultra Fit
Bus 009 Device 002: ID 2109:0817 VIA Labs, Inc. USB3.0 Hub
Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 008 Device 004: ID 2109:2817 VIA Labs, Inc. USB2.0 Hub
Bus 008 Device 005: ID 0bda:8812 Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac 2T2R DB WLAN Adapter
Bus 008 Device 003: ID 2109:2817 VIA Labs, Inc. USB2.0 Hub
Bus 008 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
rtl8812au/5.13.6, 5.18.5-artix1-1, x86_64: installed
phy#0
Interface wlan1
ifindex 4
wdev 0x2
addr 3e:a5:7b:a2:15:1d
type managed
channel 1 (2412 MHz), width: 20 MHz, center1: 2412 MHz
txpower -100.00 dBm
Interface wlan0
ifindex 3
wdev 0x1
addr 08:10:7a:66:af:d7
ssid redacted
type managed
channel 1 (2412 MHz), width: 20 MHz, center1: 2412 MHz
txpower 16.00 dBm
FYI
Running install-driver.sh version 20220108
**./install-driver.sh: line 55: hostnamectl: command not found**
5.18.5-artix1-1
x86_64
Starting installation...
Copying source files to: /usr/src/rtl8812au-5.13.6
Copying 8812au.conf to: /etc/modprobe.d
Creating symlink /var/lib/dkms/rtl8812au/5.13.6/source -> /usr/src/rtl8812au-5.13.6
Building module:
cleaning build area...
'make' -j4 KVER=5.18.5-artix1-1 KSRC=/lib/modules/5.18.5-artix1-1/build.....................
cleaning build area...
8812au.ko.zst:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /usr/lib/modules/5.18.5-artix1-1/kernel/drivers/net/wireless/
depmod....
The driver was installed successfully.
Do you want to reboot now? (recommended) [y/N]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.