MrStan
August 18, 2021, 5:16pm
1
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.
Also, please check Zorin App Menu > Settings > Wifi
yonyz
August 19, 2021, 11:48am
4
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
MrStan
August 19, 2021, 10:57pm
5
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.
===========================================
MrStan
August 19, 2021, 10:58pm
6
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"**
MrStan
August 19, 2021, 11:00pm
7
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
Jacques
August 20, 2021, 12:52am
10
I've read ip
is used for network devices as the successor to ifconfig
MrStan
August 20, 2021, 12:59pm
12
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.
MrStan
August 20, 2021, 2:07pm
13
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
MrStan
August 20, 2021, 3:57pm
15
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 GitHub - lwfinger/rtw89: Driver for Realtek 8852AE, an 802.11ax device -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
MrStan
August 20, 2021, 4:24pm
17
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.
MrStan
August 20, 2021, 4:25pm
18
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
MrStan
August 20, 2021, 6:00pm
20
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.
MrStan:
Install rtw89 SUCCESS
Ok, can you reboot the computer then test your wireless?
MrStan
August 20, 2021, 6:09pm
22
sry for delay, as soon as my Steam download is done, I can reboot and reply... it's at 85% now
1 Like
MrStan
August 20, 2021, 7:24pm
23
after reboot, I'm not sure how to know if it's working now.
Here are some things I tried:
stan@stan-Gaming3-15ACH6:~$ iwconfig
lo no wireless extensions.
enp2s0 no wireless extensions.
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 3859 bytes 3451390 (3.4 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2615 bytes 278861 (278.8 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 691 bytes 64602 (64.6 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 691 bytes 64602 (64.6 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
When I open WiFi from Settings menu it says "No Wi-Fi Adapter Found"
Is there need to enable it?
I tried this:
stan@stan-Gaming3-15ACH6:~$ iwconfig enp2s0 enable
iwconfig: unknown command "enable"
stan@stan-Gaming3-15ACH6:~$ ifconfig enp2s0 enable
enable: Host name lookup failure
ifconfig: `--help' gives usage information.
No, it should do so on reboot...
can you post the terminal output of
inxi -nx