Giter Club home page Giter Club logo

88x2bu's People

Contributors

mauromol avatar morrownr avatar mslaaf avatar rubo3 avatar unnsteinngardars avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

88x2bu's Issues

(solved - sort of - we cannot fix this - it is problem in 64 bit RasPiOS) DietPI 64bit linker problem

Hello everyone, I am posting this as a continuation of #16 as I am experiencing the same issue reported here #16 (comment)

ERROR: "__const_udelay" [/var/lib/dkms/rtl88x2bu/5.8.7.4/build/88x2bu.ko] undefined!                                                           
ERROR: "__arch_copy_from_user" [/var/lib/dkms/rtl88x2bu/5.8.7.4/build/88x2bu.ko] undefined!                                                    
ERROR: "_raw_spin_unlock" [/var/lib/dkms/rtl88x2bu/5.8.7.4/build/88x2bu.ko] undefined!                                                         
ERROR: "__rcu_read_lock" [/var/lib/dkms/rtl88x2bu/5.8.7.4/build/88x2bu.ko] undefined!                                                          
ERROR: "__rcu_read_unlock" [/var/lib/dkms/rtl88x2bu/5.8.7.4/build/88x2bu.ko] undefined!                                                        
ERROR: "cpu_hwcap_keys" [/var/lib/dkms/rtl88x2bu/5.8.7.4/build/88x2bu.ko] undefined!                                                           
ERROR: "csum_ipv6_magic" [/var/lib/dkms/rtl88x2bu/5.8.7.4/build/88x2bu.ko] undefined!                                                          
ERROR: "__warn_printk" [/var/lib/dkms/rtl88x2bu/5.8.7.4/build/88x2bu.ko] undefined!                                                            
ERROR: "_mcount" [/var/lib/dkms/rtl88x2bu/5.8.7.4/build/88x2bu.ko] undefined!                                                                  
ERROR: "arm64_const_caps_ready" [/var/lib/dkms/rtl88x2bu/5.8.7.4/build/88x2bu.ko] undefined!                                                   
ERROR: "__udelay" [/var/lib/dkms/rtl88x2bu/5.8.7.4/build/88x2bu.ko] undefined!                                                                 
ERROR: "preempt_schedule_notrace" [/var/lib/dkms/rtl88x2bu/5.8.7.4/build/88x2bu.ko] undefined!                                                 
ERROR: "__arch_copy_to_user" [/var/lib/dkms/rtl88x2bu/5.8.7.4/build/88x2bu.ko] undefined! 

My configuration is as follows:
model Raspi 3B
Os DietPios v6.31.2 aarch64
kernel 5.4.51-v8+

Hope someone can help.

Make file Err (-Wno-date-time)

Hi, trying to compile with included dkms-install script make “time and date” error while running make.

Sorry if is trivial issue to fix for savvy user, but might be good to know if unaware.

What I did was remove IF statement that check for version and make EXTRA_CFLAGS += -Wno-date-time always on. This was near line 23 of included Make file.

I have to remove the existing folder /usr/src/88x2bu- and run the script once more after apply change to Make file.

The driver has successful compiled on my old desktop with Kali. Monitor mode work now. Hope this help.

Unknow Hiro USB adapter, also. Want to say thank you for this version. It is not easy to find, I am glad it is here.

(Realtek has to fix this, good luck finding a way to report it) No luck on connecting a WPA3 AP when it performs as a client on raspberry pi 4B

wpa_supplicant version is 2.8-devel by default along with latest raspberry pi OS.
Not sure if this is a known issue or not.

WPA3-SAE (Personal) is listed as part of features though it's not mentioned in client mode... need some help and clarity here.

BTW, gave it a try on macOS driver provided by Dlink https://support.dlink.com/ProductInfo.aspx?m=DWA-181-US on my macbook and both my Dlink DWA-181 and TPlink T3U were able to connect the same WPA3 AP.

Request for Comment: Adding options related to Power Saving

There are some cases when it makes sense to disable Power Saving and there have been cases reported over the years where disabling Power Saving made adapters usable. I have no problems and only had one report of someone having a problem with this driver on a modern OS but I am inclined to add the options to turn power save off. I have added what I think are the correct module parameters to 88x2bu.conf but have not changed the README pending some testing and feedback.

Your testing and feedback is requested.

Nick

INFO: Raspberry Pi Driver Compatibility

Can report successfully building and running the current driver on the following Raspberry Pi/OS versions:

Raspberry Pi 4B (armv8) - DietPi 64-bit, PiOS 32-bit

Raspberry Pi 3B (armv8) - DietPi 32-bit, DietPi 64-bit

Raspberry Pi 2B (armv7) - PiOS 32-bit

Raspberry Pi A+ (armv6) - PiOS 32-bit

  • Swapfile increased to 512MB for compilation.
  • Compilation time circa 4 hrs!

Also have a Pi Zero - but will get to that when time permits and update this post accordingly.

Can also state that AP mode, packet injection and USB3.0 mode work as expected on a Pi 4B running 32-bit PiOS.

(solved) unable to get working on raspberry pi with dnsmasq, vpn

I have another pi with an older driver working fine as a network bridge, when I install this driver and use the same bridge and iptable configs it does not pass traffic through the vpn.
Raspberry Pi mod 4, Raspian OS,
iptable config:
-A FORWARD -i eth0 -o wlan1 -m state --state RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -i wlan1 -o eth0 -j ACCEPT
-A FORWARD -i eth0 -o tun0 -m state --state RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -i tun0 -o eth0 -j ACCEPT
-A FORWARD -i eth0 -o wlan0 -m state --state RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -i wlan0 -o eth0 -j ACCEPT
-t nat:
-A POSTROUTING -o tun0 -j MASQUERADE.
I would like to use your driver as when installed, and vpn is unloaded, it provides much better speed than the old driver.
Not sure what other info you might need, just ask and i'll provide.

Thanks in advance,
Gene.

Installed the driver, AP's showing up but can't connect

Hi, thanks for your time in creating this driver =)

