我有一个 RPI 上的 WiFi 适配器。当我插入它时,我在消息中看到以下内容:
[50863.497490] usb 1-1.3: USB disconnect, device number 4
[51167.660462] usb 1-1.2: new high-speed USB device number 6 using dwc_otg
[51167.791546] usb 1-1.2: New USB device found, idVendor=0bda, idProduct=b812
[51167.791769] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[51167.791976] usb 1-1.2: Product: USB3.0 802.11ac 1200M Adapter
[51167.792140] usb 1-1.2: Manufacturer: Realtek
[51167.792267] usb 1-1.2: SerialNumber: 123456
我不能/不会使用 NetworkManager,因为它在过去给路由表/其他网卡/不良体验带来了许多问题。请不要建议使用它。
我不知道下一步要如何将此接口添加为计算机上的网卡。
编辑:我想我已经找到了驱动程序 - 但是当我尝试使用 DKMS 来构建驱动程序时,我得到
make -j4 KERNELRELEASE=4.14.127-v7.1.el7 KVER=4.14.127-v7.1.el7....(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.14.127-v7.1.el7 (armv7hl)
相关日志结果:
DKMS make.log for rtl88x2bu-5.2.4.4 for kernel 4.14.127-v7.1.el7 (armv7hl)
Sat Jul 27 19:22:29 UTC 2019
/bin/sh: bc: command not found
make ARCH=armv7l CROSS_COMPILE= -C /lib/modules/4.14.127-v7.1.el7/build M=/var/lib/dkms/rtl88x2bu/5.2.4.4/build modules
make[1]: Entering directory `/usr/src/kernels/4.14.127-v7.1.el7'
Makefile:646: arch/armv7l/Makefile: No such file or directory
make[1]: *** No rule to make target `arch/armv7l/Makefile'. Stop.
make[1]: Leaving directory `/usr/src/kernels/4.14.127-v7.1.el7'
make: *** [modules] Error 2