2024年8月16日 星期五

Ubuntu 20.04 安裝 ASUS TUF Gaming B650m PLUS WiFi 驅動程式

簡單來說

這張板子安裝了Ubuntu 20.04 後,找不到 wifi 選項

幸好插上實體網路線還能用

一般來說就是沒驅動程式

上網 google 這板子用哪個 wifi 晶片還找不到

一直到 ASUS 的驅動程式下載網頁才看到晶片名稱

https://www.asus.com/tw/motherboards-components/motherboards/tuf-gaming/tuf-gaming-b650m-plus-wifi/helpdesk_download?model2Name=TUF-GAMING-B650M-PLUS-WIFI


Realtek RTL8852BE WiFi driver V6001.15.124.0 For Windows 10/11 64-bit.
版本 6001.15.124.0
6.15 MB
2022/09/13

Please install the corresponding driver according to the WIFI/BT chip on your motherboard.

知道晶片名稱再來下關鍵字就簡單多了

找到下面兩篇

https://blog.csdn.net/qq_75220669/article/details/137251306

https://ubuntuforums.org/showthread.php?t=2484689

為避免以後連結失效

這裡將需要的步驟複製貼上

sudo apt update
sudo apt install git make gcc bc

查看核心版本

uname -r

低於 5.18 => https://github.com/HRex39/rtl8852be.git

高於 5.18=> https://github.com/HRex39/rtl8852be.git -b dev


git clone https://github.com/HRex39/rtl8852be.git
cd rtl8852be
make    /*  如果要 multi-thread build 的話,輸入 make -j$(nproc)  */
sudo make install
sudo modprobe 8852be


走完步驟 WiFi 就可以使用了