I'm running Mint 20 Cinnamon (4.6.7) Kernel 5.4.0-58-generic.
I've got a Comfast CF-812AC (Chipset RTL8812BU)
I've followed your instructions and when i go to the network icon I can see "realtek 802.11ac NIC" and AP's but I get a connection failed error when I try to connect it keeps saying Auhentication required and it won't connect.

There is another wifi adapter installed on this computer (will move the hard drive into another computer that doesn't have onboard wifi). When I disconnect the Qualcomm Atheros wifi adapter (see screenshot) it will also disable the "USB Wi-Fi"

Any idea how to get this working ?

Scott Mint wifi issue

Add support for multiple kernel versions on the same machine

Hi! Thank you for your work! On my machine I run Arch Linux with two kernel packages, the latest linux and linux-lts. I would like to use this driver for my Archer T3U on both kernels, but I noticed that the install script created a directory named after the driver name and its version, so when I compiled it agains the linux-lts headers it worked flawlessly and the driver was added to the dkms tree successfully, but when I did the same agains the linux headers, dkms found there already was the driver directory, so it stopped. Please, can you add support for multiple kernels? Do you think it's feasible by just adding to the dkms directory name the kernel version?

Change device MAC in probe request

Hi,
I am doing one university project about mac address randomization, and I want to change the mac address during the probe request phase only to locally administrated, I tried in function _issue_probereq() function, the driver sends probe request with a new random mac just one and then don't move on to the authentication phase. I tried
u8 mac[] = {0xbe, 0xf5, 0x70, 0x99, 0x59, 0x1b} then
_rtw_memcpy(pwlanhdr->addr2, mac, ETH_ALEN)

rtl8812bu Compiling error

kali:~/Downloads/88x2bu-master$ uname -r
5.8.0-kali1-amd64

kali:~/Downloads/88x2bu-master$ uname -v
#1 SMP Debian 5.8.7-1kali1 (2020-09-14)

kali:~/Downloads/88x2bu-master$ sudo ./dkms-install.sh
Copying driver to: /usr/src/88x2bu-5.8.7.2
Error! DKMS tree already contains: 88x2bu-5.8.7.2
You cannot add the same module/version combo more than once.

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
'make' all KVER=5.8.0-kali1-amd64 -j3...(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.8.0-kali1-amd64 (x86_64)
Consult /var/lib/dkms/88x2bu/5.8.7.2/build/make.log for more information.

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
'make' all KVER=5.8.0-kali1-amd64 -j3...(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.8.0-kali1-amd64 (x86_64)
Consult /var/lib/dkms/88x2bu/5.8.7.2/build/make.log for more information.
An error occurred while running dkms-install.sh.

Bus 001 Device 003: ID 2357:0115 TP-Link Archer T4U ver.3

error when compiling the driver. is there because im running kernel 5.8?

Probe Response in hostapd WPS mode does not contain metadata

Hi, I am using this driver to create an AP with WPS mode. I have populated the metadata fields and hostapd seems to believe that the beacon is being created properly. When I do an iw scan on a different pi I am picking up other devices wps data, but not that of this given AP. Ideally I would be able to get the Model Number, Serial Number, Device Type, and Device Name properly populated. On a different note that I haven't tried to investigating any insights into station count and utilization outside of WPS would be great as well. Example scan is here iw-scan.txt.

  • hostapd logs

WPS: Use configured UUID - hexdump(len=16): 36 13 59 00 1d d2 11 b2 86 21 57 53 53 51 51 55
WPS: Converting display to virtual_display for WPS 2.0 compliance
WPS: Build Beacon IEs
WPS: * Version (hardcoded 0x10)
WPS: * Wi-Fi Protected Setup State (2)
WPS: * AP Setup Locked
WPS: * Version2 (0x20)
WPS: Build Probe Response IEs
WPS: * Version (hardcoded 0x10)
WPS: * Wi-Fi Protected Setup State (2)
WPS: * AP Setup Locked
WPS: * Response Type (3)
WPS: * UUID-E
WPS: * Manufacturer
WPS: * Model Name
WPS: * Model Number
WPS: * Serial Number
WPS: * Primary Device Type
WPS: * Device Name
WPS: * Config Methods (200c)
WPS: * Version2 (0x20)
random: Got 20/20 random bytes
Get randomness: len=32 entropy=0
GMK - hexdump(len=32): [REMOVED]
Get randomness: len=32 entropy=0
Key Counter - hexdump(len=32): [REMOVED]
WPA: Delay group state machine start until Beacon frames have been configured
WPS: Building WPS IE for (Re)Association Response
WPS: * Version (hardcoded 0x10)
WPS: * Response Type (3)
WPS: * Version2 (0x20)

  • example hostapd.conf

interface=wlan3
driver=nl80211
ssid=testap
channel=7
hw_mode=g
wme_enabled=1
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=windtalker
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
ctrl_interface=/var/run/hostapd
#WPS configuration (AP configured, do not allow external WPS Registrars)
wpa_psk_file=/etc/hostapd/hostapd.psk
eap_server=1
wps_state=2
ap_setup_locked=1
wps_pin_requests=/var/run/hostapd.pin-req
#fields being dropped
uuid=357ac280-1dd2-11b2-8601-5753435f5555
device_name=Node
manufacturer=TestCo
model_name=MN
model_number=001
serial_number=00001
device_type=0-DEADBEEF-1
os_version=00117000
config_methods=label display
#upnp_iface=wlan3
#friendly_name=WPS Access Point
#vendor_elements=dd0411223301
#assocresp_elements=dd0411223301

(solved) please add LICENSE?

Can you list an explicit license on this repo? I'm working on packaging this for nixpkgs and would like to ensure that I can mark the right license for the module.

Thanks!

TP-Link AC1300 (T4U v3) not working on Ubuntu 20.10

I did the installation, reboot and still not working.

Some outputs that might be useful:

$ sudo modprobe 88x2bu
# outputs nothing - that is a good sign since it normally gives an error

$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 1c4f:0034 SiGma Micro XM102K Optical Wheel Mouse
Bus 001 Device 003: ID 2a7a:938f  CASUE USB KB
Bus 001 Device 008: ID 04e8:6864 Samsung Electronics Co., Ltd GT-I9070 (network tethering, USB debugging enabled)
Bus 001 Device 005: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 002: ID 2357:0115 TP-Link Archer T4U ver.3
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

$ sudo iw dev
# outputs nothing

Thanks.

Driver Fails to Load

I purchased a WiFi USB dongle which the seller claims uses the RTL8812BU chipset - https://www.amazon.com/gp/product/B08BYBL2TQ/ .

It shows up using lsusb as: Bus 001 Device 016: ID 0bda:b812 Realtek Semiconductor Corp.

Kernel: Linux version 5.4.0-48-generic (buildd@lcy01-amd64-023) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu118.04)
) #52
18.04.1-Ubuntu

Since the driver is not loaded, it does not show up for iwconfig or ifconfig.

I followed the install instructions and rebooted. When plugging the device in, numerous errors and warnings are added to the syslog, please see attached.
syslog.txt

Could be an issue with the backport-iwlwifi package ...

Doesn't connect to network after reboot

Hello. I have ubuntu 20.04 and after reboot my TP-link t4u not connecting to the network with authentication error. I have to delete the network settings (forget the network) and reconnect with the password.

(pulling hair) Build Err: ERROR (dkms apport): binary package for rtl88x2bu: 5.8.7.4 not found

Hi, there is an error when i run sudo ./install_driver.sh.

'make' -j12 KVER=5.4.0-72-generic KSRC=/lib/modules/5.4.0-72-generic/build...(bad exit status: 2)
ERROR (dkms apport): binary package for rtl88x2bu: 5.8.7.4 not found
Error! Bad return status for module build on kernel: 5.4.0-72-generic (x86_64)
Consult /var/lib/dkms/rtl88x2bu/5.8.7.4/build/make.log for more information.
An error occurred. dkms build error = 10

and the make.log shows below:
make.log
Anyone help me pleeeeee..

Bless you morrowrn !!

I don't know how to send the author a note so I am posting here.
I have an AC1200 and it is working like GANGBUSTERS thanks to your git for 88x2bu
862mb/s (5Ghz) -- 👍

iw dev wlanX del kernel hang

Looking into a kernel hang issue that seems to be happening with a 8822bu chipset wifi module that we are working with on a custom board.

This is running on a Raspberry Pi CM4 with a 64 bit Centos 8 Stream OS variant which is fairly bare bones. We are also running an 8812au chipset variant with your other driver. We can call iw dev wlan8812au del without any issues, but upon running the same command on the interface for the 8822bu, the kernel seems to hang. I have moved to various versions of iw and all paths lead back to a driver issue. I have been having hard time getting any sort of logs off of the device as after execution the entire device hangs and a hard power off and reboot is required. It seems none of the logs are surviving the reboot and am looking for any recommendations on how to debug and rule the driver out or rule the driver in. It seems this does not cause a core dump itself and have not seen a kernel panic other then a process is stuck.

Cudy WU1300S (rtl8822bu) Problems

Hey, I've tried using this driver with my Customer WU1300S and haven't been able to get it work in a proper manner

  • Can't connect to 5GHz (despite them appearing), only 2.4GHz connections. 5GHz connections ask me to re-input password endlessly
  • Connection speed on 2.4GHz connection is incredibly slow and inconsistent (below 1 megabit per second according to Google's speed test)
  • Disconnecting the adapted and putting it in a different USB port might stop it from being detected at all

I'm on Linux Mint 20 with kernel 5.8.0-33 generic. The ID in lsusb is just 0bda:b812

I tried also using the driver listed on Cudy's website but I am having the same issues with that driver too, so I'm not certain this is an issue with this driver or if it's something related to my machine causing this. I did use a different wifi adapted previously and that worked fine, though (with in-kernel drivers). Any help would be greatly appreciated.

(solved) Unstable AP

Sometimes I can't connect to AP with following message:

wlx200db04cb65d: STA 22:2d:a8:d8:e3:69 IEEE 802.11: associated
wlx200db04cb65d: STA 22:2d:a8:d8:e3:69 WPA: event 1 notification
wlx200db04cb65d: STA 22:2d:a8:d8:e3:69 WPA: start authentication
wlx200db04cb65d: STA 22:2d:a8:d8:e3:69 IEEE 802.1X: unauthorizing port
wlx200db04cb65d: STA 22:2d:a8:d8:e3:69 WPA: sending 1/4 msg of 4-Way Handshake
wlx200db04cb65d: STA 22:2d:a8:d8:e3:69 WPA: EAPOL-Key timeout
wlx200db04cb65d: STA 22:2d:a8:d8:e3:69 WPA: sending 1/4 msg of 4-Way Handshake
wlx200db04cb65d: STA 22:2d:a8:d8:e3:69 WPA: EAPOL-Key timeout
wlx200db04cb65d: STA 22:2d:a8:d8:e3:69 WPA: sending 1/4 msg of 4-Way Handshake
wlx200db04cb65d: STA 22:2d:a8:d8:e3:69 WPA: EAPOL-Key timeout
wlx200db04cb65d: STA 22:2d:a8:d8:e3:69 WPA: sending 1/4 msg of 4-Way Handshake
wlx200db04cb65d: STA 22:2d:a8:d8:e3:69 WPA: EAPOL-Key timeout
wlx200db04cb65d: STA 22:2d:a8:d8:e3:69 WPA: PTKSTART: Retry limit 4 reached
wlx200db04cb65d: STA 22:2d:a8:d8:e3:69 WPA: event 3 notification
wlx200db04cb65d: STA 22:2d:a8:d8:e3:69 IEEE 802.1X: unauthorizing port
wlx200db04cb65d: STA 22:2d:a8:d8:e3:69 MLME: MLME-DEAUTHENTICATE.indication(22:2d:a8:d8:e3:69, 2)
wlx200db04cb65d: STA 22:2d:a8:d8:e3:69 MLME: MLME-DELETEKEYS.request(22:2d:a8:d8:e3:69)
wlx200db04cb65d: STA 22:2d:a8:d8:e3:69 IEEE 802.11: disassociated

This happens when the signal is weak, when this happens if I move the client to a better signal location it wouldn't recover, However With a system reboot the problem goes away, and I can connect it again.

Kali Linux Raspberry Pi 4 - Can't bring interface up

I've been trying to get this driver up and running on my raspberry pi 4 for the last couple of hours but no luck so far. The raspberry pi is running Kali 2020.1 with the latest upgrades etc. Installing the driver seems to work just fine and no errors occur.

However, I can't seem the interface up, I've tried "ifconfig wlan0 up" and "ip link set wlan0 up", both times I get the error "SIOCSIFFLAGS: Operation not permitted" (yes I'm running it as root so sudo isn't needed).

Kernel version = 4.19.118-Re4son-v8l+

I've been checking my logs but can't find anything related to the issue.

Hope someone can assist me in this matter.

Possibly missing device id whitelisting?

Apologies if I am asking too much. My bodgy half-half ubuntu 20.10/Pop_OS! install seems to not want to play nicely with my new wifi dongle, and your drivers have gotten me the furthest so far over a few days of mucking about and swapping wifi dongles over to get onto the internet using my old slow dongle that works, searching up solutions, switching over to the new dongle, reboot, still not working, repeat.

$ uname -r
5.8.0-7630-generic

this is the cheap amazon wifi dongle https://www.amazon.com.au/gp/product/B07YBS7C4R/ref=ppx_yo_dt_b_asin_title_o03_s00?ie=UTF8&psc=1

$ lsusb
Bus 001 Device 003: ID 0bda:b812 Realtek Semiconductor Corp. RTL88x2bu [AC1200 Techkey]

Serial number is 123456 so I am pretty sure it's a dodgy knock-off of some sort?

Your install works well (much better than the dodgy files included in the url in the amazon listing) and actually goes through cleanly. I can see the driver loaded in lsmod

$ lsmod | grep 88x
88x2bu 3031040 0
cfg80211 782336 1 88x2bu

I've followed the wifi setup hints (set my AP to split 2.4 and 5ghz into different SSIDs, set the channels and widths as recommended). But I am variously getting NetworkManager asking for the password over and over again, or spinning circle endlessly, or a "failed to activate network device" error.

I did get a solid connection briefly before I split my 2.4 and 5ghz wifi, but it was slow and DNS intermittently resolving. Lasted all of 20 seconds or so.

(cannot duplicate) not working on manjaro

uname -a
Linux 4790K 5.9.16-1-MANJARO #1 SMP PREEMPT Mon Dec 21 22:00:46 UTC 2020 x86_64 GNU/Linux

execute
sudo ip link set wlp0s20u13 down && sudo ip link set wlp0s20u13 name wlan2 && sudo ip link set wlp0s20u13 up

dmesg
[ 115.531593] WARNING: CPU: 2 PID: 270 at /var/lib/dkms/rtl88x2bu/5.8.7.4/build/os_dep/linux/rtw_proc.c:5311 rtw_adapter_proc_deinit+0x77/0x7b [88x2bu]
[ 115.531593] Modules linked in: 88x2bu(OE) squashfs loop intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp iwldvm kvm_intel nouveau mac80211 kvm snd_hda_codec_realtek libarc4 snd_hda_codec_generic irqbypass i915 crct10dif_pclmul at24 mei_hdcp ledtrig_audio snd_hda_codec_hdmi snd_soc_rt5640 crc32_pclmul iwlwifi ghash_clmulni_intel ttm snd_soc_rl6231 iTCO_wdt intel_pmc_bxt iTCO_vendor_support snd_hda_intel aesni_intel snd_soc_core snd_intel_dspcfg snd_hda_codec crypto_simd cryptd i2c_algo_bit glue_helper snd_hda_core snd_compress mxm_wmi drm_kms_helper ac97_bus rapl snd_hwdep snd_pcm_dmaengine intel_cstate cec intel_gtt rc_core syscopyarea cfg80211 intel_uncore i2c_i801 snd_pcm sysfillrect sysimgblt fb_sys_fops e1000e snd_timer mei_me rfkill mei lpc_ich i2c_smbus snd pcspkr soundcore evdev wmi mac_hid drm uinput crypto_user fuse agpgart ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 xhci_pci crc32c_intel xhci_hcd ehci_pci ehci_hcd
[ 115.531616] CPU: 2 PID: 270 Comm: kworker/2:2 Tainted: G W OE 5.9.16-1-MANJARO #1
[ 115.531616] Hardware name: Gigabyte Technology Co., Ltd. Z97X-UD3H/Z97X-UD3H-CF, BIOS F9 09/18/2015
[ 115.531618] Workqueue: usb_hub_wq hub_event
[ 115.531641] RIP: 0010:rtw_adapter_proc_deinit+0x77/0x7b [88x2bu]
[ 115.531642] Code: ec 4c 89 f7 e8 58 fe ff ff 4c 89 fe 4c 89 ef e8 a5 5b 16 ec 49 c7 86 88 50 00 00 00 00 00 00 5b 5d 41 5c 41 5d 41 5e 41 5f c3 <0f> 0b eb f1 0f 1f 44 00 00 41 57 41 56 41 55 41 54 55 53 4c 8b b7
[ 115.531643] RSP: 0018:ffff98a701183ae8 EFLAGS: 00010246
[ 115.531643] RAX: ffffffffc11f9f93 RBX: ffff8ed74cea0000 RCX: 000000000098e802
[ 115.531644] RDX: 000000000098e602 RSI: e6093d3c1e6d9bc1 RDI: ffff8ed74cea0000
[ 115.531644] RBP: 0000000000000000 R08: 0000000000000000 R09: ffff8ed7400de248
[ 115.531645] R10: 0000000000000000 R11: 0000000000000000 R12: ffff98a701183b90
[ 115.531645] R13: dead000000000122 R14: ffff98a700641000 R15: ffff8ed73c922140
[ 115.531646] FS: 0000000000000000(0000) GS:ffff8ed767a80000(0000) knlGS:0000000000000000
[ 115.531646] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 115.531647] CR2: 00007f1afeb47eb0 CR3: 000000001a40e001 CR4: 00000000001706e0
[ 115.531647] Call Trace:
[ 115.531670] rtw_ndev_uninit+0xa/0xb [88x2bu]
[ 115.531673] rollback_registered_many+0x368/0x5a0
[ 115.531675] unregister_netdevice_queue+0x8d/0x110
[ 115.531676] unregister_netdev+0x18/0x20
[ 115.531696] rtw_os_ndev_unregister+0x56/0xb1 [88x2bu]
[ 115.531716] rtw_os_ndevs_unregister+0x23/0x2d [88x2bu]
[ 115.531736] rtw_dev_remove+0x24/0xa7 [88x2bu]
[ 115.531737] usb_unbind_interface+0x8a/0x270
[ 115.531739] ? kernfs_find_ns+0x35/0xd0
[ 115.531741] __device_release_driver+0x17a/0x230
[ 115.531742] device_release_driver+0x24/0x30
[ 115.531743] bus_remove_device+0xdb/0x140
[ 115.531745] device_del+0x16f/0x410
[ 115.531746] usb_disable_device+0xc6/0x1f0
[ 115.531749] usb_disconnect.cold+0x7e/0x250
[ 115.531750] hub_event+0xc67/0x1890
[ 115.531752] ? _raw_spin_unlock_irq+0x1d/0x30
[ 115.531755] process_one_work+0x1da/0x3d0
[ 115.531756] worker_thread+0x4d/0x3d0
[ 115.531757] ? rescuer_thread+0x410/0x410
[ 115.531758] kthread+0x142/0x160
[ 115.531759] ? __kthread_bind_mask+0x60/0x60
[ 115.531761] ret_from_fork+0x22/0x30
[ 115.531763] ---[ end trace b359bfc27ca8a303 ]---
[ 115.894930] usb 2-13: new high-speed USB device number 57 using xhci_hcd
[ 116.035351] usb 2-13: New USB device found, idVendor=0bda, idProduct=b812, bcdDevice= 2.10
[ 116.035352] usb 2-13: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 116.035353] usb 2-13: Product: USB3.0 802.11ac 1200M Adapter
[ 116.035354] usb 2-13: Manufacturer: Realtek
[ 116.035354] usb 2-13: SerialNumber: 123456

