关于“W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-1.fw for module r8169”问题的解决

我的系统是:

guoyanzhang@debian:/lib/firmware$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster

出现问题: 

W: Possible missing firmware /lib/firmware/rtl_nic/rtl8107e-2.fw for module r8169

 网上解决(我这边测试了,没有效果):

guoyanzhang@debian:/lib/firmware$ sudo apt install firmware-realtek
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package firmware-realtek
guoyanzhang@debian:/lib/firmware$ sudo apt install firmware-realtek
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package firmware-realtek

 我的解决方法:

我观察到我的系统下没有rtl_nic这个目录,所以我新建一个:

guoyanzhang@debian:/lib/firmware$ ls
av7110  carl9170-1.fw  cis  dsp56k  isci  keyspan_pda  usbduxfast_firmware.bin  usbdux_firmware.bin  usbduxsigma_firmware.bi
guoyanzhang@debian:/lib/firmware$ sudo mkdir ntl_nic

然后我把/lib/firmware下的carl9170-1.fw拷贝到/lib/firmware/ntl_nic下:

guoyanzhang@debian:/lib/firmware$ sudo cp carl9170-1.fw ntl_nic/

 然后更新列表升级:

guoyanzhang@debian:/lib/firmware$ sudo apt-get update && sudo apt-get dist-upgrade
Hit:1 http://mirrors.tuna.tsinghua.edu.cn/debian buster InRelease
Hit:2 http://mirrors.tuna.tsinghua.edu.cn/debian buster-updates InRelease
Get:3 https://download.docker.com/linux/debian buster InRelease [44.4 kB]
Hit:4 http://security.debian.org/debian-security buster/updates InRelease
Fetched 44.4 kB in 6s (7,770 B/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  linux-headers-4.19.0-10-amd64 linux-headers-4.19.0-10-common linux-image-4.19.0-10-amd64
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

 

相关推荐