小米笔记本(13.3 I7) ubuntu14.04下网卡驱动安装

时间:2024-10-18 23:04:14

ubuntu 内核升级到4.6.4(更高版本可能造成系统无法启动)

kernel debian包下载地址 http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.6.4/

sudo dpkg -i  linux-headers-4.6.4-040604_4.6.4-040604.201607111332_all.deb linux-headers-4.6.4-040604-generic_4.6.4-040604.201607111332_amd64.deb linux-image-4.6.4-040604-generic_4.6.4-040604.201607111332_amd64.deb

sudo update-grub

sudo reboot

******如果无法进入新内核系统,则选择进入原系统删除刚安装的kernel******

删除内核版本

sudo dpkg -r linux-headers-4.9.0-040900_4.9.0-040900.201612111631_all.deb  linux-headers-4.9.0-040900-generic_4.9.0-040900.201612111631_amd64.deb linux-image-4.9.0-040900-generic_4.9.0-040900.201612111631_amd64.deb

sudo update-grub

sudo reboot

驱动固件下载(只支持4.6以上kernel版本)

https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi

选择 Intel® Wireless 8265

解压 tar -zxvf iwlwifi-8265-ucode-22.361476.0.tgz

拷贝 cp iwlwifi-8265-ucode-22.361476.0/iwl*.ucode /lib/firmware

下载驱动

git clone git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git

cd backport-iwlwifi

make menuconfig # 选择 Build all compat code

make

sudo make install

重启

查看网卡驱动

sudo lshw -class network | grep configuration  #可以看到驱动版本号说明驱动安装成功

modinfo| grep iwlwifi |grep filename

lspci -vvv

更改设置

sudo vi /etc/modprobe.d/blacklist.conf 中写入一行内容 blacklist acer_wmi