Thanks for help

Kernel panic with two dongles plugged in USB 3.0

We have kind of an odd set up and are using this driver.

We have two Cudy AC1300 devices with the rtl8822bu plugged into a Raspberry Pi 4 64 bit Centos flavored linux and using NetworkManager. One Cudy is connecting to a network and the other is in AP mode. Modified config to set USB to 3.0 and vht auto enabled 2. Seems that we are getting quite a bit of different behavior with two plugged in compared to just one. The first being kernel panics (logs pasted below). I've disabled the USB 3.0 and the kernel panic goes away. In USB 2.0 mode nmcli says that the AP is being broadcasted, but it is not until we physically unplug/replug the dongle. Both odd issues that I wanted to bring to your attention. If any other information is needed feel free to reach out.

[ 20.880338] uart-pl011 fe201000.serial: no DMA platform data
[ 21.029085] Unable to handle kernel paging request at virtual address ffffffc01145de50
[ 21.029141] Mem abort info:
[ 21.029159] ESR = 0x96000007
[ 21.029179] EC = 0x25: DABT (current EL), IL = 32 bits
[ 21.029205] SET = 0, FnV = 0
[ 21.029223] EA = 0, S1PTW = 0
[ 21.029241] Data abort info:
[ 21.029258] ISV = 0, ISS = 0x00000007
[ 21.029279] CM = 0, WnR = 0
[ 21.029298] swapper pgtable: 4k pages, 39-bit VAs, pgdp=0000000000d5b000
[ 21.029329] [ffffffc01145de50] pgd=00000000fbfff003, pud=00000000fbfff003, pmd=00000000f5c8e003, pte=0000000000000000
[ 21.032712] Internal error: Oops: 96000007 [#1] PREEMPT SMP
[ 21.036144] Modules linked in: nft_counter ipt_REJECT nf_reject_ipv4 xt_tcpudp xt_state xt_conntrack nf_conntrack nf_defrag_ipv4 nft_compat nf_tables nfnetlink rtc_ds1307 regmap_i2c ads7846 88x2bu(O) brcmfmac brcmutil bcm2835_codec(C) joydev bcm2835_isp(C) v4l2_mem2mem bcm2835_v4l2(C) sha256_generic libsha256 videobuf2_dma_contig evdev bcm2835_mmal_vchiq(C) cfg80211 videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common rfkill raspberrypi_hwmon i2c_bcm2835 videodev mc vc_sm_cma(C) spi_bcm2835 rpivid_mem uio_pdrv_genirq uio sch_fq_codel i2c_dev ip_tables x_tables ipv6 nf_defrag_ipv6 crc_ccitt
[ 21.060600] CPU: 3 PID: 498 Comm: RTW_CMD_THREAD Tainted: G C O 5.4.49-v8.1.el8 #1
[ 21.064255] Hardware name: Raspberry Pi 4 Model B Rev 1.2 (DT)
[ 21.067988] pstate: 60000005 (nZCv daif -PAN -UAO)
[ 21.071931] pc : rtw_hal_write_bbreg+0x28/0x54 [88x2bu]
[ 21.075708] lr : halwifionly_phy_set_bb_reg+0x3c/0x4c [88x2bu]
[ 21.079426] sp : ffffffc01147ba60
[ 21.083226] x29: ffffffc01147ba60 x28: 0000000000000000
[ 21.087026] x27: 0000000000000024 x26: 0000000000000000
[ 21.090794] x25: 0000000000000000 x24: 0000000000000000
[ 21.094604] x23: 0000000000000001 x22: 0000000000000001
[ 21.098142] x21: 0000000000000300 x20: 0000000000000cbc
[ 21.101511] x19: ffffffc011459000 x18: 0000000000000000
[ 21.105029] x17: 0000000000000000 x16: 0000000000000000
[ 21.108573] x15: 0000000000000000 x14: 0000000000000000
[ 21.112042] x13: ffffffc010e76000 x12: 0000000000000000
[ 21.115394] x11: 0000000000000000 x10: 00000000000019a0
[ 21.118755] x9 : ffffffc01147b660 x8 : ffffff80ea567340
[ 21.122188] x7 : 0000a8d6fdb4e812 x6 : 0000000000000001
[ 21.125700] x5 : ffffff80e98e0d80 x4 : ffffff80f79f7ce0
[ 21.129187] x3 : 0000000000000001 x2 : 0000000000000300
[ 21.132661] x1 : 0000000000000cbc x0 : ffffffc0091d9194
[ 21.136041] Call trace:
[ 21.139469] rtw_hal_write_bbreg+0x28/0x54 [88x2bu]
[ 21.142728] halwifionly_phy_set_bb_reg+0x3c/0x4c [88x2bu]
[ 21.146020] hal8822b_wifi_only_switch_antenna+0x34/0x58 [88x2bu]
[ 21.149243] ex_hal8822b_wifi_only_switchbandnotify+0x28/0x34 [88x2bu]
[ 21.152447] hal_btcoex_wifionly_switchband_notify+0x58/0x5c [88x2bu]
[ 21.155641] rtw_btcoex_wifionly_switchband_notify+0x20/0x2c [88x2bu]
[ 21.158726] rtl8822b_switch_chnl_and_set_bw+0x40c/0x468 [88x2bu]
[ 21.161633] rtl8822b_handle_sw_chnl_and_set_bw+0x1fc/0x200 [88x2bu]
[ 21.164429] rtl8822b_set_channel_bw+0x54/0x68 [88x2bu]
[ 21.167201] rtw_hal_set_chnl_bw+0xcc/0x154 [88x2bu]
[ 21.169932] set_channel_bwmode+0x268/0x26c [88x2bu]
[ 21.172694] site_survey+0x50/0x1bc [88x2bu]
[ 21.175445] sitesurvey_cmd_hdl+0xa40/0xcf0 [88x2bu]
[ 21.178169] rtw_cmd_thread+0x4ec/0x718 [88x2bu]
[ 21.180852] kthread+0x124/0x128
[ 21.183556] ret_from_fork+0x10/0x18
[ 21.186281] Code: 2a0203f5 2a0303f6 aa1e03e0 d503201f (f9672a64)
[ 21.189103] ---[ end trace 830809322120dce9 ]---

(solved) Error when installing to Raspberry Pi OS (64 bit)

Tried Installing this on my raspberry pi 64 bit and keeps getting a dkms build: 10 error:

root@piserver:~/src/88x2bu# sudo ./raspi64.sh
I386 support was turned off in Makefile as planned.
Raspberry Pi OS (64 bit) support was turned on in Makefile as planned.
root@piserver:~/src/88x2bu# sudo ./install-driver.sh
Installing rtl88x2bu-5.8.7.4
Copying source files to: /usr/src/rtl88x2bu-5.8.7.4
Copying 88x2bu.conf to: /etc/modprobe.d

Creating symlink /var/lib/dkms/rtl88x2bu/5.8.7.4/source ->
                 /usr/src/rtl88x2bu-5.8.7.4

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make' -j4 KVER=5.10.5-v8+ KSRC=/lib/modules/5.10.5-v8+/build...........................................................(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.10.5-v8+ (aarch64)
Consult /var/lib/dkms/rtl88x2bu/5.8.7.4/build/make.log for more information.
An error occurred while running: dkms build : 10

------------------------------
Deleting module version: 5.8.7.4
completely from the DKMS tree.
------------------------------
Done.
Removing 88x2bu.conf from: /etc/modprobe.d
Removing source files from: /usr/src/rtl88x2bu-5.8.7.4
Cleanup complete
dkms status:
8822bu, 1.1: added
rtl88x2bu, 5.6.1: added
root@piserver:~/src/88x2bu# uname -a
Linux piserver.local 5.10.5-v8+ #1392 SMP PREEMPT Sat Jan 9 18:56:30 GMT 2021 aarch64 GNU/Linux

FTBS: ‘BIT_APP_FCS_8821C’ undeclared

Building from the latest commit 0c094b2 results in

rtw_recv.c:3928:34: error: ‘BIT_APP_FCS_8821C’ undeclared (first use in this function); did you mean ‘BIT_APP_FCS_8822B’?

steps to reproduce:

$ sudo ./install-driver.sh 
Installing rtl88x2bu-5.8.7.4
Copying source files to: /usr/src/rtl88x2bu-5.8.7.4
Copying 88x2bu.conf to: /etc/modprobe.d

Creating symlink /var/lib/dkms/rtl88x2bu/5.8.7.4/source ->
                 /usr/src/rtl88x2bu-5.8.7.4

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
'make' -j4 KVER=5.9.10 KSRC=/lib/modules/5.9.10/build................................(bad exit status: 2)
ERROR (dkms apport): binary package for rtl88x2bu: 5.8.7.4 not found
Error! Bad return status for module build on kernel: 5.9.10 (armv7l)
Consult /var/lib/dkms/rtl88x2bu/5.8.7.4/build/make.log for more information.
An error occurred while running: dkms build : 10

and logs:

$ cat /var/lib/dkms/rtl88x2bu/5.8.7.4/build/make.log
DKMS make.log for rtl88x2bu-5.8.7.4 for kernel 5.9.10 (armv7l)
Tue 29 Dec 2020 01:10:41 AM MSK
make ARCH=arm CROSS_COMPILE= -C /lib/modules/5.9.10/build M=/var/lib/dkms/rtl88x2bu/5.8.7.4/build  modules
make[1]: Entering directory '/mnt/media/backup/linux-5.9.10'
  CC [M]  /var/lib/dkms/rtl88x2bu/5.8.7.4/build/core/rtw_cmd.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.8.7.4/build/core/rtw_security.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.8.7.4/build/core/rtw_debug.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.8.7.4/build/core/rtw_io.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.8.7.4/build/core/rtw_ioctl_query.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.8.7.4/build/core/rtw_ioctl_set.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.8.7.4/build/core/rtw_ieee80211.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.8.7.4/build/core/rtw_mlme.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.8.7.4/build/core/rtw_mlme_ext.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.8.7.4/build/core/rtw_mi.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.8.7.4/build/core/rtw_wlan_util.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.8.7.4/build/core/rtw_vht.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.8.7.4/build/core/rtw_pwrctrl.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.8.7.4/build/core/rtw_rf.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.8.7.4/build/core/rtw_chplan.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.8.7.4/build/core/rtw_recv.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.8.7.4/build/core/rtw_sta_mgt.o
/var/lib/dkms/rtl88x2bu/5.8.7.4/build/core/rtw_recv.c: In function ‘fill_radiotap_hdr’:
/var/lib/dkms/rtl88x2bu/5.8.7.4/build/core/rtw_recv.c:3928:34: error: ‘BIT_APP_FCS_8821C’ undeclared (first use in this function); did you mean ‘BIT_APP_FCS_8822B’?
 3928 |  if (rtw_hal_rcr_check(padapter, BIT_APP_FCS_8821C))
      |                                  ^~~~~~~~~~~~~~~~~
      |                                  BIT_APP_FCS_8822B
/var/lib/dkms/rtl88x2bu/5.8.7.4/build/core/rtw_recv.c:3928:34: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [scripts/Makefile.build:283: /var/lib/dkms/rtl88x2bu/5.8.7.4/build/core/rtw_recv.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:1784: /var/lib/dkms/rtl88x2bu/5.8.7.4/build] Error 2
make[1]: Leaving directory '/mnt/media/backup/linux-5.9.10'
make: *** [Makefile:2419: modules] Error 2

(status unknown) Realtek-rtl8812bu not active on Fedora 33 Server; no GUI (Kernel 5.11.11-200)

Dear morrownr,

First of all, thank you very much! Your repository has made life a little bit easier, at least for me, since i've stumbled upon it. I've been using your driver for the Realtek-rtl8812bu chipset on a machine with both Linux Mint (Ubuntu based) and LMDE 4 (Debian based) very successfully 👍
(here the wifi adapter: https://www.amazon.de/EasyULT-1200Mbps-802-11ac-Dualband-Empf%C3%A4nger/dp/B07YDHTHH3/ref=cm_cr_arp_d_product_top?ie=UTF8).
Both USB 2.0 and USB 3.1 (gen1) were working fine. 👍

Here is the the problem:

When i use Fedora 33 on this same machine without GUI it doesn't work for me (i am trying to turn this machine into a server, but i am rather new to Linux). I am at a loss on how to activate the wifi adapter.

What i did to install the driver:

sudo dnf update
sudo dnf install -y dkms git
mkdir src
cd ~/src
git clone https://github.com/morrownr/88x2bu.git
cd ~/src/88x2bu
sudo ./install-driver.sh
sudo reboot

after the reboot i tried to check for wifi signals with:
(following this guide: https://ostechnix.com/connect-and-disconnect-wifi-from-commandline-in-linux/)

$ nmcli device wifi list

It doesn't give me any output though. No wifi networks are listed that i could connect to. See here:

grafik

Also the wifi-stick doesn't blink blue, so i think it still is turned off.

How to turn it on? Is the driver not compatible with Fedora or am i missing something?

WiFi RTT/FTM Feature

Hey Nick,

Quick question, according to WiFi Alliance, the RTL8812BU is capable of 802.11mc FTM. Would you happen to know if this driver supports it? Or if not, how I could go about trying to develop/implement this feature on this driver to get the RTL8812BU to either act as a FTM initiator or responder?

Thanks!

Change Sequence number in probe request

Hi,
I want to change the sequence number in probe request to each 4 (ex: 0, 4, 8 ....), so far I have treid (rtw_mlme_ext.c: _issue_probereq()):
SetSeqNum(pwlanhdr, pmlmeext->mgnt_seq)
pmlmeext->mgnt_seq += 4
But no effect

TP-Link Archer T3U v1 not working in Debian

Hello,

I am unable to make this driver work in Debian.

System configuration :

Debian 11 (bullseye), fully updated, kernel 5.9.0.1
Driver version : 5.8.7.4 (I saw #10 and tried to delete everything and reinstall but no luck)

The wireless card is recognized by iw dev

phy#9
        Interface wlxd03745b1a9ba
                ifindex 12
                wdev 0x900000001
                addr d0:37:45:b1:a9:ba
                type managed
                txpower -100.00 dBm

Also by iwconfig

wlxd03745b1a9ba  unassociated  Nickname:"<WIFI@REALTEK>"
          Mode:Managed  Frequency=2.412 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/100  Signal level=0 dBm  Noise level=0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

lsusb also shows it

/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
    |__ Port 2: Dev 11, If 0, Class=Vendor Specific Class, Driver=rtl88x2bu, 5000M

But the device will not connect despite correct configuration used in /etc/network/interfaces

When I use wpa_supplicant I get this :

Successfully initialized wpa_supplicant
nl80211: kernel reports: Authentication algorithm number required

Using wpa_cli

Selected interface 'wlxd03745b1a9ba'

Interactive mode

> scan
OK
<3>CTRL-EVENT-SCAN-FAILED ret=-1

Note that I succeeded once with scanning but at the last step (enable_network) it threw a firmware error and errored out. Sadly I did not copy the message.

Let me know if you need more information !

EDIT : purely informative, this driver : https://github.com/RinCat/RTL88x2BU-Linux-Driver works but only in USB 2.0 mode (crashed when I attempted to transfer a file when in USB 3.0 mode)

README

All,

Maintaining 5 Realtek out-of-kernel drivers as well as the informational sites related to using USB adapters on Linux is something that I enjoy but I have some requests and information I want to pass on. Most of the issues that are reported are not bugs but are configuration and setup issues. I am requesting anyone with knowledge on the subject being reported to offer help. Any issues that you can help resolve allows me to work on the things you really need me working on... like keeping these drivers working on new kernels as they are released.

If you are reporting an issue, please give us a statement about what you are trying to accomplish with your setup, the pertinent hardware and software details, exactly what the problem is and what the results should be and lastly, please provide the steps necessary to duplicate the issue. These drivers can and do work on a vast number of operating systems and hardware combinations so you need to set the table for those that can help you.

Note: My experience maintaining and using these drivers causes me to offer this advice. Many Linux users would be better served with adapters that do not use these Realtek drivers. These Realtek drivers are not Linux Wireless standards compliant. This causes a variety of issues when using various apps and utilities. Realtek does not release these drivers publicly and they do not support them. Have you tried to report a bug to Realtek lately? My recommendation to most Linux users is to use usb adapters that use in-kernel drivers as those drivers do support Linux Wireless standards and it is possible to report bugs. To that end, I have established this site:

https://github.com/morrownr/USB-WiFi

Do I plan to keep maintaining these Realtek drivers? Yes, I have and support adapters that use the Realtek chipsets. Will I be buying new adapters that use Realtek chipsets? No, not as long as there are good alternatives that are properly supported.

Comments welcome.

Regards,

Nick

Word of Warning: Current 'raspberry-kernel-headers' (5.4.79) not 64-bit friendly

Have just upgraded my RPI3B. New kernel. New kernel source (both version 20201201-1). Compilation of the 88x2bu driver failed due to the headers 5.4.79 not having been 'fixed' for 64-bit compilation. Consequently, no 88x2bu 64-bit driver!

This has happened before and will probably happen again. I'd caution anyone who's running 64-bit PiOS or DietPi NOT to upgrade the kernel until the headers have been fixed. A fresh 64-bit DietPi install will also fail because it runs an 'upgrade' and 'dist-upgrade' as part of the install/configuration process.

I'm reverting to 32-bit as a consequence of my dependency on the 88x2bu driver.

80MHz in monitor mode

Hi!

Successfully deployed on RaspberryPi 4 under Ubuntu Bionic Beaver.

But.

Unable to dump traffic in 80MHz channels. HT40+ and HT40- works fine but 80MHz can show me only Management frames. And I know that there is data, because there is transmission that I can see with my Intel ax200 chipset and in Radiotap info there is 80MHz.

TP-Link Archer T4U V3. RTL8812BU.

when switch to usb3.0 hostapd failed to function

In Usb2.0 mode everything working fine, when switch to usb3.0 ap is not working with following error message:

nl80211: beacon_ies - hexdump(len=6): 7f 04 00 00 00 02
nl80211: proberesp_ies - hexdump(len=6): 7f 04 00 00 00 02
nl80211: assocresp_ies - hexdump(len=6): 7f 04 00 00 00 02
nl80211: Beacon set failed: -22 (Invalid argument)
Failed to set beacon parameters

I use rpi4 8gb with ubuntu server 20.04.2.

"Operation not permitted" Raspberry Pi 4 Kali Linux

Hello, I've been trying to get my rtl8812bu adapter working with Kali Linux on my Pi 4B and I was recommended this driver, however upon successfully building/installing it, I'm unable to do anything with the adapter.
If I try to bring it UP, set it into monitor mode, etc it throws an "Operation not permitted" error. I've run the 64 bit Raspberry Pi script and the fix described in #8 to no avail (though #8 did fix build errors I had)

Driver not working

Hi, i've problem with driver, i followed the instruction and after reboot nothing changed, so i check that the driver was loaded with lsmod, but it wasn't there, so i loaded manually with modprobe but also nothing

wifi stick: TP-Link Archer T3U Plus with 8822bu chipset
distro: xubuntu-20.04

image

how does it compare to others drivers

hello, thanks for your work.
do you know how it compare to others 88x2bu drivers like Rincat's (the one I'm using) and cilynx's

I will try it when getting back home, but if you know some details that make this repo "better" than the other, I would like to know so I can change to this driver, thanks

MAC Randomization causing compile issue

Hi, I am running in Linux 20.04
I am trying to use MAC randomization by defining the macro #CONFIG_RTW_CFGVENDOR_RANDOM_MAC_OUI in drv.types.h, but during compilation I get:
ERROR: modpost: "rtw_hal_set_pno_random_get_mac_addr" [full_path] undefined!
ERROR: modpost: "rtw_hal_set_hw_mac_addr" [full_path] undefined!

(solved) Cudy AC1300 WU1300S

Well I went with the Cudy WU100s like many recommended. I am so close to finally having my WIFI set up I can feel it. I'll keep working on it regardless. I am stuck on Part 5 of this Install if you have any more advice to offer. I have the driver on CD, USB, can download from the Internet using a Hotspot, and have it in a tar.gz file through /Home/Jimmy/Project/. For whatever reason I can't seem to access once I switch to the Terminal. No such file or directory. I figured the CD only has Windows/MAC driver. Should I do root@linux since I'm on Linux Mint and not Ubuntu? https://newwezhanoss.oss-cn-hangzhou.aliyuncs.com/contents/sitefiles2019/10096568/files/281895..pdf?Expires=1612638716&OSSAccessKeyId=LTAIekGM1705vEQp&Signature=9heL83c+ZueYqtoPEFIop1dca2k=&response-content-disposition=inline;filename=RTL88x2BU%20linux%20Installation%20guide.pdf&response-content-type=application/pdf
Edit 1: I found the Realtek RTL811 under Network connections but can't seem to connect to this device.

(solved) Wi-Fi turns on and off

Device: Cudy AC1300 WU1300S (0bda:b812)
Distro: Pop OS 20.04
Kernel: 5.8.0-7642-generic

Video evidence with dmesg -w

  • It's connected via USB 3 directly to the motherboard. I tried rtw_switch_usb_mode=1, to no avail.
  • This didn't happen when I installed the driver. It started happening after a reboot.
  • Unplugging it and plugging it back in fixed it. I can't reproduce now even after a reboot. Thought it was still worth tracking.

P.S. Thanks for your valuable work.

Ap not detect but injection is working

Hi Developer
Ap not detect but injection is working
#aireplay-ng --test wlan1
11:45:32 Trying broadcast probe requests...
11:45:32 Injection is working!
11:45:34 Found 0 APs
i use parrot os

(solved) txpower strange behavior

Hi,
it might be strange but I have noticed with the latest version of the driver a strange behavior. I check the txpower power from time to time and I notice that it changes from 20 up to 23 dBm. I swear I don't touch the txpower neither me nor a script. I have tested other similar drivers but its only with this one that I noticed it. My dongle is a T4U v.3

To make my self clear, I don't consider it as a problem I just want to mention it because it's kinda strange.

(solved-finally) Driver options

Could you please give advice on how to interrogate, and potentially modify, the various driver options found when you issue the "ls /sys/module/88x2bu/parameters" command?

Thanks in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.