You are not logged in.

#1 2021-05-11 17:03:24

angryfrog
Member
Registered: 2021-05-11
Posts: 7

Problem WiFi AC1200 RTL88x2bu

Hi,

I just bought a BrosTrend AC1200 AC3L V2, it uses a RealTek RTL88x2bu chipset. The key is detected by lsusb, but doesn't appear anywhere in NetworkManager.
I have try to install the package rtl88x2bu-dkms-git (https://aur.archlinux.org/packages/rtl88x2bu-dkms-git) but it doesn't change anything.
I, of course, use the latest stable kernel.

Does someone have an idea? I'm a complete noob when it come to WiFi.

Thanks you a lot!

Offline

#2 2021-05-11 17:30:11

teckk
Member
Registered: 2013-02-21
Posts: 585

Re: Problem WiFi AC1200 RTL88x2bu

Output of:

lspci -k
ip a
ip n

Also look at dmesg and journalctl

What network manager are you using? What does it's config file look like?
https://wiki.archlinux.org/title/Network_configuration

Offline

#3 2021-05-11 17:40:52

cmm11
Member
Registered: 2018-02-18
Posts: 53

Re: Problem WiFi AC1200 RTL88x2bu

I'm using that AUR with a TP-Link Archer T3U + LTS kernel with no issues. Using iwd and systemd-networkd.
It could be possible it doesn't work with 5.12 kernel hence the github page saying "Support Kernel: 2.6.24 ~ 5.11 (with unofficial patches)"
Apart from the commands teckk posted, i would also check the module gets loaded with: lsmod | grep 88x2bu

Offline

#4 2021-05-11 17:42:16

angryfrog
Member
Registered: 2021-05-11
Posts: 7

Re: Problem WiFi AC1200 RTL88x2bu

Thanks you a lot!
I'm not very good with forums sorry, I will post the output of lspci -k :

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor DRAM Controller (rev 09)
    Subsystem: ASRock Incorporation Motherboard
    Kernel driver in use: ivb_uncore
    Kernel modules: ie31200_edac
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
    Kernel driver in use: pcieport
00:01.1 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
    Kernel driver in use: pcieport
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
    Subsystem: ASRock Incorporation Motherboard
    Kernel driver in use: xhci_hcd
    Kernel modules: xhci_pci
00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04)
    Subsystem: ASRock Incorporation Motherboard
    Kernel driver in use: mei_me
    Kernel modules: mei_me
00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04)
    Subsystem: ASRock Incorporation Motherboard
    Kernel driver in use: ehci-pci
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
    Subsystem: ASRock Incorporation Z77 Extreme4 motherboard
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4)
    Kernel driver in use: pcieport
00:1c.6 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 7 (rev c4)
    Kernel driver in use: pcieport
00:1c.7 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 8 (rev c4)
    Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04)
    Subsystem: ASRock Incorporation Motherboard
    Kernel driver in use: ehci-pci
00:1f.0 ISA bridge: Intel Corporation Z77 Express Chipset LPC Controller (rev 04)
    Subsystem: ASRock Incorporation Motherboard
    Kernel driver in use: lpc_ich
    Kernel modules: lpc_ich
00:1f.2 SATA controller: Intel Corporation 7 Series/C210 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
    Subsystem: ASRock Incorporation Motherboard
    Kernel driver in use: ahci
00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev 04)
    Subsystem: ASRock Incorporation Motherboard
    Kernel driver in use: i801_smbus
    Kernel modules: i2c_i801
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (rev e7)
    Subsystem: Sapphire Technology Limited Nitro+ Radeon RX 570/580/590
    Kernel driver in use: amdgpu
    Kernel modules: amdgpu
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
    Subsystem: Sapphire Technology Limited Device aaf0
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel
02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (rev e7)
    Subsystem: Sapphire Technology Limited Nitro+ Radeon RX 570/580/590
    Kernel driver in use: amdgpu
    Kernel modules: amdgpu
02:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
    Subsystem: Sapphire Technology Limited Device aaf0
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel
04:00.0 USB controller: Etron Technology, Inc. EJ168 USB 3.0 Host Controller (rev 01)
    Subsystem: ASRock Incorporation Device 7023
    Kernel driver in use: xhci_hcd
    Kernel modules: xhci_pci
