You are not logged in.
My wifi adapter doesn't work I am not sure if it is the version of linux that made it obsolete or is it because I need to update it or download some file separately so the problem goes as follows
(1/1) checking keys in keyring [#####################################] 100%
(1/1) checking package integrity [#####################################] 100%
(1/1) loading package files [#####################################] 100%
(1/1) checking for file conflicts [#####################################] 100%
(1/1) checking available disk space [#####################################] 100%
:: Running pre-transaction hooks...
(1/1) Remove upgraded DKMS modules
==> dkms remove --no-depmod 8821au/5.12.5.2.r178.g45366a3 -k 6.2.7-arch1-1
==> dkms remove --no-depmod rtl8821cu/5.12.0.708f1d9d0 -k 6.2.7-arch1-1
==> dkms remove --no-depmod rtl88x2bu/5.8.7.1 -k 6.2.7-arch1-1
:: Processing package changes...
(1/1) reinstalling linux-headers [#####################################] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating module dependencies...
(3/3) Install DKMS modules
==> dkms install --no-depmod 8821au/5.12.5.2.r178.g45366a3 -k 6.2.7-arch1-1
==> dkms install --no-depmod rtl88x2bu/5.8.7.1 -k 6.2.7-arch1-1
==> dkms install --no-depmod rtl8821CU/5.2.5.3 -k 6.2.7-arch1-1
Error! Bad return status for module build on kernel: 6.2.7-arch1-1 (x86_64)
Consult /var/lib/dkms/rtl8821CU/5.2.5.3/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtl8821CU/5.2.5.3 -k 6.2.7-arch1-1' exited 10
==> dkms install --no-depmod rtl8821cu/5.12.0.708f1d9d0 -k 6.2.7-arch1-1
==> depmod 6.2.7-arch1-1
log from the file make.log "/var/lib/dkms/rtl8821CU/5.2.5.3/build/make.log":
DKMS make.log for rtl8821CU-5.2.5.3 for kernel 6.2.7-arch1-1 (x86_64)
Thu Mar 23 16:22:24 EET 2023
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.2.7-arch1-1/build M=/var/lib/dkms/rtl8821CU/5.2.5.3/build modules
CC [M] /var/lib/dkms/rtl8821CU/5.2.5.3/build/core/rtw_cmd.o
CC [M] /var/lib/dkms/rtl8821CU/5.2.5.3/build/core/rtw_security.o
CC [M] /var/lib/dkms/rtl8821CU/5.2.5.3/build/core/rtw_debug.o
CC [M] /var/lib/dkms/rtl8821CU/5.2.5.3/build/core/rtw_io.o
CC [M] /var/lib/dkms/rtl8821CU/5.2.5.3/build/core/rtw_ioctl_query.o
CC [M] /var/lib/dkms/rtl8821CU/5.2.5.3/build/core/rtw_ioctl_set.o
CC [M] /var/lib/dkms/rtl8821CU/5.2.5.3/build/core/rtw_ieee80211.o
CC [M] /var/lib/dkms/rtl8821CU/5.2.5.3/build/core/rtw_mlme.o
CC [M] /var/lib/dkms/rtl8821CU/5.2.5.3/build/core/rtw_mlme_ext.o
/var/lib/dkms/rtl8821CU/5.2.5.3/build/core/rtw_mlme_ext.c: In function 'mgt_dispatcher':
/var/lib/dkms/rtl8821CU/5.2.5.3/build/core/rtw_mlme_ext.c:1510:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
1510 | if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == _TRUE)
| ^
/var/lib/dkms/rtl8821CU/5.2.5.3/build/core/rtw_mlme_ext.c:1515:9: note: here
1515 | case WIFI_ASSOCREQ:
| ^~~~
CC [M] /var/lib/dkms/rtl8821CU/5.2.5.3/build/core/rtw_mi.o
CC [M] /var/lib/dkms/rtl8821CU/5.2.5.3/build/core/rtw_wlan_util.o
CC [M] /var/lib/dkms/rtl8821CU/5.2.5.3/build/core/rtw_vht.o
CC [M] /var/lib/dkms/rtl8821CU/5.2.5.3/build/core/rtw_pwrctrl.o
CC [M] /var/lib/dkms/rtl8821CU/5.2.5.3/build/core/rtw_rf.o
CC [M] /var/lib/dkms/rtl8821CU/5.2.5.3/build/core/rtw_recv.o
CC [M] /var/lib/dkms/rtl8821CU/5.2.5.3/build/core/rtw_sta_mgt.o
/var/lib/dkms/rtl8821CU/5.2.5.3/build/core/rtw_sta_mgt.c: In function 'rtw_mfree_stainfo':
/var/lib/dkms/rtl8821CU/5.2.5.3/build/core/rtw_sta_mgt.c:348:25: warning: the comparison will always evaluate as 'true' for the address of 'lock' will never be NULL [-Waddress]
348 | if (&psta->lock != NULL)
| ^~
In file included from /var/lib/dkms/rtl8821CU/5.2.5.3/build/include/drv_types.h:110,
from /var/lib/dkms/rtl8821CU/5.2.5.3/build/core/rtw_sta_mgt.c:22:
/var/lib/dkms/rtl8821CU/5.2.5.3/build/include/sta_info.h:227:17: note: 'lock' declared here
227 | _lock lock;
| ^~~~
CC [M] /var/lib/dkms/rtl8821CU/5.2.5.3/build/core/rtw_ap.o
CC [M] /var/lib/dkms/rtl8821CU/5.2.5.3/build/core/rtw_xmit.o
CC [M] /var/lib/dkms/rtl8821CU/5.2.5.3/build/core/rtw_p2p.o
CC [M] /var/lib/dkms/rtl8821CU/5.2.5.3/build/core/rtw_tdls.o
CC [M] /var/lib/dkms/rtl8821CU/5.2.5.3/build/core/rtw_br_ext.o
/var/lib/dkms/rtl8821CU/5.2.5.3/build/core/rtw_br_ext.c:25:18: fatal error: net/ipx.h: No such file or directory
25 | #include <net/ipx.h>
| ^~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.build:252: /var/lib/dkms/rtl8821CU/5.2.5.3/build/core/rtw_br_ext.o] Error 1
make[1]: *** [Makefile:2021: /var/lib/dkms/rtl8821CU/5.2.5.3/build] Error 2
make: *** [Makefile:1923: modules] Error 2
Last edited by StarcClans (2023-03-29 20:10:49)
Offline
What package are you using to provide rtl8821cu? What version is it? Which one of 8821au rtl88x2bu rtl8821cu is your wireless card using?
Offline
I think it is the cu since others are updated except for cu and even if the others are updated it doesn't want to connect to the wifi
Offline
What package are you using to provide rtl8821cu? What version is it?
There are three packages for 8821cu in the AUR https://aur.archlinux.org/packages?O=0&K=8821cu are you using one of those? If so which one and what is the installed version of that package?
Edit:
pacman -Qs 8821
Last edited by loqs (2023-03-23 17:08:22)
Offline
It shows the available wifi connections but when trying to connect it doesn't
I installed cu au
rtl8821au-dkms-git 5.12.5.2.r178.g45366a3-1
rtl8821cu-morrownr-dkms-git 5.12.0.4.128.589ec21-1
Last edited by StarcClans (2023-03-23 17:13:10)
Offline
I would suggest removing rtl8821au-dkms-git if the NIC does not use it and updating rtl8821cu-morrownr-dkms-git to the current version 5.12.0.4.145.80781de-1
Offline
what do I do after doing that?
Last edited by StarcClans (2023-03-23 17:24:34)
Offline
It should ideally build without errors after explicitly updating it, does it not?
Offline
rtl8821cu-morrownr-dkms-git 5.12.0.4.145.80781de-1 builds for 6.2.7-arch1-1 at least on my system so the issue should be resolved. You may need to manually load the 8821cu module unless you reboot.
I would also suggest removing whatever provides the rtl88x2bu module if the NIC is not using it.
Offline
how do I update it to the version you are using cause I tried updating it using
yay -S rtl8821cu-morrownr-dkms-git
do I specificly request it for the version you are recommending I install or ....?
Last edited by StarcClans (2023-03-23 17:37:02)
Offline
it will generally automatically update to the latest version since it's a git package, you can look at the installed version with
pacman -Q rtl8821cu-morrownr-dkms-git
Offline
Where did you install the package cause for me it doesn't appear
and the command doesn't find it
Last edited by StarcClans (2023-03-23 18:25:47)
Offline
$ git clone https://aur.archlinux.org/rtl8821cu-morrownr-dkms-git.git
Cloning into 'rtl8821cu-morrownr-dkms-git'...
remote: Enumerating objects: 60, done.
remote: Counting objects: 100% (60/60), done.
remote: Compressing objects: 100% (58/58), done.
remote: Total 60 (delta 4), reused 57 (delta 2), pack-reused 0
Receiving objects: 100% (60/60), 15.33 KiB | 15.33 MiB/s, done.
Resolving deltas: 100% (4/4), done.
$ cd rtl8821cu-morrownr-dkms-git/
$ makepkg -Codd
==> Making package: rtl8821cu-morrownr-dkms-git 5.12.0.4.120.7d16a68-1 (Thu 23 Mar 2023 18:43:50 UTC)
==> WARNING: Skipping dependency checks.
==> Retrieving sources...
-> Cloning 8821cu-20210916 git repo...
Cloning into bare repository '/tmp/rtl8821cu-morrownr-dkms-git/8821cu-20210916'...
remote: Enumerating objects: 1430, done.
remote: Counting objects: 100% (223/223), done.
remote: Compressing objects: 100% (94/94), done.
remote: Total 1430 (delta 130), reused 214 (delta 127), pack-reused 1207
Receiving objects: 100% (1430/1430), 14.18 MiB | 11.88 MiB/s, done.
Resolving deltas: 100% (679/679), done.
-> Found dkms.conf
==> Validating source files with sha256sums...
8821cu-20210916 ... Skipped
dkms.conf ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Creating working copy of 8821cu-20210916 git repo...
Cloning into '8821cu-20210916'...
done.
==> Starting prepare()...
==> Starting pkgver()...
==> Updated version: rtl8821cu-morrownr-dkms-git 5.12.0.4.145.80781de-1
==> Sources are ready.
I used makepkg -Codd to clean the source directory and stop makepkg after extracting the source and ignore dependencies as I was not going to build the package this time.
Offline
Post the output of the command you're using.
Offline
ok, the problem is that my computer is pluged to the ethernet cable that is in my roomates room and he is on a meeting currently so I will probably reply tomorrow best case scenario would be today.
sorry that I couldn't reply sooner
Last edited by StarcClans (2023-03-23 20:27:40)
Offline
Offline
[luc@StarcClans rtl8821cu-morrownr-dkms-git]$ git add PKGBUILD
git commit -m "Your commit message"
Author identity unknown
*** Please tell me who you are.
Run
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: empty ident name (for <starclukas@gmail.com>) not allowed
Offline
? you don't need to run git add, but a makepkg invocation.
Offline
I forgot how to do it
Offline
rtl8821cu-morrownr-dkms-git
rtl88x2bu
rtl8821au-dkms-git
this is what I have installed
Offline
I think I should have upgraded it before updating my distro and now it don't connect to the wifi
How can I downgrade my distro version to the previous one?
Last edited by StarcClans (2023-03-26 11:24:41)
Offline
How can I downgrade my distro version to the previous one?
You can't, arch is rolling release.
You can downgrade the kernel, https://wiki.archlinux.org/title/Downgrading_packages - you need to have the old packages in your cache, though. Or network access.
But the whole point about dkms is that the relevant modules are compiled for whatever kernel you've installed.
Also, again: https://bbs.archlinux.org/viewtopic.php … 5#p2091625
Offline
So I need to run a new post?
Offline
Offline
[luc@StarcClans rtl8821cu-morrownr-dkms-git]$ lsmod | grep 8821cu
rtw88_8821cu 16384 0
rtw88_8821c 94208 1 rtw88_8821cu
rtw88_usb 28672 1 rtw88_8821cu
modinfo 8821cu
modinfo: ERROR: Module 8821cu not found.
What am I supposed to do?
Last edited by StarcClans (2023-03-26 12:34:45)
Offline