M
Mars4975
Привет тем, кто читает это. Помогите. Купил сегодня tp-link wn722n V.3, подсоеденил к пк. На виртуалке(vmware 15 pro) и там же приконектил сам адаптер. запускаю monitor mode не работает. Начал устанавливать драва(и с офф. сайта и с github(и так и так попробывал)) выдаёт кучу ошибок с make:
Всё обновил до последней версии. Всё равно выдаёт ошибки.
И ещё, прописываю lsusb, выдает что у меня v2 хотя на коробке написано v3
Код:
root@kali-pc:~/rtl8188eus# make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.2.0-kali2-amd64/build M=/root/rtl8188eus modules
make[1]: вход в каталог «/usr/src/linux-headers-5.2.0-kali2-amd64»
CC [M] /root/rtl8188eus/os_dep/osdep_service.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
from /root/rtl8188eus/os_dep/osdep_service.c:19:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
from /root/rtl8188eus/include/osdep_service.h:50,
from /root/rtl8188eus/include/drv_types.h:27,
from /root/rtl8188eus/os_dep/osdep_service.c:19:
/usr/src/linux-headers-5.2.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100
/root/rtl8188eus/os_dep/osdep_service.c: In function ‘isFileReadable’:
/root/rtl8188eus/os_dep/osdep_service.c:2204:10: error: implicit declaration of function ‘get_ds’; did you mean ‘get_da’? [-Werror=implicit-function-declaration]
set_fs(get_ds());
^~~~~~
get_da
/root/rtl8188eus/os_dep/osdep_service.c:2204:10: error: incompatible type for argument 1 of ‘set_fs’
set_fs(get_ds());
^~~~~~~~
In file included from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/uaccess.h:11,
from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/crypto.h:21,
from /usr/src/linux-headers-5.2.0-kali2-common/include/crypto/hash.h:11,
from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/uio.h:10,
from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/socket.h:8,
from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/compat.h:15,
from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/ethtool.h:17,
from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/netdevice.h:37,
from /root/rtl8188eus/include/osdep_service_linux.h:30,
from /root/rtl8188eus/include/osdep_service.h:50,
from /root/rtl8188eus/include/drv_types.h:27,
from /root/rtl8188eus/os_dep/osdep_service.c:19:
/usr/src/linux-headers-5.2.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’
static inline void set_fs(mm_segment_t fs)
~~~~~~~~~~~~~^~
/root/rtl8188eus/os_dep/osdep_service.c: In function ‘retriveFromFile’:
/root/rtl8188eus/os_dep/osdep_service.c:2242:11: error: incompatible type for argument 1 of ‘set_fs’
set_fs(get_ds());
^~~~~~~~
In file included from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/uaccess.h:11,
from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/crypto.h:21,
from /usr/src/linux-headers-5.2.0-kali2-common/include/crypto/hash.h:11,
from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/uio.h:10,
from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/socket.h:8,
from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/compat.h:15,
from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/ethtool.h:17,
from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/netdevice.h:37,
from /root/rtl8188eus/include/osdep_service_linux.h:30,
from /root/rtl8188eus/include/osdep_service.h:50,
from /root/rtl8188eus/include/drv_types.h:27,
from /root/rtl8188eus/os_dep/osdep_service.c:19:
/usr/src/linux-headers-5.2.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’
static inline void set_fs(mm_segment_t fs)
~~~~~~~~~~~~~^~
/root/rtl8188eus/os_dep/osdep_service.c: In function ‘storeToFile’:
/root/rtl8188eus/os_dep/osdep_service.c:2277:11: error: incompatible type for argument 1 of ‘set_fs’
set_fs(get_ds());
^~~~~~~~
In file included from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/uaccess.h:11,
from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/crypto.h:21,
from /usr/src/linux-headers-5.2.0-kali2-common/include/crypto/hash.h:11,
from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/uio.h:10,
from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/socket.h:8,
from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/compat.h:15,
from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/ethtool.h:17,
from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/netdevice.h:37,
from /root/rtl8188eus/include/osdep_service_linux.h:30,
from /root/rtl8188eus/include/osdep_service.h:50,
from /root/rtl8188eus/include/drv_types.h:27,
from /root/rtl8188eus/os_dep/osdep_service.c:19:
/usr/src/linux-headers-5.2.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’
static inline void set_fs(mm_segment_t fs)
~~~~~~~~~~~~~^~
cc1: some warnings being treated as errors
make[4]: *** [/usr/src/linux-headers-5.2.0-kali2-common/scripts/Makefile.build:284: /root/rtl8188eus/os_dep/osdep_service.o] Ошибка 1
make[3]: *** [/usr/src/linux-headers-5.2.0-kali2-common/Makefile:1610: _module_/root/rtl8188eus] Ошибка 2
make[2]: *** [Makefile:179: sub-make] Ошибка 2
make[1]: *** [Makefile:8: all] Ошибка 2
make[1]: выход из каталога «/usr/src/linux-headers-5.2.0-kali2-amd64»
make: *** [Makefile:2286: modules] Ошибка 2
И ещё, прописываю lsusb, выдает что у меня v2 хотя на коробке написано v3
Последнее редактирование модератором: