Zorin 16 - Realtek wifi 8852AE not recognized

Lenovo Ideapad Gaming-3 15ACG6 with AMD Ryzen™ 4000H APU

I tried this driver https://github.com/lwfinger/rtw89, with make install, but it still don't see any option to enable wireless.

I love the new OS and looking forward to having wifi enabled.
Please advise.

Did you check the function combination that enables/disables wifi? As I understand it if the API was changed in the kernel, which Ubuntu did so effects Zorin, than it will be buggy. Basically it will be hit or miss to work. You can use the terminal to enable and disable the card as well:
Get the name of the interface:

ifconfig
sudo ifconfig <your-wifi-interface> enable

If ifconfig doesn't work, you could try iwconfig .
To disable you would use disable at the end of the same command.

As of kernel 5.12 there still isn't a fix for this. You can change out your wifi card for an older model until support is provided. And this driver doesn't support IPv6 as of yet either.

Also, please check Zorin App Menu > Settings > Wifi

Don't forget to enable it after the installation. In Terminal:

cd rtw89
sudo modprobe rtw89pci

Also, please do let me know if you achieve a stable WiFi connection, as I have the same adapter and lose internet access every few minutes.

1 Like

No Joy... Yet. Thanks for your suggestions.
below is terminal text and related comments.
What should I do?

=========================================================
Reply to 337harvey

stan@stan-Gaming3-15ACH6:~$ ifconfig
Command 'ifconfig' not found, but can be installed with:
sudo apt install net-tools

stan@stan-Gaming3-15ACH6:~$ sudo apt install net-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
net-tools
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 196 kB of archives.
After this operation, 864 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu focal/main amd64 net-tools amd64 1.60+git20180626.aebd88e-1ubuntu1 [196 kB]
Fetched 196 kB in 0s (1,957 kB/s)
Selecting previously unselected package net-tools.
(Reading database ... 276062 files and directories currently installed.)
Preparing to unpack .../net-tools_1.60+git20180626.aebd88e-1ubuntu1_amd64.deb ...
Unpacking net-tools (1.60+git20180626.aebd88e-1ubuntu1) ...
Setting up net-tools (1.60+git20180626.aebd88e-1ubuntu1) ...
Processing triggers for man-db (2.9.1-1) ...

stan@stan-Gaming3-15ACH6:~$ ifconfig
enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.44 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::5277:3388:fc1:b5b2 prefixlen 64 scopeid 0x20
ether 7c:8a:e1:8c:16:84 txqueuelen 1000 (Ethernet)
RX packets 11647 bytes 16535738 (16.5 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 4583 bytes 367437 (367.4 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

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

stan@stan-Gaming3-15ACH6:~$ sudo ifconfig lo enable
[sudo] password for stan:
enable: Host name lookup failure
ifconfig: `--help' gives usage information.

===========================================

reply to Aravisian
No Joy... Yet. Thanks for your suggestions.
below is terminal text and related comments.
What should I do?

Zorin App Menu > Settings" does not contain submenu "Wifi"**

Reply to yonyz
No Joy... Yet. Thanks for your suggestions.
below is terminal text and related comments.
What should I do?

stan@stan-Gaming3-15ACH6:~$ ls
Desktop Documents Downloads Music Pictures Public Templates Videos
stan@stan-Gaming3-15ACH6:~$ cd Downloads

stan@stan-Gaming3-15ACH6:~/Downloads$ cd rtw89-main
stan@stan-Gaming3-15ACH6:~/Downloads/rtw89-main$ sudo modprobe rtw89pci
modprobe: ERROR: could not insert 'rtw89pci': Operation not permitted

The lo is loopback address. It's not seeing the wifi card because the driver isn't being used.

The last driver might still be loading. Try:

sudo update-initramfs -u -k all

To rebuild and use the new driver.

I've read ip is used for network devices as the successor to ifconfig

Yes, it is...iwcofig also works without any installations required in zorin.

Did the initramfs update work?

Reply to 337harvey

stan@stan-Gaming3-15ACH6:~$ sudo update-initramfs -u -k all
[sudo] password for stan:
update-initramfs: Generating /boot/initrd.img-5.11.0-27-generic
update-initramfs: Generating /boot/initrd.img-5.11.0-25-generic

stan@stan-Gaming3-15ACH6:~$ sudo ifconfig lo enable
enable: Host name lookup failure
ifconfig: `--help' gives usage information.

stan@stan-Gaming3-15ACH6:~$ ifconfig
enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.44 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::5277:3388:fc1:b5b2 prefixlen 64 scopeid 0x20
ether 7c:8a:e1:8c:16:84 txqueuelen 1000 (Ethernet)
RX packets 8898 bytes 7024702 (7.0 MB)
RX errors 0 dropped 1 overruns 0 frame 0
TX packets 5056 bytes 503732 (503.7 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

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

I worry I'm leaving out some information you need. Please question me and let me know what assumptions you have so I can confirm each.

Reply to Aravisian
I did 'Search' in "Settings" and found "Wifi". WIthin the dialog there is toggle for 'Airplane' mode and beneath that a big 'question mark' with "No Wi-Fi Adapter Found, make sure you have a Wi-Fi adapter plugged and turned on"

The wireless network device is not being detected. Interface enp2so is the ethernet hardwire device and interface lo is used for downloading/reading files that are already hosted on your device for example, an apache web server.

You'll need to install a proper driver as a kernel module.

You may start with installing dkms (dynamic kernel module support), and be sure the kernel-headers are installed as well

Thanks Jacques.
Please detail command line which does the steps you recommend.
Sry, I'm still Linux n00b

Open terminal with keyboard shortcut ctrl+alt+t and then paste in each of the following, one at a time.

git clone https://github.com/lwfinger/rtw89.git -b v5

cd rtw89

make

sudo make sign-install

Make is the name of a Program, actually. You are calling on Make to configure and install the workings of the software.

1 Like

Reply to Aravisian
Here are the results. It appears there's a 'rule' missing?

stan@stan-Gaming3-15ACH6:~$ git clone https://github.com/lwfinger/rtw89.git -b v5
Cloning into 'rtw89'...
remote: Enumerating objects: 461, done.
remote: Counting objects: 100% (461/461), done.
remote: Compressing objects: 100% (288/288), done.
remote: Total 461 (delta 330), reused 294 (delta 170), pack-reused 0
Receiving objects: 100% (461/461), 1.50 MiB | 6.66 MiB/s, done.
Resolving deltas: 100% (330/330), done.
stan@stan-Gaming3-15ACH6:~$ cd rtw89
stan@stan-Gaming3-15ACH6:~/rtw89$ make
make -C /lib/modules/5.11.0-27-generic/build M=/home/stan/rtw89 modules
make[1]: Entering directory '/usr/src/linux-headers-5.11.0-27-generic'
CC [M] /home/stan/rtw89/core.o
CC [M] /home/stan/rtw89/debug.o
CC [M] /home/stan/rtw89/mac80211.o
CC [M] /home/stan/rtw89/mac.o
CC [M] /home/stan/rtw89/phy.o
CC [M] /home/stan/rtw89/fw.o
CC [M] /home/stan/rtw89/rtw8852a.o
CC [M] /home/stan/rtw89/rtw8852a_table.o
CC [M] /home/stan/rtw89/rtw8852a_rfk.o
CC [M] /home/stan/rtw89/rtw8852a_rfk_table.o
CC [M] /home/stan/rtw89/cam.o
CC [M] /home/stan/rtw89/efuse.o
CC [M] /home/stan/rtw89/regd.o
CC [M] /home/stan/rtw89/coex.o
CC [M] /home/stan/rtw89/ps.o
CC [M] /home/stan/rtw89/sar.o
CC [M] /home/stan/rtw89/ser.o
CC [M] /home/stan/rtw89/util.o
LD [M] /home/stan/rtw89/rtw89core.o
CC [M] /home/stan/rtw89/pci.o
LD [M] /home/stan/rtw89/rtw89pci.o
MODPOST /home/stan/rtw89/Module.symvers
CC [M] /home/stan/rtw89/rtw89core.mod.o
LD [M] /home/stan/rtw89/rtw89core.ko
CC [M] /home/stan/rtw89/rtw89pci.mod.o
LD [M] /home/stan/rtw89/rtw89pci.ko
make[1]: Leaving directory '/usr/src/linux-headers-5.11.0-27-generic'

stan@stan-Gaming3-15ACH6:~/rtw89$ make
make -C /lib/modules/5.11.0-27-generic/build M=/home/stan/rtw89 modules
make[1]: Entering directory '/usr/src/linux-headers-5.11.0-27-generic'
make[1]: Leaving directory '/usr/src/linux-headers-5.11.0-27-generic'

stan@stan-Gaming3-15ACH6:~/rtw89$ sudo make sign-install
make: *** No rule to make target 'sign-install'. Stop.

Is iwconfig how we can know if wifi is working?

stan@stan-Gaming3-15ACH6:~/rtw89$ iwconfig
lo no wireless extensions.
enp2s0 no wireless extensions.

I am sorry for the delay - there were things that needed my immediate attention here.
Try sudo make install, instead.

cd rtw89

make

sudo make install

1 Like

Reply to Aravisian
Any delay in your reply is no problem. Thanks for helping.
Okay, here is what happened:

stan@stan-Gaming3-15ACH6:~$ cd rtw89

stan@stan-Gaming3-15ACH6:~/rtw89$ make
make -C /lib/modules/5.11.0-27-generic/build M=/home/stan/rtw89 modules
make[1]: Entering directory '/usr/src/linux-headers-5.11.0-27-generic'
make[1]: Leaving directory '/usr/src/linux-headers-5.11.0-27-generic'

stan@stan-Gaming3-15ACH6:~/rtw89$ sudo make install
make -C /lib/modules/5.11.0-27-generic/build M=/home/stan/rtw89 modules
make[1]: Entering directory '/usr/src/linux-headers-5.11.0-27-generic'
make[1]: Leaving directory '/usr/src/linux-headers-5.11.0-27-generic'
cp *.bin /lib/firmware/rtw89/.
Install rtw89 SUCCESS

stan@stan-Gaming3-15ACH6:~/rtw89$ iwconfig
lo no wireless extensions.
enp2s0 no wireless extensions.

1 Like

Ok, can you reboot the computer then test your wireless?