Debian9安裝後的一些坑

1. 關機時nouveau無限循環刷屏

解決方法:禁用nouveau。

sudo gedit /etc/modprobe.d/blacklist-nouveau.conf

添加下面兩行:

blacklist nouveau

options nouveau modeset=0

#重新生成 kernel initramfs

update-initramfs –u

#重啓

reboot

#重啓後驗證驅動是否被禁用 如果無結果顯示則表明成功禁用

lsmod | grep nouveau

#再關機就不會出現無限刷屏了

 

2. 更換apt源

進入/etc/apt目錄,備份sources.list,修改新的sources.list,內容如下,保存後執行sudo apt-get update

deb http://mirrors.163.com/debian/ stretch main non-free contrib

deb http://mirrors.163.com/debian/ stretch-updates main non-free contrib

deb http://mirrors.163.com/debian/ stretch-backports main non-free contrib

deb-src http://mirrors.163.com/debian/ stretch main non-free contrib

deb-src http://mirrors.163.com/debian/ stretch-updates main non-free contrib

deb-src http://mirrors.163.com/debian/ stretch-backports main non-free contrib

deb http://mirrors.163.com/debian-security/ stretch/updates main non-free contrib

deb-src http://mirrors.163.com/debian-security/ stretch/updates main non-free contrib

 

3. 沒有安裝ath10k驅動導致無法鏈接wifi

解決方法:sudo apt-get install firmware-atheros,重啓,完美解決。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章