05:00.0 PCI bridge: PLX Technology, Inc. PEX 8605 PCI Express 4-port Gen2 Switch (rev aa)
    Kernel driver in use: pcieport
06:01.0 PCI bridge: PLX Technology, Inc. PEX 8605 PCI Express 4-port Gen2 Switch (rev aa)
    Kernel driver in use: pcieport
06:02.0 PCI bridge: PLX Technology, Inc. PEX 8605 PCI Express 4-port Gen2 Switch (rev aa)
    Kernel driver in use: pcieport
06:03.0 PCI bridge: PLX Technology, Inc. PEX 8605 PCI Express 4-port Gen2 Switch (rev aa)
    Kernel driver in use: pcieport
09:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 03)

The output of 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
2: enp0s20u3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
    link/ether 62:5e:f1:57:cf:c6 brd ff:ff:ff:ff:ff:ff
    inet 192.168.42.157/24 brd 192.168.42.255 scope global dynamic noprefixroute enp0s20u3
       valid_lft 3128sec preferred_lft 3128sec

And the output of ip n

192.168.42.129 dev enp0s20u3 lladdr 42:a4:23:99:db:de REACHABLE

enp0s20u3 is actually my phone that I use as a tethering device.
Thanks for your help!

Offline

#5 2021-05-11 19:24:18

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,230

Re: Problem WiFi AC1200 RTL88x2bu

Please use code instead of quote tags for output.

There's no wifi device here, did you load the module after building? Did the module build properly? Are the linux-headers for your used kernel installed? If you did all of these check dmesg on why it fails to allocate an interface.

Offline

#6 2021-05-11 19:47:04

progandy
Member
Registered: 2012-05-17
Posts: 5,317

Re: Problem WiFi AC1200 RTL88x2bu

angryfrog wrote:

I just bought a BrosTrend AC1200 AC3L V2, it uses a RealTek RTL88x2bu chipset. The key is detected by lsusb,

It is a USB device, not PCI, so lspci won't show anything.

angryfog on AUR/rtl88x2bu-dkms-git wrote:

Hi,

I just bought a BrosTrend AC1200 AC3L V2, it uses a RealTek RTL88x2bu chipset. The key is detected by lsusb (Bus 003 Device 002: ID 0bda:b812 Realtek Semiconductor Corp. RTL88x2bu [AC1200 Techkey]), but doesn't appear anywhere in NetworkManager. I have try to install the package rtl88x2bu-dkms-git but it doesn't change anything. I, of course, use the latest stable kernel.

Does someone have an idea? I'm a complete noob when it come to WiFi.

Thanks you a lot!

So the device is 0bda:b812


Is the dkms package installed correctly? For the linux kernel you have to install the linux-header package as well, that does not happen automatically. https://wiki.archlinux.org/title/Dynami … le_Support

modinfo 88x2bu

Last edited by progandy (2021-05-11 19:56:00)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Online

#7 2021-05-12 06:52:38

angryfrog
Member
Registered: 2021-05-11
Posts: 7

Re: Problem WiFi AC1200 RTL88x2bu

Thanks you a lot for your answers!

@V1del
I just installed the aur package and rebooted, yes it build properly but it says

 Good news! Module version v5.8.7.2_36899.20200819_COEX20191120-7777 for 88x2bu.ko.xz
exactly matches what is already found in kernel 5.12.2-1-ck-ivybridge.
DKMS will not replace this module. 

And yes, headers for my kernel are installed. I have checked dmesg, but haven't found anything relevant. I can post the total output if you want.

----

@progandy
As I said, when I install the aur package, it told me the module is already found in the kernel. I have tried to type

 sudo dkms install --no-depmod -m rtl88x2bu -v 5.8.7.1.r119.2ed61f8 -k 5.12.2-1-ck-ivybridge --force 

but it told me that

 Module rtl88x2bu/5.8.7.1.r119.2ed61f8 already installed on kernel 5.12.2-1-ck-ivybridge/x86_64 

