Fedora
在 Fedora 上安裝 wifi 驅動程序時出錯
我購買了一個新的Jinco Wifi Adapter 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 - 瑞昱半導體
根據提供的
lsusb
資訊,0bda:f179 Realtek Semiconductor Corp. 802.11n
您要找的是這個驅動程序:https://github.com/kelebek333/rtl8188fu
(將評論變成答案以使其易於訪問)。