ifconfig не видит. Видать, дров нет.
Виртуалка на Win10 - Kali Linux 64
скачал rtl8192eu-linux-driver
make выдал ошибку:
Кто поможет?
Виртуалка на Win10 - Kali Linux 64
Код:
lsusb:
Bus 001 Device 003: ID 2357:0107 TP-Link TL-WN821N Version 5 RTL8192EU
Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
lsusb -t:
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/12p, 12M
|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 2: Dev 3, If 0, Class=Vendor Specific Class, Driver=, 12M
make выдал ошибку:
Код:
~/rtl8192eu-linux-driver# make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.3.0-kali2-amd64/build M=/root/rtl8192eu-linux-driver modules
make[1]: вход в каталог «/usr/src/linux-headers-5.3.0-kali2-amd64»
CC [M] /root/rtl8192eu-linux-driver/os_dep/osdep_service.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
from /root/rtl8192eu-linux-driver/os_dep/osdep_service.c:24:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
|
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
from /root/rtl8192eu-linux-driver/os_dep/osdep_service.c:24:
/usr/src/linux-headers-5.3.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
1441 | #define IEEE80211_MAX_AMPDU_BUF 0x100
|
/root/rtl8192eu-linux-driver/os_dep/osdep_service.c: In function ‘isFileReadable’:
/root/rtl8192eu-linux-driver/os_dep/osdep_service.c:1970:28: error: implicit declaration of function ‘get_ds’; did you mean ‘get_da’? [-Werror=implicit-function-declaration]
1970 | oldfs = get_fs(); set_fs(get_ds());
| ^~~~~~
| get_da
/root/rtl8192eu-linux-driver/os_dep/osdep_service.c:1970:28: error: incompatible type for argument 1 of ‘set_fs’
1970 | oldfs = get_fs(); set_fs(get_ds());
| ^~~~~~~~
| |
| int
In file included from /usr/src/linux-headers-5.3.0-kali2-common/include/linux/uaccess.h:11,
from /usr/src/linux-headers-5.3.0-kali2-common/include/linux/sched/task.h:11,
from /usr/src/linux-headers-5.3.0-kali2-common/include/linux/sched/signal.h:9,
from /root/rtl8192eu-linux-driver/include/osdep_service.h:25,
from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
from /root/rtl8192eu-linux-driver/os_dep/osdep_service.c:24:
/usr/src/linux-headers-5.3.0-kali2-common/arch/x86/include/asm/uaccess.h:29:40: note: expected ‘mm_segment_t’ {aka ‘struct <anonymous>’} but argument is of type ‘int’
29 | static inline void set_fs(mm_segment_t fs)
| ~~~~~~~~~~~~~^~
/root/rtl8192eu-linux-driver/os_dep/osdep_service.c: In function ‘retriveFromFile’:
/root/rtl8192eu-linux-driver/os_dep/osdep_service.c:1998:29: error: incompatible type for argument 1 of ‘set_fs’
1998 | oldfs = get_fs(); set_fs(get_ds());
| ^~~~~~~~
| |
| int
In file included from /usr/src/linux-headers-5.3.0-kali2-common/include/linux/uaccess.h:11,
from /usr/src/linux-headers-5.3.0-kali2-common/include/linux/sched/task.h:11,
from /usr/src/linux-headers-5.3.0-kali2-common/include/linux/sched/signal.h:9,
from /root/rtl8192eu-linux-driver/include/osdep_service.h:25,
from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
from /root/rtl8192eu-linux-driver/os_dep/osdep_service.c:24:
/usr/src/linux-headers-5.3.0-kali2-common/arch/x86/include/asm/uaccess.h:29:40: note: expected ‘mm_segment_t’ {aka ‘struct <anonymous>’} but argument is of type ‘int’
29 | static inline void set_fs(mm_segment_t fs)
| ~~~~~~~~~~~~~^~
/root/rtl8192eu-linux-driver/os_dep/osdep_service.c: In function ‘storeToFile’:
/root/rtl8192eu-linux-driver/os_dep/osdep_service.c:2032:29: error: incompatible type for argument 1 of ‘set_fs’
2032 | oldfs = get_fs(); set_fs(get_ds());
| ^~~~~~~~
| |
| int
In file included from /usr/src/linux-headers-5.3.0-kali2-common/include/linux/uaccess.h:11,
from /usr/src/linux-headers-5.3.0-kali2-common/include/linux/sched/task.h:11,
from /usr/src/linux-headers-5.3.0-kali2-common/include/linux/sched/signal.h:9,
from /root/rtl8192eu-linux-driver/include/osdep_service.h:25,
from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
from /root/rtl8192eu-linux-driver/os_dep/osdep_service.c:24:
/usr/src/linux-headers-5.3.0-kali2-common/arch/x86/include/asm/uaccess.h:29:40: note: expected ‘mm_segment_t’ {aka ‘struct <anonymous>’} but argument is of type ‘int’
29 | static inline void set_fs(mm_segment_t fs)
| ~~~~~~~~~~~~~^~
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-5.3.0-kali2-common/scripts/Makefile.build:286: /root/rtl8192eu-linux-driver/os_dep/osdep_service.o] Ошибка 1
make[2]: *** [/usr/src/linux-headers-5.3.0-kali2-common/Makefile:1639: _module_/root/rtl8192eu-linux-driver] Ошибка 2
make[1]: *** [/usr/src/linux-headers-5.3.0-kali2-common/Makefile:179: sub-make] Ошибка 2
make[1]: выход из каталога «/usr/src/linux-headers-5.3.0-kali2-amd64»
make: *** [Makefile:1700: modules] Ошибка 2