aircrack-ng / rtl8188eus

RealTek RTL8188eus WiFi driver with monitor mode & frame injection support
977 stars 407 forks source link

suggesting patch to work with kernel-5.6.3 branch v5.7.6.1 #41

Open ghost opened 4 years ago

ghost commented 4 years ago

rtl8188eus-5.7.6.1-ioctl_cfg8021.c-kernel5.6.patch

this patchs two files:

  1. /os_dep/linux/ioctl_cfg80211.c
  2. /os_dep/linux/rtw_proc.c same see on tomaspinho on Feb 10 for rtl8821ce

this work for me, clean compiled

`apt-get install dkms-rtl8188eus-5.7.6.1-2pclos2020.x86_64.rpm Reading Package Lists... Done Building Dependency Tree... Done Selecting dkms-rtl8188eus for 'dkms-rtl8188eus-5.7.6.1-2pclos2020.x86_64.rpm' The following NEW packages will be installed: dkms-rtl8188eus (5.7.6.1-2pclos2020) 0 upgraded, 1 newly installed, 0 removed and 19 not upgraded. Need to get 0B/1955kB of archives. After unpacking 14.0MB of additional disk space will be used. Committing changes... Preparing ############################## [100%] Updating / installing dkms-rtl8188eus-5.7.6.1-2pclos2020.x86 ############################## [100%]

Creating symlink /var/lib/dkms/rtl8188eus/5.7.6.1-2pclos2020/source -> /usr/src/rtl8188eus-5.7.6.1-2pclos2020

DKMS: add Completed.

Preparing kernel 5.6.3-pclos1 for module build: (This is not compiling a kernel, just preparing kernel symbols) Storing current .config to be restored when complete Running Generic preparation routine make clean..... using /proc/config.gz make oldconfig..... make prepare.....

Building module: cleaning build area.... 'make' SKIP_STACK_VALIDATION=1 all................................................... cleaning build area.... cleaning kernel tree (make clean).....

DKMS: build Completed.

rtl8188eus.ko.xz:

depmod.....

DKMS: install Completed. Reloading network configuration ... Done.`

the modestdir is just for me changed, ...

Please test and let me knowing what's fail?

skullg0d commented 4 years ago

Could you please elaborate the steps and link to the package, I'm having trouble detecting adapter on my VM. My Kali kernel 5.6.0. I checked my adapter in Kali kernel 5.3.0, it works without any issue. But not works in 5.6.0. It is not even showing up.

I'm a nooby at installing patches :(

sanyam8929 commented 4 years ago

can you explain a lit bit more and provide new patch for newer version for kail 5.7.0