ubuntu 16.04 裝機無wifi (手動匯入wifi驅動)
電腦新裝的ubuntu16.04 開機沒有wifi顯示,設定中的網路裡也看不到wifi選項,可能是驅動沒有
1.通過設定-軟體和更新-附加驅動 檢視不到可更新的wifi驅動。
2.手動安裝無線網絡卡驅動
現在檢視網絡卡名稱:
~$ lspci -knn | grep Net -A2 3d:00.0 Network controller [0280]: Intel Corporation Device [8086:2526] (rev 29) Subsystem: Bigfoot Networks, Inc. Device [1a56:1550] 3e:00.0 Non-Volatile memory controller [0108]:
ubuntu下檢視到裝置名。
如果是雙系統的話,在Windows下控制面板-裝置管理器中可以查到無線網絡卡具體型號,我的電腦無線網絡卡型號是 :
Killer(R) Wireless-AC 1550 Wireless Network Adapter (9260NGW)
如果此時網絡卡型號不同,可以搜尋型號+ubuntu,下載deb檔案手動安裝,重啟即可。詳情參考:
https://blog.csdn.net/yrc19950911/article/details/79156065
https://blog.csdn.net/weixin_40358083/article/details/80224098
手動安裝
此時不要去搜索Killer(R) Wireless-AC 1550 Wireless Network Adapter (9260NGW)該驅動,因為現在能下載到的都是windows10版本驅動。ubuntu下安裝該驅動如下操作:
Intel recently added the VID and PID to their backports, to install
~$ sudo apt-get install git ~$ git clone https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git ~$ cd backport-iwlwifi ~$ make defconfig-iwlwifi-public ~$ sed -i 's/CPTCFG_IWLMVM_VENDOR_CMDS=y/# CPTCFG_IWLMVM_VENDOR_CMDS is not set/' .config ~$ make -j4 ~$ sudo make install
這裡會提示很多依賴找不到檔案,重啟一般就可以看到wifi了,如果還看不到,繼續
Reboot and if the wireless doesn't work, in terminal
dmesg | grep iwl | nc termbin.com 9999
and post the URL from terminal in a comment as we made need to get firmware from upstream
After a kernel update you will need to
cd backport-iwlwifi
make clean
make defconfig-iwlwifi-public
make -j4
sudo make install
ref:https://askubuntu.com/questions/1016903/alienware-17-r4-ubuntu-16-04-wifi-driver