# Wifi not recognized with 9.1 on Ideapad

**URL:** <https://forums.rockylinux.org/t/wifi-not-recognized-with-9-1-on-ideapad/9476>\
**Category:** Rocky Linux Help & Support\
**Created:** [April 8, 2023, 8:20pm UTC](https://forums.rockylinux.org/t/wifi-not-recognized-with-9-1-on-ideapad/9476 "2023-04-08T20:20:45Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![user1](https://avatars.discourse-cdn.com/v4/letter/u/5daacb/32.png) [@user1](https://forums.rockylinux.org/u/user1)\
**Post date:** [April 8, 2023, 8:20pm UTC](https://forums.rockylinux.org/t/wifi-not-recognized-with-9-1-on-ideapad/9476/1 "2023-04-08T20:20:45Z")

</div>

I just installed Rocky Linux 9.1 on my Lenovo ideapad with secureboot enabled and my networking hardware was not recognized. There’s nothing in `dmesg` but `lspci -nnk` indicates that this is a Realtek Broadcom 5762 device. How can I get online?

---

<div class="post-metadata">

**Author:** ![toracat](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/toracat/32/68_2.png) [@toracat](https://forums.rockylinux.org/u/toracat)\
**Post date:** [April 8, 2023, 8:27pm UTC](https://forums.rockylinux.org/t/wifi-not-recognized-with-9-1-on-ideapad/9476/2 "2023-04-08T20:27:44Z")

</div>

> [@user1](#):
>
> Broadcom 5762

Your lspci command should show the device ID as xxxx:yyyy. Can you share that?

---

<div class="post-metadata">

**Author:** ![user1](https://avatars.discourse-cdn.com/v4/letter/u/5daacb/32.png) [@user1](https://forums.rockylinux.org/u/user1)\
**Post date:** [April 8, 2023, 8:34pm UTC](https://forums.rockylinux.org/t/wifi-not-recognized-with-9-1-on-ideapad/9476/3 "2023-04-08T20:34:30Z")

</div>

Like this?

```auto
$ lspci | grep Realtek

02:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device b852

```

---

<div class="post-metadata">

**Author:** ![toracat](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/toracat/32/68_2.png) [@toracat](https://forums.rockylinux.org/u/toracat)\
**Post date:** [April 8, 2023, 11:46pm UTC](https://forums.rockylinux.org/t/wifi-not-recognized-with-9-1-on-ideapad/9476/4 "2023-04-08T23:46:08Z")

</div>

Not quite. You need to use a flag -nn as you did earlier.

lspci -nn

---

<div class="post-metadata">

**Author:** ![user1](https://avatars.discourse-cdn.com/v4/letter/u/5daacb/32.png) [@user1](https://forums.rockylinux.org/u/user1)\
**Post date:** [April 9, 2023, 12:05am UTC](https://forums.rockylinux.org/t/wifi-not-recognized-with-9-1-on-ideapad/9476/5 "2023-04-09T00:05:20Z")

</div>

I think the “Broadcom 5762” tag might be a red herring i.e., the video card. I’m not familiar with this command. Anyway here’s my grep for “Net” plus some surrounding context.

```auto
$ lspci -nnk | grep -A1 Net 
02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:b852]
	Subsystem: Lenovo Device [17aa:4853]

```

---

<div class="post-metadata">

**Author:** ![user1](https://avatars.discourse-cdn.com/v4/letter/u/5daacb/32.png) [@user1](https://forums.rockylinux.org/u/user1)\
**Post date:** [April 9, 2023, 12:07am UTC](https://forums.rockylinux.org/t/wifi-not-recognized-with-9-1-on-ideapad/9476/6 "2023-04-09T00:07:23Z")

</div>

Additionally, there is a sticker on the back that says “Contains RTL8852BE module” with some FCC verbiage following. So that is probably the wireless chipset.

---

<div class="post-metadata">

**Author:** ![user1](https://avatars.discourse-cdn.com/v4/letter/u/5daacb/32.png) [@user1](https://forums.rockylinux.org/u/user1)\
**Post date:** [April 9, 2023, 12:16am UTC](https://forums.rockylinux.org/t/wifi-not-recognized-with-9-1-on-ideapad/9476/7 "2023-04-09T00:16:12Z")

</div>

I found these github repos, but I suspect they are somewhat inimical to my purposes.

> **[GitHub - HRex39/rtl8852be: Realtek Linux WLAN Driver for RTL8852BE](https://github.com/HRex39/rtl8852be)**
>
> Realtek Linux WLAN Driver for RTL8852BE. Contribute to HRex39/rtl8852be development by creating an account on GitHub.

This one is retired + read-only, and I need to disable SecureBoot. (Can I re-enable SecureBoot after installing it?)

> **[GitHub - lwfinger/rtw89: Driver for Realtek 8852AE, an 802.11ax device](https://github.com/lwfinger/rtw89)**
>
> Driver for Realtek 8852AE, an 802.11ax device. Contribute to lwfinger/rtw89 development by creating an account on GitHub.

This one requires doing special kernel stuff:

> This branch was created from the version merged into the wireless-drivers-next repo, which is in the 5.16 kernel. IF YOU USE DRIVERS FROM THIS REPO FOR KERNELS 5.16+, YOU MUST BLACKLIST THE KERNEL VERSIONS!!! FAILING TO DO THIS WILL RESULT IN ALL MANNER OF STRANGE ERRORS.
> 
> This code will build on any kernel 5.7 and newer as long as the distro has not modified any of the kernel APIs. IF YOU RUN UBUNTU, YOU CAN BE ASSURED THAT THE APIs HAVE CHANGED. NO, I WILL NOT MODIFY THE SOURCE FOR YOU. YOU ARE ON YOUR OWN!!!

I’m not averse to creating a custom kernel once but I intend this to be a stable installation for a non-techie family member. What happens when I’m not around and it automatically updates? How do I blacklist a kernel version as opposed to a module?

---

<div class="post-metadata">

**Author:** ![toracat](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/toracat/32/68_2.png) [@toracat](https://forums.rockylinux.org/u/toracat)\
**Post date:** [April 9, 2023, 12:35am UTC](https://forums.rockylinux.org/t/wifi-not-recognized-with-9-1-on-ideapad/9476/8 "2023-04-09T00:35:23Z")

</div>

Regarding PCI 10ec:b852:17aa:4853 (your device), according to this page:

> **[Realtek Semiconductor RTL8852BE PCIe 802.11ax Wireless Network Controller](https://linux-hardware.org/?id=pci:10ec-b852-17aa-4853&page=2#status)**
>
> A database of all the hardware that works under linux

it works in Fedora 36 etc. Therefore, I suggest you test-install ELRepo’s kernel-ml. There is a good chance the device is recognized.

---

<div class="post-metadata">

**Author:** ![user1](https://avatars.discourse-cdn.com/v4/letter/u/5daacb/32.png) [@user1](https://forums.rockylinux.org/u/user1)\
**Post date:** [April 9, 2023, 1:28am UTC](https://forums.rockylinux.org/t/wifi-not-recognized-with-9-1-on-ideapad/9476/9 "2023-04-09T01:28:42Z")

</div>

Thanks for that useful website! It is a bit confusing because they will list the same version and distribution but with different results. I presume that means that support changes over time.

I’m also new to the ELRepo website. If I understand correctly, the methodology is to install the relevant kernel via that repo, but then in the future remove the configuration under `/etc/yum....` once the 9.x version of Rocky Linux “catches up”?

My plan was to configure DNF to update from the Rocky/RHEL repos automatically.

---

<div class="post-metadata">

**Author:** ![user1](https://avatars.discourse-cdn.com/v4/letter/u/5daacb/32.png) [@user1](https://forums.rockylinux.org/u/user1)\
**Post date:** [April 9, 2023, 2:13am UTC](https://forums.rockylinux.org/t/wifi-not-recognized-with-9-1-on-ideapad/9476/10 "2023-04-09T02:13:31Z")

</div>

I have successfully installed kernel-ml package from ELRepo but I obviously missed a step because when I reboot, it says I need to load the new kernel first. The new kernel is the top of the boot menu now, but it doesn’t load.

---

<div class="post-metadata">

**Author:** ![toracat](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/toracat/32/68_2.png) [@toracat](https://forums.rockylinux.org/u/toracat)\
**Post date:** [April 9, 2023, 8:50am UTC](https://forums.rockylinux.org/t/wifi-not-recognized-with-9-1-on-ideapad/9476/11 "2023-04-09T08:50:13Z")

</div>

Not sure how you installed kernel-ml but it’s basically a two step procedure:

```auto
# dnf install elrepo-release
# dnf --enablerepo=elrepo-kernel install kernel-ml

```

---

<div class="post-metadata">

**Author:** ![user1](https://avatars.discourse-cdn.com/v4/letter/u/5daacb/32.png) [@user1](https://forums.rockylinux.org/u/user1)\
**Post date:** [April 9, 2023, 8:49pm UTC](https://forums.rockylinux.org/t/wifi-not-recognized-with-9-1-on-ideapad/9476/12 "2023-04-09T20:49:26Z")

</div>

Re-running those commands indicate that they are both installed. At this point kernel-ml is 6.x. Running `uname -msr` indicates kernel version 5.x is actually being used. When I reboot now, I am not presented with a screen to select which kernel to use (as I recall from using Fedora thirtysomething this is always a choice with that distro). Instead, I am presented with the decryption window before regular boot.

I also did some mok configuration as outlined on the ELRepo page about SecureBoot so I don’t think that is the problem.

So I need to figure out how to use the ELRepo kernel I installed without bricking the system.

---

<div class="post-metadata">

**Author:** ![user1](https://avatars.discourse-cdn.com/v4/letter/u/5daacb/32.png) [@user1](https://forums.rockylinux.org/u/user1)\
**Post date:** [April 9, 2023, 8:58pm UTC](https://forums.rockylinux.org/t/wifi-not-recognized-with-9-1-on-ideapad/9476/13 "2023-04-09T20:58:39Z")

</div>

Running `grubby --info=ALL` shows that the 6.x kernel is at index 0, the 5.14 kernel is at index 1.

```auto
index=0
kernel="/boot/vmlinuz-6.2.10-1.el9.elrepo.x86_64"
args="ro crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M resume=/dev/mapper/rl_rocky-swap rd.luks.uuid=luks-784d62b9-b4e4-4853-80a2-07cb641d1b37 rd.lvm.lv=rl_rocky/root rd.lvm.lv=rl_rocky/swap rhgb quiet $tuned_params"
root="/dev/mapper/rl_rocky-root"
initrd="/boot/initramfs-6.2.10-1.el9.elrepo.x86_64.img $tuned_initrd"
title="Rocky Linux (6.2.10-1.el9.elrepo.x86_64) 9.1 (Blue Onyx)"
id="d6c9073287694609b67aba84e022cce6-6.2.10-1.el9.elrepo.x86_64"
index=1
kernel="/boot/vmlinuz-5.14.0-162.22.2.el9_1.x86_64"
args="ro crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M resume=/dev/mapper/rl_rocky-swap rd.luks.uuid=luks-784d62b9-b4e4-4853-80a2-07cb641d1b37 rd.lvm.lv=rl_rocky/root rd.lvm.lv=rl_rocky/swap rhgb quiet $tuned_params"
root="/dev/mapper/rl_rocky-root"
initrd="/boot/initramfs-5.14.0-162.22.2.el9_1.x86_64.img $tuned_initrd"
title="Rocky Linux (5.14.0-162.22.2.el9_1.x86_64) 9.1 (Blue Onyx)"
id="d6c9073287694609b67aba84e022cce6-5.14.0-162.22.2.el9_1.x86_64"
index=2
kernel="/boot/vmlinuz-5.14.0-162.6.1.el9_1.x86_64"
args="ro crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M resume=/dev/mapper/rl_rocky-swap rd.luks.uuid=luks-784d62b9-b4e4-4853-80a2-07cb641d1b37 rd.lvm.lv=rl_rocky/root rd.lvm.lv=rl_rocky/swap rhgb quiet $tuned_params"
root="/dev/mapper/rl_rocky-root"
initrd="/boot/initramfs-5.14.0-162.6.1.el9_1.x86_64.img $tuned_initrd"
title="Rocky Linux (5.14.0-162.6.1.el9_1.x86_64) 9.1 (Blue Onyx)"
id="d6c9073287694609b67aba84e022cce6-5.14.0-162.6.1.el9_1.x86_64"
index=3
kernel="/boot/vmlinuz-0-rescue-d6c9073287694609b67aba84e022cce6"
args="ro crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M resume=/dev/mapper/rl_rocky-swap rd.luks.uuid=luks-784d62b9-b4e4-4853-80a2-07cb641d1b37 rd.lvm.lv=rl_rocky/root rd.lvm.lv=rl_rocky/swap rhgb quiet"
root="/dev/mapper/rl_rocky-root"
initrd="/boot/initramfs-0-rescue-d6c9073287694609b67aba84e022cce6.img"
title="Rocky Linux (0-rescue-d6c9073287694609b67aba84e022cce6) 9.1 (Blue Onyx)"
id="d6c9073287694609b67aba84e022cce6-0-rescue"

```

---

<div class="post-metadata">

**Author:** ![user1](https://avatars.discourse-cdn.com/v4/letter/u/5daacb/32.png) [@user1](https://forums.rockylinux.org/u/user1)\
**Post date:** [April 9, 2023, 9:10pm UTC](https://forums.rockylinux.org/t/wifi-not-recognized-with-9-1-on-ideapad/9476/14 "2023-04-09T21:10:17Z")

</div>

I figured out how to set the default kernel with the `grubby` tool, and then I rebooted and got the familiar screen which selects which kernel to use. This time I noted the error when trying to use the kernel-ml kernel. There’s at least two errors. Here’s the output:

```auto
error: ../../grub-core/kern/efi/sb.c:182:bad shim signature.
error: ../../grub-core/loader/i386/efi/linux.c:259:you need to load the kernel first.

```

I should note that i386 is not the correct platform, this is 64 bit. And the “you need to load the kernel first” is after trying to load the kernel.

So looks like there is a misconfiguration with ELRepo either through their action or mine.

---

<div class="post-metadata">

**Author:** ![user1](https://avatars.discourse-cdn.com/v4/letter/u/5daacb/32.png) [@user1](https://forums.rockylinux.org/u/user1)\
**Post date:** [April 9, 2023, 9:17pm UTC](https://forums.rockylinux.org/t/wifi-not-recognized-with-9-1-on-ideapad/9476/15 "2023-04-09T21:17:00Z")

</div>

Here’s my elrepo config under /etc/yum.repos.d/

```auto
### Name: ELRepo.org Community Enterprise Linux Repository for el9
### URL: https://elrepo.org/

[elrepo]
name=ELRepo.org Community Enterprise Linux Repository - el9
baseurl=http://elrepo.org/linux/elrepo/el9/$basearch/
	http://mirrors.coreix.net/elrepo/elrepo/el9/$basearch/
	http://mirror.rackspace.com/elrepo/elrepo/el9/$basearch/
	http://linux-mirrors.fnal.gov/linux/elrepo/elrepo/el9/$basearch/
mirrorlist=http://mirrors.elrepo.org/mirrors-elrepo.el9
enabled=1
countme=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-elrepo.org

[elrepo-testing]
name=ELRepo.org Community Enterprise Linux Testing Repository - el9
baseurl=http://elrepo.org/linux/testing/el9/$basearch/
	http://mirrors.coreix.net/elrepo/testing/el9/$basearch/
	http://mirror.rackspace.com/elrepo/testing/el9/$basearch/
	http://linux-mirrors.fnal.gov/linux/elrepo/testing/el9/$basearch/
mirrorlist=http://mirrors.elrepo.org/mirrors-elrepo-testing.el9
enabled=0
countme=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-elrepo.org

[elrepo-kernel]
name=ELRepo.org Community Enterprise Linux Kernel Repository - el9
baseurl=http://elrepo.org/linux/kernel/el9/$basearch/
	http://mirrors.coreix.net/elrepo/kernel/el9/$basearch/
	http://mirror.rackspace.com/elrepo/kernel/el9/$basearch/
	http://linux-mirrors.fnal.gov/linux/elrepo/kernel/el9/$basearch/
mirrorlist=http://mirrors.elrepo.org/mirrors-elrepo-kernel.el9
enabled=0
countme=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-elrepo.org

[elrepo-extras]
name=ELRepo.org Community Enterprise Linux Extras Repository - el9
baseurl=http://elrepo.org/linux/extras/el9/$basearch/
	http://mirrors.coreix.net/elrepo/extras/el9/$basearch/
	http://mirror.rackspace.com/elrepo/extras/el9/$basearch/
	http://linux-mirrors.fnal.gov/linux/elrepo/extras/el9/$basearch/
mirrorlist=http://mirrors.elrepo.org/mirrors-elrepo-extras.el9
enabled=0
countme=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-elrepo.org

```

presumably `basearch` is messed up somewhere?

---

<div class="post-metadata">

**Author:** ![toracat](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/toracat/32/68_2.png) [@toracat](https://forums.rockylinux.org/u/toracat)\
**Post date:** [April 9, 2023, 9:31pm UTC](https://forums.rockylinux.org/t/wifi-not-recognized-with-9-1-on-ideapad/9476/16 "2023-04-09T21:31:47Z")

</div>

I should have noticed that you have secure boot enabled. Unfortunately kernel-ml is not SB-able. You need to disable it to install it.

---

<div class="post-metadata">

**Author:** ![user1](https://avatars.discourse-cdn.com/v4/letter/u/5daacb/32.png) [@user1](https://forums.rockylinux.org/u/user1)\
**Post date:** [April 9, 2023, 10:11pm UTC](https://forums.rockylinux.org/t/wifi-not-recognized-with-9-1-on-ideapad/9476/17 "2023-04-09T22:11:54Z")

</div>

Can I turn it back on once the 9.x branch catches up to my hardware?

Just thinking out loud here… obviously the virtue of Rocky Linux is the stability and testedness of the distro. Perhaps for my particular hardware, one of the distros that already has the requisite support is a better idea, strictly because the benefit of SecureBoot combined with the hardware support. Given that my goal for this particular machine is “set it and forget it” so to speak.

---

<div class="post-metadata">

**Author:** ![toracat](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/toracat/32/68_2.png) [@toracat](https://forums.rockylinux.org/u/toracat)\
**Post date:** [April 9, 2023, 10:34pm UTC](https://forums.rockylinux.org/t/wifi-not-recognized-with-9-1-on-ideapad/9476/18 "2023-04-09T22:34:20Z")

</div>

Support for 8852BE was added to the upstream ([kernel.org](http://kernel.org)) kernel quite recently (kernel-6.2). This has to be backported to the RHEL (hence Rocky) kernel. I doubt it will happen any time soon.

---

<div class="post-metadata">

**Author:** ![user1](https://avatars.discourse-cdn.com/v4/letter/u/5daacb/32.png) [@user1](https://forums.rockylinux.org/u/user1)\
**Post date:** [April 11, 2023, 2:44am UTC](https://forums.rockylinux.org/t/wifi-not-recognized-with-9-1-on-ideapad/9476/19 "2023-04-11T02:44:39Z")

</div>

I’m installing Rocky Linux on an older machine in the mean time. Thanks.

---

<div class="post-metadata">

**Author:** ![brian](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/brian/32/5777_2.png) [@brian](https://forums.rockylinux.org/u/brian)\
**Post date:** [August 25, 2023, 3:18am UTC](https://forums.rockylinux.org/t/wifi-not-recognized-with-9-1-on-ideapad/9476/20 "2023-08-25T03:18:35Z")

</div>