modinfo give me that :

 
filename:       /lib/modules/5.12.2-1-ck-ivybridge/kernel/drivers/net/wireless/88x2bu.ko.xz
version:        v5.8.7.2_36899.20200819_COEX20191120-7777
author:         Realtek Semiconductor Corp.
description:    Realtek Wireless Lan Driver
license:        GPL
srcversion:     DD41C089A1598A9FE049B60
alias:          usb:v20F4p808Ad*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v2357p0115d*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v2357p0138d*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v2357p012Dd*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0846p9055d*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v2001p331Cd*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v2001p331Ed*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v7392pC822d*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v7392pB822d*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0B05p184Cd*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0B05p1841d*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v13B1p0043d*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0BDApB812d*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0BDApB82Cd*dc*dsc*dp*icFFiscFFipFFin*
depends:        cfg80211
retpoline:      Y
name:           88x2bu
vermagic:       5.12.2-1-ck-ivybridge SMP preempt mod_unload 
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_vht_enable:int
parm:           rtw_vht_rx_mcs_map:VHT RX MCS map (uint)
parm:           rtw_rf_path: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_btcoex_enable:BT co-existence on/off, 0:off, 1:on, 2:by efuse (int)
parm:           rtw_ant_num:Antenna number setting, 0:by efuse (int)
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_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_uapsd_max_sp:int
parm:           rtw_uapsd_ac_enable:int
parm:           rtw_wmm_smart_ps: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_beamform_cap:int
parm:           rtw_lowrate_two_xmit: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_max_roaming_times:The max roaming times to try (uint)
parm:           rtw_mc2u_disable:int
parm:           rtw_advnace_ota:int
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 (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:UNKNOWN, 1:FCC, 2:MKK, 3:ETSI (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_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_phydm_ability:uint
parm:           rtw_halrf_ability:uint
parm:           rtw_vht_2g4:Allow VHT rate on 2.4G channel.(0 for deny and 1 for allow) (int)
parm:           rtw_en_napi:int
parm:           rtw_en_gro:int
parm:           rtw_iqk_fw_offload:int
parm:           rtw_ch_switch_offload:int

Thanks you a lot for your time!

Last edited by angryfrog (2021-05-12 06:53:53)

Offline

#8 2021-05-12 09:08:08

progandy
Member
Registered: 2012-05-17
Posts: 5,317

Re: Problem WiFi AC1200 RTL88x2bu

Now remove the usb adapter, start "sudo dmesg -w" and plug it back in. dmesg should show new log messages, what are those?

Last edited by progandy (2021-05-12 09:09:01)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Online

#9 2021-05-12 09:11:33

angryfrog
Member
Registered: 2021-05-11
Posts: 7

Re: Problem WiFi AC1200 RTL88x2bu

Thanks a lot for your help!
The new lines are :

[ 7349.284505] usb 3-2: new high-speed USB device number 6 using xhci_hcd
[ 7349.454948] usb 3-2: New USB device found, idVendor=0bda, idProduct=b812, bcdDevice= 2.10
[ 7349.454952] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 7349.454953] usb 3-2: Product: 802.11ac NIC
[ 7349.454954] usb 3-2: Manufacturer: Realtek
[ 7349.454955] usb 3-2: SerialNumber: 123456
[ 7349.535935] Lockdown: systemd-udevd: unsigned module loading is restricted; see man kernel_lockdown.7

It seems it came from the lockdown mode! I have added that few months ago, I will try without and update this message.

EDIT : It works!! Thanks you a lot, I had totally forgot the lockdown mode, do you know if it's possible to whitelist a module with that?
If it's not possible, I will just let it removed.

Thanks you again, I'm really happy!

Last edited by angryfrog (2021-05-12 09:23:51)

Offline

#10 2021-05-12 09:47:56

progandy
Member
Registered: 2012-05-17
Posts: 5,317

Re: Problem WiFi AC1200 RTL88x2bu

If you want to use lockdown mode with self-compiled modules, then you'll have to recompile the whole kernel so you have access to the signing key.
https://wiki.archlinux.org/title/Signed_kernel_modules

Last edited by progandy (2021-05-12 09:48:54)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Online

#11 2021-05-12 10:19:17

angryfrog
Member
Registered: 2021-05-11
Posts: 7

Re: Problem WiFi AC1200 RTL88x2bu

It's way too much of a hassle, I will just disable it, but thanks you a lot for your answer.
I wouldn't have made it without your help, everything work flawlessly now, thanks you A LOT!!!
Have a very nice day, and thanks you again.

Offline

Board footer

Powered by FluxBB