-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error on make fail #66
Comments
Your device should work out of the box starting with kernel 6.4. Does it not work? |
rtl8188gu has two modes: CDROM mode and WiFi mode, type |
Same issue, have you figure out? |
It may seems like a compiling issue for me. Because when I do the guide I get the same result as you from it using Kernel 6.5. Then I downgrade to 6.3 only seems to get a kernel headers issue. |
Linux kernel uses |
You mean this Repo doesn't need to add to Linux now? How to know if I had that rtl8xxxu? Cuz obviously I didn't set rtl8188gu successfully on linux6.5 |
Just load rtl8xxxu if you are using linux kernel 6.4 and higher. if rtl8xxxu is not loaded automatically on boot, check your /etc/modprobe.d/ directory if there is something preventing rtl8xxxu from loading. Check also if your system has the firmware files needed. if not, download and copy rtl8710bufw_UMC.bin/rtl8710bufw_SMIC.bin to /lib/firmware/rtlwifi/ |
what are the outputs of these commands?
|
still not working? run this command and post the link. |
unload 8188gu/rtl8xxxu both and try again. if it works, remove the 8188gu driver you installed before. |
Thank you, you have given me great ideas and solutions |
Thank you very much. It now work. I think your answer is currently the only few workable solution for this chip this kernel version for me at this time . |
glad it works now. remember to blacklist or remove 8188gu.
|
You need to install the package which provides that file. It may be called „firmware-realtek”. Alternatively, you can download the file straight from the source: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtlwifi/rtl8710bufw_UMC.bin |
Thank you! It works! |
/root/rtl8188gu1/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_ch_switch_notify’:
/root/rtl8188gu1/os_dep/linux/ioctl_cfg80211.c:398:9: error: too few arguments to function ‘cfg80211_ch_switch_notify’
398 | cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/rtl8188gu1/include/osdep_service_linux.h:93,
from /root/rtl8188gu1/include/osdep_service.h:47,
from /root/rtl8188gu1/include/drv_types.h:27,
from /root/rtl8188gu1/os_dep/linux/ioctl_cfg80211.c:17:
/usr/src/linux-headers-6.5.0-kali2-common/include/net/cfg80211.h:8575:6: note: declared here
8575 | void cfg80211_ch_switch_notify(struct net_device *dev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/root/rtl8188gu1/os_dep/linux/ioctl_cfg80211.c: In function ‘cfg80211_rtw_scan’:
/root/rtl8188gu1/os_dep/linux/ioctl_cfg80211.c:2619:33: warning: the comparison will always evaluate as ‘true’ for the address of ‘ssid’ will never be NULL [-Waddress]
2619 | if (ssids->ssid != NULL
| ^~
/usr/src/linux-headers-6.5.0-kali2-common/include/net/cfg80211.h:2442:12: note: ‘ssid’ declared here
2442 | u8 ssid[IEEE80211_MAX_SSID_LEN];
| ^~~~
make[3]: *** [/usr/src/linux-headers-6.5.0-kali2-common/scripts/Makefile.build:248:/root/rtl8188gu1/os_dep/linux/ioctl_cfg80211.o] 错误 1
make[2]: *** [/usr/src/linux-headers-6.5.0-kali2-common/Makefile:2057:/root/rtl8188gu1] 错误 2
make[1]: *** [/usr/src/linux-headers-6.5.0-kali2-common/Makefile:246:__sub-make] 错误 2
make[1]: 离开目录“/usr/src/linux-headers-6.5.0-kali2-amd64”
make: *** [Makefile:1895:modules] 错误 2
The text was updated successfully, but these errors were encountered: