自从我升级到 17.10 后,我的 USB WiFi ANEWKODI(Realtek)就不再工作了

自从我升级到 17.10 后,我的 USB WiFi ANEWKODI(Realtek)就不再工作了

我尝试过这个:

http://xhyumiracle.com/how-to-install-rtl8812au-driver-on-ubuntu-for-wireless-usb-adapters/ 并得到这个:

geoffrey@geoffrey-H110M-S2H:~/rtl8812AU$ make CC=/usr/bin/gcc-5
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.13.0-16-generic/build M=/home/geoffrey/rtl8812AU  modules
make[1]: Entering directory '/usr/src/linux-headers-4.13.0-16-generic'
  CC [M]  /home/geoffrey/rtl8812AU/core/rtw_cmd.o
In file included from /home/geoffrey/rtl8812AU/include/drv_types.h:32:0,
                 from /home/geoffrey/rtl8812AU/core/rtw_cmd.c:22:
/home/geoffrey/rtl8812AU/include/osdep_service.h: In function ‘thread_enter’:
/home/geoffrey/rtl8812AU/include/osdep_service.h:343:2: error: implicit declaration of function ‘allow_signal’ [-Werror=implicit-function-declaration]
  allow_signal(SIGTERM);
  ^
/home/geoffrey/rtl8812AU/include/osdep_service.h: In function ‘flush_signals_thread’:
/home/geoffrey/rtl8812AU/include/osdep_service.h:353:6: error: implicit declaration of function ‘signal_pending’ [-Werror=implicit-function-declaration]
  if (signal_pending (current)) 
      ^
/home/geoffrey/rtl8812AU/include/osdep_service.h:355:3: error: implicit declaration of function ‘flush_signals’ [-Werror=implicit-function-declaration]
   flush_signals(current);
   ^
cc1: some warnings being treated as errors
scripts/Makefile.build:302: recipe for target '/home/geoffrey/rtl8812AU/core/rtw_cmd.o' failed
make[2]: *** [/home/geoffrey/rtl8812AU/core/rtw_cmd.o] Error 1
Makefile:1546: recipe for target '_module_/home/geoffrey/rtl8812AU' failed
make[1]: *** [_module_/home/geoffrey/rtl8812AU] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.13.0-16-generic'
Makefile:1576: recipe for target 'modules' failed
make: *** [modules] Error 2
geoffrey@geoffrey-H110M-S2H:~/rtl8812AU$ sudo make install
install -p -m 644 8812au.ko  /lib/modules/4.13.0-16-generic/kernel/drivers/net/wireless/
install: cannot stat '8812au.ko': No such file or directory
Makefile:1582: recipe for target 'install' failed
make: *** [install] Error 1

这在 17.04 上正常运行

有任何想法吗?

答案1

我花了一上午的时间在网上搜索,终于解决了我的问题。我不确定到底是什么解决了这个问题,因为我尝试了很多方法。我没有做的就是在每次修改后重新启动。我会尝试仔细查找解释,但至少我可以说 ANEWKODI (Realtek) USB Wifi 密钥适用于 Ubuntu 17.10

答案2

我遇到了类似的问题:我有一个Anekwodi 600Mbps 双频 Wifi 适配器它在 Ubuntu 18.10 中没有驱动程序。为了启用适配器,我使用以下命令安装驱动程序(如所述这里这里):

wget https://github.com/gnab/rtl8812au/archive/master.zip
unzip master.zip
cd rtl8812au-master/
make
sudo insmod  8812au.ko

注意:这需要libelf-dev使用以下命令安装该包:

sudo apt-get install libelf-dev

相关内容