检查非免费固件是否已正确安装

检查非免费固件是否已正确安装

我下载了deb包;将它们(无需解压)放入 USB 驱动器*,当询问时,我告诉安装程序在该驱动器中搜索它们。

现在,在我新安装的系统上,安装程序告诉我丢失的文件位于 中/lib/firmware,但dpkg -s <package>说软件包未安装。可以吗?

*我这样做是因为导游说:“如果固件是从固件包加载的,debian-installer也会为已安装的系统安装这个包,并自动在APT的sources.list中添加包存档的非自由部分。这样做的好处是如果有新版本可用,固件应该自动更新。”目前尚不清楚该包是否应该解压,我决定保持原样。


有问题的固件包是firmware-brcm80211firmware-realtek。缺少的固件文件是brcm/bcm43xx-0.fwrtl_nic/rtl8168d-2.fw

答案1

您应该解压该.deb文件,然后将其复制到 USB 驱动器,当系统要求您加载缺少的固件时,插入 USB,有一个示例:

mkdir bcm && cd bcm
wget  http://ftp.us.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-brcm80211_20161130-3_all.deb
ar x firmware-brcm80211_20161130-3_all.deb
tar xvf data.tar.xz
cd /lib/firmware/brcm
ls

示例输出:

bcm43xx-0.fw              brcmfmac4330-sdio.bin    brcmfmac4354-sdio.bin
bcm43xx_hdr-0.fw          brcmfmac43340-sdio.bin   brcmfmac43569.bin
brcmfmac43143.bin         brcmfmac4334-sdio.bin    brcmfmac4356-pcie.bin
brcmfmac43143-sdio.bin    brcmfmac4335-sdio.bin    brcmfmac43570-pcie.bin
brcmfmac43236b.bin        brcmfmac43362-sdio.bin   brcmfmac43602-pcie.ap.bin
brcmfmac43241b0-sdio.bin  brcmfmac4339-sdio.bin    brcmfmac43602-pcie.bin
brcmfmac43241b4-sdio.bin  brcmfmac43430-sdio.bin   brcmfmac4366b-pcie.bin
brcmfmac43241b5-sdio.bin  brcmfmac43455-sdio.bin   brcmfmac4371-pcie.bin

将其复制bcm43xx-0.fw到您的 USB 驱动器。重复相同的步骤rtl_nic/rtl8168d-2.fw


固件包=firmware-realtek

If the firmware was loaded from a firmware package, debian-installer will also install this package for the installed system and will automatically add the non-free section of the package archive in APT's sources.list. This has the advantage that the firmware should be updated automatically if a new version becomes available.

松散的固件文件=rtl_nic/rtl8168d-2.fw

如果固件是从松散固件文件加载的,则复制到已安装系统的固件将不会自动更新,除非安装完成后安装了相应的固件包(如果有)。

相关内容