我购买了新的金科无线网卡wifi适配器,但每次发出命令时我都会收到此错误make
:
[superusr@developer-pc ~]$ cd /opt/rtlwifi_new-rock.new_btcoex/
[superusr@developer-pc rtlwifi_new-rock.new_btcoex]$ sudo make
[sudo] password for superusr:
make -C /lib/modules/5.8.18-300.fc33.x86_64/build M=/opt/rtlwifi_new-rock.new_btcoex modules
make[1]: Entering directory '/usr/src/kernels/5.8.18-300.fc33.x86_64'
CC [M] /opt/rtlwifi_new-rock.new_btcoex/btcoexist/halbtc8723b2ant.o
In file included from /opt/rtlwifi_new-rock.new_btcoex/btcoexist/halbt_precomp.h:25,
from /opt/rtlwifi_new-rock.new_btcoex/btcoexist/halbtc8723b2ant.c:14:
/opt/rtlwifi_new-rock.new_btcoex/btcoexist/../wifi.h:1493:2: error: unknown type name ‘__kernel_time_t’
1493 | __kernel_time_t last_suspend_sec;
| ^~~~~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:281: /opt/rtlwifi_new-rock.new_btcoex/btcoexist/halbtc8723b2ant.o] Error 1
make[2]: *** [scripts/Makefile.build:497: /opt/rtlwifi_new-rock.new_btcoex/btcoexist] Error 2
make[1]: *** [Makefile:1752: /opt/rtlwifi_new-rock.new_btcoex] Error 2
make[1]: Leaving directory '/usr/src/kernels/5.8.18-300.fc33.x86_64'
make: *** [Makefile:57: all] Error 2
lsusb
输出是:
Bus 002 Device 004: ID 0bda:f179 Realtek Semiconductor Corp. 802.11n
内核版本 - kernel-5.8.18-300.fc33.x86_64
Fedora 版本 - Fedora 33
Wifi - 瑞昱半导体股份有限公司
答案1
根据提供的lsusb
信息0bda:f179 Realtek Semiconductor Corp. 802.11n
,您正在寻找的是这个驱动程序:
https://github.com/kelebek333/rtl8188fu
(将评论变成答案以使其易于访问)。