wifi wlan

w i p

2024 Feb 10
THANK YOU dm+ and wdt !
….
This is a problem of driver-maintainer in kernel-tree, the Makefile or the *.c and *.h files
need a editing the path for firmware located into /lib/firmware/mediatek/…
then the driver can find all and will not report by modprobe a error 2 ( is a „not file or directory“ )

i can confirm it,
also for AVM AC 860 Wifi-Stick –
driver/module = mt76x2u.ko.xz
-> firmware= need the linking below:
ln -sf /lib/firmware/mediatek/mt7662u_rom_patch.bin /lib/firmware/mt7662u_rom_patch.bin
ln -sf /lib/firmware/mediatek/mt7662_rom_patch.bin /lib/firmware/mt7662_rom_patch.bin
ln -sf /lib/firmware/mediatek/mt7662.bin /lib/firmware/mt7662.bin

and in /lib/udev/rules.d/40-usb_modeswitch.rules check for:
# AVM Fritz!Wlan USB Stick N v2
ATTR{idVendor}=="057c", ATTR{idProduct}=="62ff", RUN+="usb_modeswitch '/%k'"

# AVM Fritz!Wlan USB Stick N
ATTR{idVendor}==“057c“, ATTR{idProduct}==“84ff“, RUN+=“usb_modeswitch ‚/%k'“

# AVM Fritz!Wlan AC860
ATTR{idVendor}==“057c“, ATTR{idProduct}==“8503″, RUN+=“usb_modeswitch ‚/%k'“

AND YES, i have duale connection eth0 and wlan1 at the same time,
just pluged in the stick and he reconnecting to the same wifi-network as before…
———————————————-

dkms-rtl8821ce-5.5.2-6pclos2020.x86_64.rpm
new:
please read about dkms-rtlwifi-rtw88-0.1.0-2pclos2020.x86_64.rpm
on the list below, by using kernel-5.8…

supported VendorID:ProductID
*/ REALTEK */
10ec:C821
10ec:C82A
10ec:C82B

by install it this will add to:
/lib/module-init-tools/ldetect-lst-modules.alias
alias pci:v000010ECd0000C82Bsv*sd*bc*sc*i* rtl8821ce
alias pci:v000010ECd0000C82Asv*sd*bc*sc*i* rtl8821ce
alias pci:v000010ECd0000C821sv*sd*bc*sc*i* rtl8821ce

802.11ac/abgn PCIe WLAN with Bluetooth 4.2 Single-Chip Controller
The Realtek RTL8821CE-CG is a highly integrated single-chip
that supports 1-stream 802.11ac solutions with Multi-user
MIMO (Multiple-Input, Multiple-Output) and Wireless LAN (WLAN)
PCI Express network interface controller with integrated Bluetooth 2.1/3.0/4.2
USB interface controller. It combines a WLAN MAC, a 1T1R capable WLAN baseband,
and RF in a single chip.
The RTL8821CE-CG provides a complete solution
for a high-performance integrated wireless and Bluetooth device.

Features
TFBGA 5.2×5.2mm package
802.11ac/abgn
802.11ac 1×1, Wave-2 compatible with MU-MIMO
Bluetooth 4.2
Host interface
PCI Express 1.1 for WLAN controller
USB2.0 for Bluetooth controller

Hint: many newer Laptops HP have this chip

PCIe Activate State Power Management
Your distribution may come with PCIe Active State Power Management enabled by default.
That may conflict with this driver. To disable:
sudo $EDITOR /etc/default/grub

Add pci=noaer at the end of GRUB_CMDLINE_LINUX_DEFAULT. Line should look like this:
GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash pci=noaer“

Then update your GRUB configuration:
sudo update-grub
Reboot.

Lenovo Yoga laptops
Some new Yoga laptops (like the Yoga 530) come with rtl8821ce as the Wi-Fi/Bluetooth chip. But the ideapad-laptop module, which may come included in your distribution, may conflict with this driver. To disable:
sudo modprobe -r ideapad_laptop
____________________________________________________

