rtl8188eus icon indicating copy to clipboard operation
rtl8188eus copied to clipboard

rtl8188eus driver installing issue

Open masudazad opened this issue 1 year ago • 9 comments

/home/masud/Desktop/realtek-rtl8188eus-dkms/os_dep/osdep_service.c: In function ‘rtw_change_ifname’: /home/masud/Desktop/realtek-rtl8188eus-dkms/os_dep/osdep_service.c:2454:28: warning: passing argument 1 of ‘_rtw_memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2454 | _rtw_memcpy(pnetdev->dev_addr, adapter_mac_addr(padapter), ETH_ALEN); | ~~~~~~~^~~~~~~~~~ /home/masud/Desktop/realtek-rtl8188eus-dkms/os_dep/osdep_service.c:899:24: note: expected ‘void *’ but argument is of type ‘const unsigned char *’ 899 | void _rtw_memcpy(void *dst, const void *src, u32 sz) | ~~~~~~^~~ /home/masud/Desktop/realtek-rtl8188eus-dkms/os_dep/osdep_service.c: In function ‘rtw_random32’: /home/masud/Desktop/realtek-rtl8188eus-dkms/os_dep/osdep_service.c:2578:16: error: implicit declaration of function ‘prandom_u32’; did you mean ‘prandom_u32_max’? [-Werror=implicit-function-declaration] 2578 | return prandom_u32(); | ^~~~~~~~~~~ | prandom_u32_max At top level: cc1: note: unrecognized command-line option ‘-Wno-sometimes-uninitialized’ may have been intended to silence earlier diagnostics cc1: some warnings being treated as errors make[2]: *** [/usr/src/linux-headers-6.1.0-kali7-common/scripts/Makefile.build:255: /home/masud/Desktop/realtek-rtl8188eus-dkms/os_dep/osdep_service.o] Error 1 make[1]: *** [/usr/src/linux-headers-6.1.0-kali7-common/Makefile:2037: /home/masud/Desktop/realtek-rtl8188eus-dkms] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-6.1.0-kali7-amd64' make: *** [Makefile:2065: modules] Error 2

masudazad avatar Apr 25 '23 15:04 masudazad

i have used the same repo for 5.10 linux but its not working here. i have installed all the required packeges but still the same issue.

masudazad avatar Apr 25 '23 15:04 masudazad

I have the exact same issues, tried new vm and everything but doesn't seem to like it, tried adjusting the files to the supposed fixes given in the error but no luck

BLHodder avatar Apr 30 '23 12:04 BLHodder

try this for newer 6.x kernel (still in pull requests, not merged yet): https://github.com/gglluukk/rtl8188eus

gglluukk avatar Apr 30 '23 12:04 gglluukk

Legend

BLHodder avatar May 04 '23 00:05 BLHodder

try this for newer 6.x kernel (still in pull requests, not merged yet): https://github.com/gglluukk/rtl8188eus

Bro Thank you so much , this was huge headache for me since morning thanks a lot . May GOD Bless You!

Harmandeep01 avatar May 05 '23 10:05 Harmandeep01

@gglluukk

what is the difference between aircrack-ng/rtl8188eus and gglluukk/rtl8188eus?

diehard88 avatar Sep 11 '23 22:09 diehard88

you can see pull request with all the changes here: https://github.com/aircrack-ng/rtl8188eus/pull/225

gglluukk avatar Sep 11 '23 22:09 gglluukk

you can see pull request with all the changes here: #225

we need to recompile for new kernel releases, correct?

diehard88 avatar Oct 20 '23 05:10 diehard88