安装 alfa wifi 适配器驱动程序时出现问题

安装 alfa wifi 适配器驱动程序时出现问题

我最近购买了一个 ALFA AWUS036NH 适配器,它在 Windows 上运行良好,但在我的 ubuntu 操作系统上似乎不起作用,我发现我需要安装 rtl8187l 驱动程序才能工作但它一直返回错误这里是日志:

make[1]: Entering directory '/usr/src/linux-headers-4.15.0-46-generic' arch/x86/Makefile:156: CONFIG_X86_X32 enabled but no binutils support
Makefile:975: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
  CC [M]  /home/user/Downloads/rtl8187-Linux-Driver-master/rtl8187/r8187_core.o
/bin/sh: 1: gcc: not found
scripts/Makefile.build:332: recipe for target '/home/user/Downloads/rtl8187-Linux-Driver-master/rtl8187/r8187_core.o' failed
make[2]: *** [/home/user/Downloads/rtl8187-Linux-Driver-master/rtl8187/r8187_core.o] Error 127
Makefile:1551: recipe for target '_module_/home/user/Downloads/rtl8187-Linux-Driver-master/rtl8187' failed
make[1]: *** [_module_/home/user/Downloads/rtl8187-Linux-Driver-master/rtl8187] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-46-generic'
Makefile:14: recipe for target 'all' failed
make: *** [all] Error 2

lsusb:

us 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub<br>
Bus 001 Device 004: ID 1a2c:4c5e China Resource Semico Co., Ltd<br>
Bus 001 Device 003: ID 18f8:0f99 [Maxxter] Optical gaming mouse<br>
Bus 001 Device 007: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter<br>
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

我还安装了linux headers和build-essential。

相关内容