dkms-rtl8821cu-5.8.1-3pclos2020.x86_64.rpm
Drivers for rtl8811CU and rtl8821CU Wi-Fi chipsets.
This repository is based on soruce code found on a CD shipped with a rtl8811CU based card.
It’s updated to build on newer kernel versions.
supported VendorID:ProductID
/* Realtek */
0bda:b82b, ... /* 8821CU */
0bda:b820, ... /* 8821CU */
0bda:C821, ... /* 8821CU */
0bda:C820, ... /* 8821CU */
0bda:C82A, ... /* 8821CU */
0bda:C82B, ... /* 8821CU */
0bda:C811, ... /* 8811CU */
0bda:8811, ... /* 8811CU */
/* TOTOLINK A650UA v3 */
0bda:2006, ...
/* D-Link - DWA-171C */
2001:331d .driver_info = RTL8821C

Note: This is an USB2 only adapter,
which may have bluetooth support
For specialities on this device read at the end

build/load/function tested with v4.18.7

CDROM emulation
The device exists in various flavours
including cdrom emulation for windows
knowing USB id’s doing this trick (after cold boot)

0x0bda 0x1a2b

you can do a scsi cdrom ejcet with
usb_modeswitch -v 0bda -p 1a2b -K
or
eject $DEVICE

Bluetooth support
named as btcoexist should be provid from rtlwifi-extended,
install the dkms-rtlwifi-extended first
____________________________________________________

broadcom-wl-blacklist-6.30.223.271-18pclos2020.x86_64.rpm
dkms-broadcom-wl-6.30.223.271-18pclos2020.x86_64.rpm
now compiled on gcc-10.2.0

For older kernel-versions < 4.11 please use the release 4 of this package!
This package contains the proprietary driver for Broadcom wireless
adapters provided by Broadcom. If installed, it will be used for
these cards in preference to the third-party open source driver that
requires manual installation of firmware, or ndiswrapper.
Broadcom BCM4311 (PCI IDs 14e4:4311, 14e4:4312)
Broadcom BCM4312 (PCI ID 14e4:4315)
Broadcom BCM4313 (PCI ID 14e4:4727)
Broadcom BCM4321 (PCI IDs 14e4:4328, 14e4:4329, 14e4:432a)
Broadcom BCM4322 (PCI IDs 14e4:432b, 14e4:432c, 14e4:432d)
Broadcom BCM43224 (PCI IDs 14e4:0576, 14e4:4353)
Broadcom BCM43225 (PCI ID 14e4:4357)
Broadcom BCM43227 (PCI ID 14e4:4358)
Broadcom BCM43228 (PCI ID 14e4:4359)
Broadcom BCM43142 (PCI ID 14e4:4365)
Broadcom BCM4331 (PCI ID 14e4:4331)
Broadcom BCM4352 (PCI ID 14e4:43b1)
Broadcom BCM4360 (PCI IDs 14e4:43a0, 14e4:4360)
####
-blacklist
This package will blacklist the following drivers to allow the
Broadcom WL driver to work with recent kernels.
b43
b43legacy
b44
bcma
brcm80211
brcmfmac
brcmsmac
ssb
____________________________________________________

Apr.14 2024

this is not supported here,

use the rtl8812 /…21 au and 8814au packages

dkms-rtl88xxau-5.7.0-6pclos2020.x86_64.rpm
replacement for rtl 8811, 8812, 8814, 8821au
supported VendorID:ProductID
/* Realtek */
0bda:881
0bda:881A
0bda:881B
0bda:881C

