MediaTek Wi-Fi 6 MT7921 Wireless LAN Card

无线网卡是:MediaTek Wi-Fi 6 MT7921 Wireless LAN Card
请问一下,Debian11如何安装相关驱动

首先的话先通过手机数据线把手机和电脑连起来,通过手机USB共享上网。让笔记本也能上网。
之后打开终端输入:
sudo apt install -t bullseye-backports linux-image-amd64回车
等待5.18新版内核安装完。
重启电脑。
之后打开终端,输入
sudo apt install firmware-misc-nonfree回车
安装完后再重启电脑就会发现网卡可以用了。

内核已经升级到5.18,但是还是不行。

其他软件包我说的都装了吗。正常的话应该是可以了的。

1 个赞

firmware-misc-nonfree安装了的。

请问你使用的源是哪个,是否和源有关系。

一直用ustc源

我也用的是这个。那我再试一试,谢谢你了。

你那个是intel无线网卡用的。。。。。。mt7921 wifi网卡驱动是我上面说的那个才有。。。。

对的。他说的那个是intel的。顺便问一下,你的源是中科大的,我的也是,但是为什么执行apt install -t bullseye-backports linux-image-amd64时会报错?只有添加了阿里云的才能更新内核。如果只是中科大的源,最新的内核就是5.10的,没有5.18的?

你看下/etc/apt/sources.list文件写对了没。正确的应该是这样的:
deb Index of /debian/ bullseye main contrib non-free
deb-src Index of /debian/ bullseye main contrib non-free

deb Index of /debian/ bullseye-updates main contrib non-free
deb-src Index of /debian/ bullseye-updates main contrib non-free

deb Index of /debian/ bullseye-backports main contrib non-free
deb-src Index of /debian/ bullseye-backports main contrib non-free

deb https://mirrors.ustc.edu.cn/debian-security/ bullseye-security main contrib non-free
deb-src https://mirrors.ustc.edu.cn/debian-security/ bullseye-security main contrib non-free

我是直接按照官方源复制的,它的格式是:
deb Index of /debian/ stable main contrib non-free

deb-src Index of /debian/ stable main contrib non-free

deb Index of /debian/ stable-updates main contrib non-free

deb-src Index of /debian/ stable-updates main contrib non-free

deb Index of /debian/ stable-proposed-updates main contrib non-free

deb-src Index of /debian/ stable-proposed-updates main contrib non-free

这个显然就不完整呀。官方是官方,但是如果你想有更完整的仓库可以用的话,官方这些源有缺失。不完整。
官方这些源,我看了下,少了security源,要是有安全补丁就不能获得。另外backports源也是没有的。这样的话想在debian11里获得新一点的内核和软件包等等的话就不能获得了。
还是用我发的吧。这样Debian11软件源才是完完整整的。体验更好。

1 个赞

好的,谢谢!

谢谢,已经处理好了。

好。