All Projects → coolshou → rtl8814au

coolshou / rtl8814au

Licence: other
Drivers for the rtl8814au chipset wireless adapters (D-Link DWA-192 rev A1)

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to rtl8814au

lkm-sandbox
Collection of Linux Kernel Modules and PoC to discover, learn and practice Linux Kernel Development
Stars: ✭ 36 (+100%)
Mutual labels:  linux-kernel-module
Linux-Kernel-Driver-Programming
Implementation of PCI drivers, kprobe, sysfs, devfs, sensor driver, miscdevices, synchronization
Stars: ✭ 43 (+138.89%)
Mutual labels:  linux-kernel-module
lustre-release
Mirror of official Lustre development repository http://git.whamcloud.com/
Stars: ✭ 35 (+94.44%)
Mutual labels:  linux-kernel-module
virtual touchscreen
Simple evdev linux device driver and GUI program to simulate multitouch touchscreen
Stars: ✭ 76 (+322.22%)
Mutual labels:  linux-kernel-module
nrf24
nrf24l01 linux device driver
Stars: ✭ 20 (+11.11%)
Mutual labels:  linux-kernel-module
Embedded-Linux-Education-Kit
Embedded Linux Education Kit
Stars: ✭ 66 (+266.67%)
Mutual labels:  linux-kernel-module
devheart
Listen to Tux's heartbeat with this awesome Linux Kernel Module ❤️
Stars: ✭ 58 (+222.22%)
Mutual labels:  linux-kernel-module
Umbra
A LKM rootkit targeting 4.x and 5.x kernel versions which opens a backdoor that can spawn a reverse shell to a remote host, launch malware and more.
Stars: ✭ 98 (+444.44%)
Mutual labels:  linux-kernel-module
Linux Kernel Module Cheat
The perfect emulation setup to study and develop the Linux kernel v5.4.3, kernel modules, QEMU, gem5 and x86_64, ARMv7 and ARMv8 userland and baremetal assembly, ANSI C, C++ and POSIX. GDB step debug and KGDB just work. Powered by Buildroot and crosstool-NG. Highly automated. Thoroughly documented. Automated tests. "Tested" in an Ubuntu 19.10 ho…
Stars: ✭ 2,748 (+15166.67%)
Mutual labels:  linux-kernel-module
linux kernel wiki
linux内核学习资料:200+经典内核文章,100+内核论文,50+内核项目,500+内核面试题,80+内核视频
Stars: ✭ 1,653 (+9083.33%)
Mutual labels:  linux-kernel-module
superhide
Example of hooking a linux systemcall
Stars: ✭ 48 (+166.67%)
Mutual labels:  linux-kernel-module
satan
🔓 x86 Linux Kernel rootkit for Debian 9 (4.9.0-11-686-pae)
Stars: ✭ 31 (+72.22%)
Mutual labels:  linux-kernel-module

rtl8814au

Drivers for the rtl8814au chipset for wireless adapters (D-Link DWA-192 rev A1)

build & install

git clone https://github.com/coolshou/rtl8814au.git
cd driver
make
sudo make install

debian dkms package (require dpkg-dev, dkms, dh-modaliases)

sudo apt install  debhelper dpkg-dev dkms dh-modaliases
cd driver
dpkg-buildpackage -b --no-sign
cd ..
dpkg -i rtl8814au-dkms_4.3.21.1-24835.20190115_all.deb

UEFI Secure Boot - (boot the kernel with signed)

if insmod the module it shows error of "Required key not available", you are using a kernel which is signed Only signed module can be use in this condition.

sign needed error

  1. Create signing keys
    openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -days 36500 -subj "/CN=Descriptive name/"
  1. Sign the module
    sudo /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 ./MOK.priv ./MOK.der /path/to/module
  1. Register the keys to Secure Boot
    sudo mokutil --import MOK.der
	Supply a password for later use after reboot
  1. Reboot and follow instructions to Enroll MOK (Machine Owner Key). Here's a sample with pictures. The system will reboot one more time.
  2. Confirm the key is enrolled
mokutil --test-key MOK.der

USB2.0/3.0 mode switch

 initial it will use USB2.0 mode which will limite 5G 11ac throughput (USB2.0 bandwidth only 480Mbps => throughput around 240Mbps)
when modprobe add following options will let it switch to USB3.0 mode at initial driver
options 8814au rtw_switch_usb_mode=1



## TODO: run time change usb2.0/3.0 mode
### usb2.0 => usb3.0
```
sudo sh -c "echo '1' > /sys/module/8814au/parameters/rtw_switch_usb_mode"
```
### usb3.0 => usb2.0
```
sudo sh -c "echo '2' > /sys/module/8814au/parameters/rtw_switch_usb_mode"
```



Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].