/* Belkin - sercomm */
050D:1106 .driver_info = RTL8812
/* Edimax - Edimax */
7392:A822 .driver_info = RTL8812
/* Sitecom - Edimax */
0DF6:0074 .driver_info = RTL8812
/* I-O DATA - Edimax */
04BB:0952 .driver_info = RTL8812
/* Logitec - Edimax */
0789:016E .driver_info = RTL8812
/* NEC - */
0409:0408 .driver_info = RTL8812
/* ASUS - Edimax */
0B05:17D2 .driver_info = RTL8812
/* HAWKING - Edimax */
0E66:0022 .driver_info = RTL8812
/* ZyXEL - */
0586:3426 .driver_info = RTL8812
/* D-Link - ALPHA */
2001:3313 .driver_info = RTL8812
2001:330E .driver_info = RTL8812
2001:3313 .driver_info = RTL8812
/* D-Link - Cameo */
2001:3315 .driver_info = RTL8812
2001:3316 .driver_info = RTL8812
/* WD - Cybertan */
1058:0632 .driver_info = RTL8812
/* EnGenius - EnGenius */
1740:0100 .driver_info = RTL8812
/* Planex - Abocom */
2019:AB30 .driver_info = RTL8812
/* Abocom - Abocom */
07B8:8812 .driver_info = RTL8812
/* Netgear A6200 v2 */
0846:9051 .driver_info = RTL8812
/* Linksys - WUSB6300 */
13B1:003F .driver_info = RTL8812
/* TP-Link - Archer T4U AC1200 */
2357:0101 .driver_info = RTL8812
/* TP-Link - T4UH */
2357:0103 .driver_info = RTL8812
/* TP-Link - Archer T4U AC1300 */
2357:010D .driver_info = RTL8812
/* TP-Link - Archer T4UH AC1300 */
2357:010E .driver_info = RTL8812
/* TP-Link - T4UHP */
2357:010F .driver_info = RTL8812
/* TP-Link - T4UHP (other) */
2357:0122 .driver_info = RTL8812
/* TRENDnet - */
20F4:805B .driver_info = RTL8812
/* Buffalo - WI-U3-866D */
0411:025D .driver_info = RTL8812
/* Belkin F9L1109 - SerComm */
050D:1109 .driver_info = RTL8812
/* Amped Wireless ACA1 */
148F:9097 .driver_info = RTL8812}
/* Alfa - AWUS036AC, AWUS036ACH & AWUS036EAC */
0BDA:8812 .driver_info = RTL8812
/* Tenda U12 */
2604:0012 .driver_info = RTL8812
/* Unex DAUK-W8812 */
0BDA:881A .driver_info = RTL8812
/* Realtek - Demo-Board */
0BDA:0811 .driver_info = RTL8821}, /* Default ID */
0BDA:0821 .driver_info = RTL8821}, /* Default ID */
0BDA:8822 .driver_info = RTL8821}, /* Default ID */
0BDA:A811 .driver_info = RTL8821},/* Default ID */
0BDA:0820 .driver_info = RTL8821}, /* 8821AU */
0BDA:0823 .driver_info = RTL8821}, /* 8821AU */
/* Edimax - Edimax */
7392:A811 .driver_info = RTL8821
/* Edimax - EW-7811UTC */
7392:A812 .driver_info = RTL8821
/* Edimax - EW-7811UAC */
7392:A813 .driver_info = RTL8821
/* I-O DATA - Edimax */
04BB:0953 .driver_info = RTL8821
/* D-Link - Cameo */
2001:3314 .driver_info = RTL8821
2001:3318 .driver_info = RTL8821
/* HAWKING - Edimax */
0E66:0023 .driver_info = RTL8821
/* ELECOM - ELECOM */
056E:400E .driver_info = RTL8821
056E:400F .driver_info = RTL8821
/* ELECOM - WDC-433DU2H */
0411:0242 .driver_info = RTL8821
/* Planex - GW-450S */
2019:AB32 .driver_info = RTL8821
/* Netgear - A6100 */
0846:9052 .driver_info = RTL8821
/* Buffalo - WI-U2-433DHP */
0411:029B .driver_info = RTL8821
/* Elecom - WDC-433DU2HBK */
056E:4007 .driver_info = RTL8821
/* Obihai - OBiWiFi */
3823:6249 .driver_info = RTL8821

