debian 9 中缺少固件 iwlwifi

debian 9 中缺少固件 iwlwifi

我刚刚在我的 msi 笔记本电脑上安装了 debian 9。它是计算机上唯一的操作系统。

在安装时,我无法访问网络,并且它指出找不到固件iwlwifi-3168-26.ucode、、、和。iwlwifi-3168-25.ucodeiwlwifi-3168-24.ucodeiwlwifi-3168-23.ucodeiwlwifi-3168-22.ucode

安装完成,我尝试了显而易见的方法sudo apt-get install firmware-iwlwifi,这给了我这个:

Package firmware-iwlwifi is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'firmware-iwlwifi' has no installation candidate.

然后我按照建议下载iwlwifi-3168-29.ucode文件并手动将其放入/lib/firmware,然后重新启动机器而不进行任何更改。

值得注意的是,虽然我的有线连接工作正常,但在网络管理器(Cinnamon 桌面)中甚至没有 Wi-Fi 选项。我尝试手动输入 Wi-Fi 网络详细信息,但拒绝连接。

ifconfig输出:

enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
    inet 10.25.14.118  netmask 255.255.0.0  broadcast 10.25.255.255
    inet6 fe80::329c:23ff:fe15:2004  prefixlen 64  scopeid 0x20<link>
    ether 30:9c:23:15:20:04  txqueuelen 1000  (Ethernet)
    RX packets 214505  bytes 276211608 (263.4 MiB)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 23769  bytes 2129086 (2.0 MiB)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    device interrupt 19  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 168  bytes 13356 (13.0 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 168  bytes 13356 (13.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

我也尝试从 git 构建它git clone https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git,但它拒绝构建。

我现在已经重新安装了操作系统五次了。

答案1

包裹固件-iwlwifi位于 Debian 的非自由部分,默认情况下不“启用”。

将“非免费”添加到您的条目中,/etc/apt/sources.list如所述这里(向下滚动一点)。

来自上面链接的示例sources.list:

deb http://deb.debian.org/debian stretch main contrib non-free
deb-src http://deb.debian.org/debian stretch main contrib non-free

deb http://deb.debian.org/debian-security/ stretch/updates main contrib non-free
deb-src http://deb.debian.org/debian-security/ stretch/updates main contrib non-free

deb http://deb.debian.org/debian stretch-updates main contrib non-free
deb-src http://deb.debian.org/debian stretch-updates main contrib non-free

然后以 rootapt-get update身份运行apt-get install firmware-iwlwifi

相关内容