参考:
/chenhongloves/article/details/120351915?spm=1001..3001.5501
没有wifi的原因:
r9000p用的联发科relatek MT7921 WIFI6的网卡,系统内核没有兼容的驱动.
查看网络:rfkill list all
没有WIFI时~$ rfkill list all0: ideapad_wlan: Wireless LANSoft blocked: noHard blocked: no1: ideapad_bluetooth: BluetoothSoft blocked: yesHard blocked: no2: hci0: BluetoothSoft blocked: yesHard blocked: no
有WIFI后~$ rfkill list all0: ideapad_wlan: Wireless LANSoft blocked: noHard blocked: no1: ideapad_bluetooth: BluetoothSoft blocked: yesHard blocked: no2: hci0: BluetoothSoft blocked: yesHard blocked: no3: phy0: Wireless LANSoft blocked: noHard blocked: no
没有WIFI是没有第三栏的显示的;
解决思路:
新电脑起初安装16.04,各种问题:分辨率问题(没有适配的显卡驱动)、亮度无法调节问题(还没很好的解决)、没有wifi(驱动问题,intel的网卡可能不会出现此问题)
下载20.04,不行,还是没有WIFI;
然后干脆下个最新的21.10;有了!(然后发现没有找到适合下载的ros版本,不能用)。
考虑:
可能是内核问题,查看21.10的内核5.13,查看20.04的内核5.11,升级内核问题解决;
升级内核:
5.13内核链接
下载除了带lowlatency的四个deb;
安装:参考
可用sudo dpkg --auto-deconfigure -i *.deb 在下载到的文件夹一键安装;
遇到libc6、fakeroot等版本问题:
我与参考博主不同的是多出现了一个fakeroot的问题,那就升级;
系统报什么问题,就升级什么:
fakeroot连接:
/ubuntu/pool/main/f/fakeroot/libfakeroot_1.25.3-1.1ubuntu2_amd64.deb
/ubuntu/pool/main/f/fakeroot/fakeroot_1.25.3-1.1ubuntu2_amd64.deb
还缺什么就到这里去找,自行下载后,可以统一下载到一个文件夹(所有需要升级的包),然后
sudo dpkg --auto-deconfigure -i *.deb
重新安装内核包
$ sudo dpkg --auto-deconfigure -i *.deb[sudo] ll 的密码: (正在读取数据库 ... 系统当前共安装有 351427 个文件和目录。)准备解压 linux-headers-5.13.0-051300_5.13.0-051300.06272333_all.deb ...正在解压 linux-headers-5.13.0-051300 (5.13.0-051300.06272333) 并覆盖 (5.13.0-051300.06272333) ...准备解压 linux-headers-5.13.0-051300-generic_5.13.0-051300.06272333_amd64.deb ...正在解压 linux-headers-5.13.0-051300-generic (5.13.0-051300.06272333) 并覆盖 (5.13.0-051300.06272333) ...准备解压 linux-image-unsigned-5.13.0-051300-generic_5.13.0-051300.06272333_amd64.deb ...正在解压 linux-image-unsigned-5.13.0-051300-generic (5.13.0-051300.06272333) 并覆盖 (5.13.0-051300.06272333) ...准备解压 linux-modules-5.13.0-051300-generic_5.13.0-051300.06272333_amd64.deb ...正在解压 linux-modules-5.13.0-051300-generic (5.13.0-051300.06272333) 并覆盖 (5.13.0-051300.06272333) ...正在设置 linux-headers-5.13.0-051300 (5.13.0-051300.06272333) ...正在设置 linux-headers-5.13.0-051300-generic (5.13.0-051300.06272333) .../etc/kernel/header_postinst.d/dkms:* dkms: running auto installation service for kernel 5.13.0-051300-generic...done.正在设置 linux-image-unsigned-5.13.0-051300-generic (5.13.0-051300.06272333) ...正在设置 linux-modules-5.13.0-051300-generic (5.13.0-051300.06272333) ...正在处理用于 linux-image-unsigned-5.13.0-051300-generic (5.13.0-051300.06272333) 的触发器 .../etc/kernel/postinst.d/dkms:* dkms: running auto installation service for kernel 5.13.0-051300-generic...done./etc/kernel/postinst.d/initramfs-tools:update-initramfs: Generating /boot/initrd.img-5.13.0-051300-genericI: The initramfs will attempt to resume from /dev/nvme1n1p4I: (UUID=9fa09666-0647-4766-81d3-8eea90e826db)I: Set the RESUME variable to override this./etc/kernel/postinst.d/zz-update-grub:Sourcing file `/etc/default/grub'Sourcing file `/etc/default/grub.d/init-select.cfg'正在生成 grub 配置文件 ...找到 Linux 镜像:/boot/vmlinuz-5.13.0-051300-generic找到 initrd 镜像:/boot/initrd.img-5.13.0-051300-generic找到 Linux 镜像:/boot/vmlinuz-5.11.0-40-generic找到 initrd 镜像:/boot/initrd.img-5.11.0-40-generic找到 Linux 镜像:/boot/vmlinuz-5.11.0-27-generic找到 initrd 镜像:/boot/initrd.img-5.11.0-27-generic找到 Linux 镜像:/boot/vmlinuz-5.11.0-20-generic找到 initrd 镜像:/boot/initrd.img-5.11.0-20-generic找到 Windows Boot Manager 位于 /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi找到 Windows Boot Manager 位于 /dev/nvme1n1p3@/efi/Microsoft/Boot/bootmgfw.efiAdding boot menu entry for UEFI Firmware Settings完成
重启系统;
发现有了WIFI:
问题解决!