brightx / rtl8192fu Goto Github PK
View Code? Open in Web Editor NEWRealtek 8192FU Linux USB无线网卡驱动
License: GNU General Public License v2.0
Realtek 8192FU Linux USB无线网卡驱动
License: GNU General Public License v2.0
我也下载了这个,ubuntu 20.04 5.4内核,还没装,不知道能不能用。安装了的话应该如何卸载?
can i found drivers for Linux kernel version 6 or something that work with it
我用了你的命令出现没找到,我是kali2020.4
I already install on kali 2024 but packet injection is not working l, some else had the same problem?
armbian 安装报错,小白看不懂,是不是要安装什么东西先,谢谢大大
Device Information | 设备信息
SOC: [S905l3a]
Model [cm311-1a]
Armbian Version | 系统版本
Kernel Version: [5.15.80]
Release: [bullseye]
root@armbian:~/rtl8192fu# make -j$(nproc)
make ARCH=aarch64 CROSS_COMPILE= -C /lib/modules/5.15.80-flippy-79+o/build M=/root/rtl8192fu modules
make[1]: Entering directory '/usr/src/linux-headers-5.15.80-flippy-79+o'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: Ubuntu clang version 14.0.0-1ubuntu1
You are using: gcc (Debian 10.2.1-6) 10.2.1 20210110
CC [M] /root/rtl8192fu/core/rtw_cmd.o
CC [M] /root/rtl8192fu/core/rtw_security.o
CC [M] /root/rtl8192fu/core/rtw_debug.o
CC [M] /root/rtl8192fu/core/rtw_io.o
gcc: error: unrecognized command-line option ‘-Qunused-arguments’
gcc: error: unrecognized command-line option ‘-Qunused-arguments’
gcc: error: unrecognized command-line option ‘-Qunused-arguments’
gcc: error: unrecognized command-line option ‘-mno-global-merge’
gcc: error: unrecognized command-line option ‘-mno-global-merge’
gcc: error: unrecognized command-line option ‘-Qunused-arguments’
gcc: error: unrecognized command-line option ‘-mno-global-merge’
gcc: error: unrecognized command-line option ‘-fsplit-lto-unit’
make[2]: *** [scripts/Makefile.build:289: /root/rtl8192fu/core/rtw_cmd.o] Error 1
make[2]: *** Waiting for unfinished jobs....
gcc: error: unrecognized command-line option ‘-fsplit-lto-unit’
make[2]: *** [scripts/Makefile.build:289: /root/rtl8192fu/core/rtw_security.o] Error 1
gcc: error: unrecognized command-line option ‘-mno-global-merge’
gcc: error: unrecognized command-line option ‘-fsplit-lto-unit’
make[2]: *** [scripts/Makefile.build:289: /root/rtl8192fu/core/rtw_debug.o] Error 1
gcc: error: unrecognized command-line option ‘-fsplit-lto-unit’
make[2]: *** [scripts/Makefile.build:289: /root/rtl8192fu/core/rtw_io.o] Error 1
make[1]: *** [Makefile:1902: /root/rtl8192fu] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.15.80-flippy-79+o'
make: *** [Makefile:2332: modules] Error 2
I have installed it successfully. But still my wifi is not working in Ubuntu 20.04 or 20.10. Kernel 6.4. Please help.
Thank You
rtl8xxxu will support this chip „soon” and I'm wondering if it needs to support any RFE („RF front end”) types other than 5.
If you change the Makefile like so:
diff --git a/Makefile b/Makefile
index 03be10a..2d0f06b 100644
--- a/Makefile
+++ b/Makefile
@@ -94,7 +94,7 @@ CONFIG_IP_R_MONITOR = n #arp VOQ and high rate
CONFIG_RTW_UP_MAPPING_RULE = tos
########################## Debug ###########################
-CONFIG_RTW_DEBUG = n
+CONFIG_RTW_DEBUG = y
# default log level is _DRV_INFO_ = 4,
# please refer to "How_to_set_driver_debug_log_level.doc" to set the available level.
CONFIG_RTW_LOG_LEVEL = 4
this driver will print some things to the journal, including this line:
RTW: pHalData->rfe_type is 0x5
What does it print for y'all? And what brand and model is your device?
5.16.0-kali7-amd64
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.16.0-kali7-amd64/build M=/root/rtl8192fu-1.0 modules
make[1]: Entering directory '/usr/src/linux-headers-5.16.0-kali7-amd64'
/bin/sh: 1: /usr/src/linux-headers-5.16.0-kali7-common/scripts/pahole-flags.sh: not found
/bin/sh: 1: /usr/src/linux-headers-5.16.0-kali7-common/scripts/pahole-flags.sh: not found
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc-11 (Debian 11.2.0-19) 11.2.0
You are using: gcc-11 (Debian 11.3.0-3) 11.3.0
/bin/sh: 1: /usr/src/linux-headers-5.16.0-kali7-common/scripts/pahole-flags.sh: not found
CC [M] /root/rtl8192fu-1.0/core/rtw_br_ext.o
CC [M] /root/rtl8192fu-1.0/core/rtw_btcoex_wifionly.o
CC [M] /root/rtl8192fu-1.0/core/rtw_btcoex.o
CC [M] /root/rtl8192fu-1.0/core/rtw_beamforming.o
/root/rtl8192fu-1.0/core/rtw_br_ext.c:20:18: fatal error: net/ipx.h: No such file or directory
20 | #include <net/ipx.h>
| ^~~~~~~~~~~
compilation terminated.
make[2]: *** [/usr/src/linux-headers-5.16.0-kali7-common/scripts/Makefile.build:292: /root/rtl8192fu-1.0/core/rtw_br_ext.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/usr/src/linux-headers-5.16.0-kali7-common/Makefile:1870: /root/rtl8192fu-1.0] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.16.0-kali7-amd64'
make: *** [Makefile:2327: modules] Error 2
┌──(root㉿kali)-[~/rtl8192fu-1.0]
└─# make -j$(nproc)
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.16.0-kali7-amd64/build M=/root/rtl8192fu-1.0 modules
make[1]: Entering directory '/usr/src/linux-headers-5.16.0-kali7-amd64'
/bin/sh: 1: /usr/src/linux-headers-5.16.0-kali7-common/scripts/pahole-flags.sh: not found
/bin/sh: 1: /usr/src/linux-headers-5.16.0-kali7-common/scripts/pahole-flags.sh: not found
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc-11 (Debian 11.2.0-19) 11.2.0
You are using: gcc-11 (Debian 11.3.0-3) 11.3.0
/bin/sh: 1: /usr/src/linux-headers-5.16.0-kali7-common/scripts/pahole-flags.sh: not found
CC [M] /root/rtl8192fu-1.0/core/rtw_br_ext.o
CC [M] /root/rtl8192fu-1.0/core/rtw_odm.o
CC [M] /root/rtl8192fu-1.0/core/rtw_rm.o
CC [M] /root/rtl8192fu-1.0/core/rtw_rm_fsm.o
/root/rtl8192fu-1.0/core/rtw_br_ext.c:20:18: fatal error: net/ipx.h: No such file or directory
20 | #include <net/ipx.h>
| ^~~~~~~~~~~
compilation terminated.
make[2]: *** [/usr/src/linux-headers-5.16.0-kali7-common/scripts/Makefile.build:292: /root/rtl8192fu-1.0/core/rtw_br_ext.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/usr/src/linux-headers-5.16.0-kali7-common/Makefile:1870: /root/rtl8192fu-1.0] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.16.0-kali7-amd64'
make: *** [Makefile:2327: modules] Error 2
这版本不行吗
Does the rtl8192fu driver support Access Point (AP) functionality?
After installing the driver it's not getting detected in Garuda Linux ( Arch, LTS 5.15.44)
This usb adapter is using same chipset 8192eu. Can U please add support for that?
VID: 2357
PID: 0108
At present, the driver has been successfully installed in ubuntu, but the driver can only be loaded when SecureBoot is turned off. Does this mean that SecureBoot must be turned off, or is there any way to successfully load the driver when SecureBoot is turned on?
内核版本:6.8.9-1-aarch64-ARCH
错误:make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/6.8.9-1-aarch64-ARCH/build M=/home/alarm/rtl8192fu modules
make[1]: 进入目录“/usr/lib/modules/6.8.9-1-aarch64-ARCH/build”
warning: the compiler differs from the one used to build the kernel
The kernel was built by: aarch64-unknown-linux-gnu-gcc (GCC) 12.1.0
You are using: gcc (GCC) 14.1.1 20240507
CC [M] /home/alarm/rtl8192fu/os_dep/linux/usb_intf.o
/home/alarm/rtl8192fu/os_dep/linux/usb_intf.c:326:17: 错误:‘struct usb_driver’没有名为‘drvwrap’的成员
326 | .usbdrv.drvwrap.driver.shutdown = rtw_dev_shutdown,
| ^~~~~~~
/home/alarm/rtl8192fu/os_dep/linux/usb_intf.c:326:43: 错误:initialization of ‘const char ’ from incompatible pointer type ‘void ()(struct device *)’ [-Wincompatible-pointer-types]
326 | .usbdrv.drvwrap.driver.shutdown = rtw_dev_shutdown,
| ^~~~~~~~~~~~~~~~
/home/alarm/rtl8192fu/os_dep/linux/usb_intf.c:326:43: 附注:(在‘usb_drv.usbdrv.name’的初始化附近)
/home/alarm/rtl8192fu/os_dep/linux/usb_intf.c:991:5: 警告:‘rtw_resume_process’先前没有原型 [-Wmissing-prototypes]
991 | int rtw_resume_process(_adapter *padapter)
| ^~~~~~~~~~~~~~~~~~
/home/alarm/rtl8192fu/os_dep/linux/usb_intf.c:1245:11: 警告:‘rtw_usb_primary_adapter_init’先前没有原型 [-Wmissing-prototypes]
1245 | _adapter *rtw_usb_primary_adapter_init(struct dvobj_priv *dvobj,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:243:/home/alarm/rtl8192fu/os_dep/linux/usb_intf.o] 错误 1
make[2]: *** [/usr/lib/modules/6.8.9-1-aarch64-ARCH/build/Makefile:1921:/home/alarm/rtl8192fu] 错误 2
make[1]: *** [Makefile:240:__sub-make] 错误 2
make[1]: 离开目录“/usr/lib/modules/6.8.9-1-aarch64-ARCH/build”
make: *** [Makefile:2354:modules] 错误 2
Can the driver enable monitor mode? Thanks
I can't set power at the moment,
Did you make this driver or just package it?
It would be great to assign SIOCSIWPOWER and SIOCSIWTXPOW, currently it is not assigned in ioctl_linux.c
Thanks!
English: Hello Good day, I would like to ask if the Device or the Driver supports monitor mode as i failed to get it to work
Chinese: 您好,好,我想问一下设备或驱动程序支持监视器模式是否无法正常工作。
Ps: Sorry if the translation is messed up I used google translate
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.