tp-link wn722n 没有出现在 kali linux 中的 lsusb 中,无法在虚拟盒中运行

tp-link wn722n 没有出现在 kali linux 中的 lsusb 中,无法在虚拟盒中运行

今天我为我的 kali 机器买了一个 tp-link TL-WN722N,但当我将它插入机器时,它没有出现在 wlan0 中。所以我检查了 lsusb,它也不在那里。

Bus 002 Device 002: ID 2357:010c  
Bus 002 Device 004: ID 05c6:f00e Qualcomm, Inc. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 046d:08c7 Logitech, Inc. QuickCam OEM Cisco VT Camera II
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 0461:4d22 Primax Electronics, Ltd 
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 413c:2003 Dell Computer Corp. Keyboard
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

第一个是 wifi 适配器,
到目前为止,我已经下载了 backports-4.4.2.1 并运行了 make,但它什么也没做

make[5]: 'conf' is up to date.
boolean symbol HWMON tested for 'm'? test forced to 'n'
boolean symbol HWMON tested for 'm'? test forced to 'n'
#
# configuration written to .config
#
Building backport-include/backport/autoconf.h ... done.
  CC [M]  /home/keshav/Desktop/backports-4.4.2-1/compat/main.o
In file included from /home/keshav/Desktop/backports-4.4.2-1/backport-include/backport/backport.h:7:0,
                 from <command-line>:0:
/usr/src/linux-headers-4.9.0-kali4-common/include/asm-generic/qrwlock.h: In function ‘__qrwlock_write_byte’:
/home/keshav/Desktop/backports-4.4.2-1/backport-include/linux/kconfig.h:25:28: error: implicit declaration of function ‘config_enabled’ [-Werror=implicit-function-declaration]
 #define IS_BUILTIN(option) config_enabled(option)
                            ^
/usr/src/linux-headers-4.9.0-kali4-common/include/asm-generic/qrwlock.h:156:26: note: in expansion of macro ‘IS_BUILTIN’
  return (u8 *)lock + 3 * IS_BUILTIN(CONFIG_CPU_BIG_ENDIAN);
                          ^~~~~~~~~~
/usr/src/linux-headers-4.9.0-kali4-common/include/asm-generic/qrwlock.h:156:37: error: ‘CONFIG_CPU_BIG_ENDIAN’ undeclared (first use in this function)
  return (u8 *)lock + 3 * IS_BUILTIN(CONFIG_CPU_BIG_ENDIAN);
                                     ^
/home/keshav/Desktop/backports-4.4.2-1/backport-include/linux/kconfig.h:25:43: note: in definition of macro ‘IS_BUILTIN’
 #define IS_BUILTIN(option) config_enabled(option)
                                           ^~~~~~
/usr/src/linux-headers-4.9.0-kali4-common/include/asm-generic/qrwlock.h:156:37: note: each undeclared identifier is reported only once for each function it appears in
  return (u8 *)lock + 3 * IS_BUILTIN(CONFIG_CPU_BIG_ENDIAN);
                                     ^
/home/keshav/Desktop/backports-4.4.2-1/backport-include/linux/kconfig.h:25:43: note: in definition of macro ‘IS_BUILTIN’
 #define IS_BUILTIN(option) config_enabled(option)
                                           ^~~~~~
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.9.0-kali4-common/scripts/Makefile.build:298: recipe for target '/home/keshav/Desktop/backports-4.4.2-1/compat/main.o' failed
make[8]: *** [/home/keshav/Desktop/backports-4.4.2-1/compat/main.o] Error 1
/usr/src/linux-headers-4.9.0-kali4-common/scripts/Makefile.build:549: recipe for target '/home/keshav/Desktop/backports-4.4.2-1/compat' failed
make[7]: *** [/home/keshav/Desktop/backports-4.4.2-1/compat] Error 2
/usr/src/linux-headers-4.9.0-kali4-common/Makefile:1507: recipe for target '_module_/home/keshav/Desktop/backports-4.4.2-1' failed
make[6]: *** [_module_/home/keshav/Desktop/backports-4.4.2-1] Error 2
Makefile:150: recipe for target 'sub-make' failed
make[5]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[4]: *** [all] Error 2
Makefile.build:6: recipe for target 'modules' failed
make[3]: *** [modules] Error 2
Makefile.real:88: recipe for target 'modules' failed
make[2]: *** [modules] Error 2
Makefile:40: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
Makefile:30: recipe for target 'default' failed
make: *** [default] Error 2

我正在使用 kali linux 4.9.0,它不是在虚拟机中运行,而是我的独立操作系统

相关内容