Народ, помогите, кто может. Сразу попрошу ограничить комменты, типа, «на фига тебе это надо», " учи азы" и т.п.- причины и необходимость действий, с вашего позволения, объяснять не хочу и не буду. Нужна ПОШАГОВАЯ инструкция ( ну, для идиотов, короче ), как «прикрутить» эту шайтан - машину, Alfa AWUS 1900 ( RTL8814AU ), к последней BackBox 6. Мозг уже вывернут наглухо. Последний результат попыток установки «дров» был такой:
root@BACKBOX-SEC:~# cd RTL8814AU
root@BACKBOX-SEC:~/RTL8814AU# make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.3.0-46- generic/build M=/root/RTL8814AU modules
make[1]: вход в каталог «/usr/src/linux-headers-5.3.0-46-generic» CC [M] /root/RTL8814AU/os_dep/osdep_service.o
In file included from /root/RTL8814AU/include/drv_types.h:35:0,
from /root/RTL8814AU/os_dep/osdep_service.c:24:
/root/RTL8814AU/include/wifi.h:1055:0: warning: «IEEE80211_MAX_AMPDU_BUF» redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40 In file included from ./include/net/cfg80211.h:21:0,
from /root/RTL8814AU/include/osdep_service_linux.h:87,
from /root/RTL8814AU/include/osdep_service.h:41,
from /root/RTL8814AU/include/drv_types.h:32,
from /root/RTL8814AU/os_dep/osdep_service.c:24:
./include/linux/ieee80211.h:1441:0: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100 /root/RTL8814AU/os_dep/osdep_service.c: In function ‘isFileReadable’:
/root/RTL8814AU/os_dep/osdep_service.c:1945:28: error: implicit declaration of function ‘get_ds’; did you mean ‘get_da’? [-Werror=implicit-function-declaration]
oldfs = get_fs(); set_fs(get_ds());
^~~~~~
get_da
/root/RTL8814AU/os_dep/osdep_service.c:1945:28: error: incompatible type for argument 1 of ‘set_fs’
In file included from ./include/linux/uaccess.h:11:0,
from ./include/linux/crypto.h:21,
from ./include/crypto/hash.h:11,
from ./include/linux/uio.h:10,
from ./include/linux/socket.h:8,
from ./include/linux/compat.h:15,
from ./include/linux/ethtool.h:17,
from ./include/linux/netdevice.h:37,
from /root/RTL8814AU/include/osdep_service_linux.h:35,
from /root/RTL8814AU/include/osdep_service.h:41,
from /root/RTL8814AU/include/drv_types.h:32,
from /root/RTL8814AU/os_dep/osdep_service.c:24:
./arch/x86/include/asm/uaccess.h:29:20: note: expected ‘mm_segment_t {aka struct <anonymous>}’ but argument is of type ‘int’ static inline void set_fs(mm_segment_t fs)
^~~~~~
/root/RTL8814AU/os_dep/osdep_service.c: In function ‘retriveFromFile’:
/root/RTL8814AU/os_dep/osdep_service.c:1973:29: error: incompatible type for argument 1 of ‘set_fs’
oldfs = get_fs(); set_fs(get_ds());
^~~~~~
In file included from ./include/linux/uaccess.h:11:0,
from ./include/linux/crypto.h:21,
from ./include/crypto/hash.h:11,
from ./include/linux/uio.h:10,
from ./include/linux/socket.h:8,
from ./include/linux/compat.h:15,
from ./include/linux/ethtool.h:17,
from ./include/linux/netdevice.h:37,
from /root/RTL8814AU/include/osdep_service_linux.h:35,
from /root/RTL8814AU/include/osdep_service.h:41,
from /root/RTL8814AU/include/drv_types.h:32,
from /root/RTL8814AU/os_dep/osdep_service.c:24:
./arch/x86/include/asm/uaccess.h:29:20: note: expected ‘mm_segment_t {aka struct <anonymous>}’ but argument is of type ‘int’
static inline void set_fs(mm_segment_t fs)
^~~~~~
/root/RTL8814AU/os_dep/osdep_service.c: In function ‘storeToFile’:
/root/RTL8814AU/os_dep/osdep_service.c:2007:29: error: incompatible type for argument 1 of ‘set_fs’
oldfs = get_fs(); set_fs(get_ds());
^~~~~~
In file included from ./include/linux/uaccess.h:11:0,
from ./include/linux/crypto.h:21,
from ./include/crypto/hash.h:11,
from ./include/linux/uio.h:10,
from ./include/linux/socket.h:8,
from ./include/linux/compat.h:15,
from ./include/linux/ethtool.h:17,
from ./include/linux/netdevice.h:37,
from /root/RTL8814AU/include/osdep_service_linux.h:35,
from /root/RTL8814AU/include/osdep_service.h:41,
from /root/RTL8814AU/include/drv_types.h:32,
from /root/RTL8814AU/os_dep/osdep_service.c:24:
./arch/x86/include/asm/uaccess.h:29:20: 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
scripts/Makefile.build:288: recipe for target '/root/RTL8814AU/os_dep/osdep_service.o' failed
make[2]: *** [/root/RTL8814AU/os_dep/osdep_service.o] Error 1
Makefile:1655: recipe for target '_module_/root/RTL8814AU' failed
make[1]: *** [_module_/root/RTL8814AU] Error 2
make[1]: выход из каталога «/usr/src/linux-headers-5.3.0-46-generic»
Makefile:373: recipe for target 'modules' failed
make: *** [modules] Error 2
root@BACKBOX-SEC:~/RTL8814AU# dkms-remove.sh
dkms-remove.sh: команда не найдена
root@BACKBOX-SEC:~/RTL8814AU# sudo ./dkms-install.sh
About to run dkms install steps...
mkdir: невозможно создать каталог «/usr/src/rtl8814au-4.3.21»: Файл существует
Error! DKMS tree already contains: rtl8814au-4.3.21
You cannot add the same module/version combo more than once.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
'make'.................^C
root@BACKBOX-SEC:~/RTL8814AU# sudo ./dkms-install.sh
About to run dkms install steps...
Error! DKMS tree already contains: rtl8814au-4.3.21
You cannot add the same module/version combo more than once.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
'make'...................(bad exit status: 2)
ERROR (dkms apport): binary package for rtl8814au: 4.3.21 not found
Что, сс-но, не так и КАК надо? Заранее благодарен за возможную помощь.