#ifdef CONFIG_RTL8814A
{USB_DEVICE(USB_VENDER_ID_REALTEK, 0x8813), .driver_info = RTL8814A},
/* D-Link – D-Link */
2001:331A .driver_info = RTL8814A
/* ASUS – ASUSTeK */
0B05:1817 .driver_info = RTL8814A
0B05:1852 .driver_info = RTL8814A
0B05:1853 .driver_info = RTL8814A
/* ELECOM – ELECOM */
056E:400B .driver_info = RTL8814A
056E:400D .driver_info = RTL8814A
/* Edimax – Edimax */
7392:A834 .driver_info = RTL8814A
/* Edimax – AC1750 */
7392:A833 .driver_info = RTL8814A
/* Edimax – EDUP Adapters */
0BDA:8813 .driver_info = RTL8814A
/* TP-LINK Archer T9UH */
2357:0106 .driver_info = RTL8814A
/* TRENDnet – TRENDnet */
20F4:809A .driver_info = RTL8814A
/* TRENDnet TEW-809UB */
20F4:809B .driver_info = RTL8814A
/* Netgear A7000 */
0846:9054 .driver_info = RTL8814A
____________________________________________________

new:
since rtw88 on kernel series 5.[7…].[..]
and will be obsolte with a stable release of kernel-5.9.[..]
when it is fully integrated

dkms-rtlwifi-rtw88-0.1.0-2pclos2020.x86_64.rpm
drivers install /kernel/3rdparty/rtlwifi-rtw88
from lwfinger.git
provides drivers for:
RTL8822BE, RTL8822CE, RTL8821CE, and RTL8723DE

If you are looking for a driver for chips such as RTL8188EE, RTL8192CE, RTL8192CU, RTL8192DE, RTL8192EE, RTL8192SE, RTL8723AE, RTL8723BE, or RTL8821AE, these should be provided by your kernel. If not, then you should go to the Backports Project (https://backports.wiki.kernel.org/index.php/Main_Page) to obtain the necessary code.
old:
dkms-rtlwifi-extended-0.6-19pclos2020.x86_64.rpm
ok, drivers install /kernel/3rdparty/rtlwifi
now fresh update dkms will not remove the installed folder/drivers by accessing the postuninstall-routine
this is removed from specfile, the original kernel/drivers/net/wireless/realtek/rtlwifi will be untouched
from lwfinger.git
Note: If your kernel is 4.17 or newer, AND your card is not an RTL8723DE,
then you should NOT be using the external driver.
The built-in one is the same.

####
A kernel module for Realtek wireless network cards in coexistmode,
now support the ant_sel module option for rtl8723be.
provides drivers for:
rtl8192ce, rtl8192cu, rtl8192se, rtl8192de, rtl8188ee, rtl8192ee,
rtl8723ae, rtl8723be, rtl8821ae,
rtl8822be and rtl8723de
____________________________________________________

dkms-rtl8822bu-5.6.1-3pclos2020.x86_64.rpm
new – better supported by rtw-core on kernel 5.[7-…]….series
dkms-rtl88x2bu-5.6.1.6-1pclos2020.x86_64.rpm
RTL8822BU 802.11ac/abgn USB WLAN Network Controller
supported VendorID:ProductID
/* Alpha - Alpha*/
13b1:0043 .driver_info = RTL8822B
/* Edimax */
7392:B822 .driver_info = RTL8822B
7392:C822 .driver_info = RTL8822B
/* */
0BDA:B812 .driver_info = RTL8822B
/* ASUS - Edimax */
0B05:1812 .driver_info = RTL8812
/* Edimax - EW-7822ULC */
7392:B822 .driver_info = RTL8822B
/* ASUS USB AC53 */
0b05,:184c .driver_info = RTL8822B
/* ASUS AC1300 USB-AC55 B1 */
0b05:1841 .driver_info = RTL8822B
/* Edimax - EW-7822UTC */
7392:C822 .driver_info = RTL8822B
/* D-Link - DWA-182 Rev D */
2001:331c .driver_info = RTL8822B
/* Archer USB T4Uv3 */
2357:0115 .driver_info = RTL8822B
/* Hawking Tech HW12ACU */
0E66:0025 .driver_info = RTL8822B

____________________________________________________

dkms-rtl8188eu-5.2.2.4-4pclos2020.x86_64.rpm
A kernel module for wireless network cards based on RTL8192EU chipset
+++
The official drivers for D-Link DWA-131 Rev E, with patches to keep it
working on newer kernels.
Also works on Rosewill RNX-N180UBE v2 N300 Wireless Adapter.
supported VendorID:ProductID
/* TP-Link - Cameo */
2357:0107 .driver_info = RTL8192E
2357:0108 .driver_info = RTL8192E
2357:0109 .driver_info = RTL8192E
/* PLANEX - GW-300S Katana */
2019:ab33 .driver_info = RTL8192E
/*=== Customer ID ===*/
/* D-Link - DWA-131 */
2001:3319 .driver_info = RTL8192E
/* ASUSTek Computer, Inc. */
0B05:18F0
/* Mercucys INC */
2C4E:0102
/*TP-Link*/
2357:0111
2357:010C
/* Elecom Co., Ltd */
056E:4008
/* D-Link Corp. */
2001:331B
2001:3311
2001:3310
2001:330F

/* Sitecom Europe B.V. */
0DF6:0076
/* AboCom Systems Inc */
07B8:8179
/* Realtek Semiconductor Corp. */
0BDA:F179
0BDA:0179
0BDA:8179

____________________________________________________

dkms-rtl8192eu-5.6.4-3pclos2020.x86_64.rpm
module for wireless network cards based on RTL8192EU chipset
supported VendorID:ProductID
/*=== Realtek demoboard ===*/
0BDA:818B   .driver_info = RTL8192E  /* Default ID */
0BDA:818C   .driver_info = RTL8192E  /* Default ID */
/*===TPLINK ID===========*/
2001:3312 /* D-Link – DWA-131 rev C1 */
2001:3319 /* D-Link – DWA-131 */
2357:0107 /* TP-Link – Cameo */
2357:0108 /* TP-Link – Cameo */
2357:0109 /* TP-Link – Cameo */
2357:0126 /* TP-Link TL-WN8200ND V2 */
/*=== PLANEX ===========*/
2019:AB33 /* PLANEX – GW-300S Katana */
/*=== Customer ID ===*/
2c4e:0100 /* Mercusys MW300UM */
2c4e:0104 /* Mercusys MW300UH */

____________________________________________________

dkms-rtl8723bu-4.3.16-2pclos2020.x86_64.rpm
and
dkms-rtl8723bu-noc-4.3.16-2pclos2020.x86_64.rpm
Driver for Realtek RTL8723BU Wireless Adapter with Hardware ID 0bda:b720
802.11bgn USB 2.0 WLAN with Bluetooth 4.0 Single-Chip Controller
+++
By default driver operates the hardware as a station AND as an access point *simultaneously*.
This will show two devices when you run the `iwconfig` command.
If you do not want two devices (station and an access point) *simultaneously*,
then install the rpm dkms-rtl8723bu-noc (nonCONCURRENT)…
+++
supported VendorID:ProductID
0bda:b720    /* Realtek RTL8723BU Wireless Adapter */
0bda:8177    /* Realtek8188cu 1*1 dongole, (b/g mode only) */
0bda:817E    /* Realtek8188CE-VAU USB minCard (b/g mode only) */
0b05:1791    /* ASUSTek Computer, Inc. (WL-167G v3 802.11n Adapter [Realtek RTL8188SU]) */
13D3:3311    /* IMC Networks */
13D3:3359    /* IMC Networks */* Russian customer -Azwave (8188CE-VAU  g mode) */
/*=== RTK_DMP_PLATFORM ===*/
0bda:8111    /* Realtek 5G dongle for WiFi Display */
2019:AB2D   /* PCI-Abocom 5G dongle for WiFi Display */

____________________________________________________

Quellen/Sources:
https://github.com/tomaspinho/rtl8821ce
https://github.com/ulli-kroll/rtl8821cu
https://github.com/Mange/rtl8192eu-linux-driver
https://github.com/lwfinger/rtlwifi_new
https://github.com/lwfinger/rtlwifi_new/tree/extended
https://github.com/openwrt/mt76.git

https://github.com/morrownr/88x2bu-20210702

https://github.com/ulli-kroll/mt7612u.git
https://github.com/MeissnerEffect/rtl8822bu
https://github.com/cilynx/rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20180427-5959/tree/linux-5.0
https://github.com/RinCat/RTL88x2BU-Linux-Driver.git
https://github.com/aircrack-ng/rtl8812au.git