Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] Wifi not working (Read 3207 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] Wifi not working

Hi, my artix installation currently unable to detect Wifi.
ip addr show output:
Code: [Select]
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether b0:0c:d1:7e:38:b5 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.141/24 brd 192.168.0.255 scope global dynamic noprefixroute eth0
       valid_lft 6106sec preferred_lft 6106sec
    inet6 fe80::44ed:19d7:ca2b:efe1/64 scope link noprefixroute
       valid_lft forever preferred_lft forever

my wifi driver is Realtek Semiconductor Co., Ltd. RTL8723DE 802.11b/g/n PCIe Adapter.

Re: Wifi not working

Reply #1
there's no wlan device indeed; if not done already run: pacman -S linux-firmware
and reboot and check again

Re: Wifi not working

Reply #2
I have tried installing linux-firmware but it still doesn't show my wireless device

 

Re: Wifi not working

Reply #3
Hello, could you send the output of these commands?

Code: [Select]
lspci

Code: [Select]
dmesg

Artix Linux Colombia

Re: Wifi not working

Reply #4
also run sudo pacman -S iw iwconfig
the last one is not strictly needed



Re: Wifi not working

Reply #7
I also have rtl8723de I resolved it and my wifi is working now.
Code: [Select]
sudo pacman -Sy base-devel
sudo pacman -Syu
git clone https://aur.archlinux.org/packages/rtw88-dkms-git/
cd rtw88-dkms-git/
makepkg -si


Re: Wifi not working

Reply #8
I also have rtl8723de I resolved it and my wifi is working now.
Code: [Select]
sudo pacman -Sy base-devel
sudo pacman -Syu
git clone https://aur.archlinux.org/packages/rtw88-dkms-git/
cd rtw88-dkms-git/
makepkg -si


I have tried this method. Now it gives me an error.

Code: [Select]
Error! echo
Your kernel headers for kernel 5.5.2-artix1-1 cannot be found at
/usr/lib/modules/5.5.2-artix1-1/build or /usr/lib/modules/5.5.2-artix1-1/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
Error! echo
Your kernel headers for kernel 5.5.2-artix1-1 cannot be found at
/usr/lib/modules/5.5.2-artix1-1/build or /usr/lib/modules/5.5.2-artix1-1/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
:: Running post-transaction hooks...
(1/1) Install DKMS modules
==> Unable to install module rtw88/r1.029812e for kernel 5.7.10-artix1-1: Missing kernel modules tree.

Re: Wifi not working

Reply #9
Hello, could you send the output of these commands?

Code: [Select]
lspci

Code: [Select]
dmesg



lspci
Code: [Select]
00:00.0 Host bridge: Intel Corporation Coffee Lake HOST and DRAM Controller (rev 0b)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (Whiskey Lake)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 0b)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Cannon Point-LP Thermal Controller (rev 30)
00:14.0 USB controller: Intel Corporation Cannon Point-LP USB 3.1 xHCI Controller (rev 30)
00:14.2 RAM memory: Intel Corporation Cannon Point-LP Shared SRAM (rev 30)
00:16.0 Communication controller: Intel Corporation Cannon Point-LP MEI Controller #1 (rev 30)
00:17.0 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 30)
00:1c.0 PCI bridge: Intel Corporation Cannon Point-LP PCI Express Root Port #5 (rev f0)
00:1d.0 PCI bridge: Intel Corporation Cannon Point-LP PCI Express Root Port #9 (rev f0)
00:1d.1 PCI bridge: Intel Corporation Cannon Point-LP PCI Express Root Port #10 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Cannon Point-LP LPC Controller (rev 30)
00:1f.3 Audio device: Intel Corporation Cannon Point-LP High Definition Audio Controller (rev 30)
00:1f.4 SMBus: Intel Corporation Cannon Point-LP SMBus Controller (rev 30)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Point-LP SPI Controller (rev 30)
01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce MX110] (rev a2)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723DE 802.11b/g/n PCIe Adapter

dmesg
Code: [Select]
[   13.927882] Bluetooth: Core ver 2.22
[   13.927894] NET: Registered protocol family 31
[   13.927894] Bluetooth: HCI device and connection manager initialized
[   13.927897] Bluetooth: HCI socket layer initialized
[   13.927898] Bluetooth: L2CAP socket layer initialized
[   13.927900] Bluetooth: SCO socket layer initialized
[   14.221771] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   14.221772] Bluetooth: BNEP filters: protocol multicast
[   14.221775] Bluetooth: BNEP socket layer initialized
[   16.537663] Generic FE-GE Realtek PHY r8169-200:00: attached PHY driver [Generic FE-GE Realtek PHY] (mii_bus:phy_addr=r8169-200:00, irq=IGNORE)
[   16.650977] r8169 0000:02:00.0 eth0: Link is Down
[   17.493161] nouveau 0000:01:00.0: Enabling HDA controller
[   19.334292] nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 6013d4 [ IBUS ]
[   19.714584] r8169 0000:02:00.0 eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   19.714611] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   29.060883] elogind-daemon[1995]: New session 1 of user terra.
[  613.569720] nouveau 0000:01:00.0: Enabling HDA controller
[  613.692549] nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 6013d4 [ IBUS ]

Re: Wifi not working

Reply #10
kernel 5.5 is not supported any more, that may be why there are no header files for this version in the repos.

you should update to the latest kernel or switch to a lts version, reboot and try again

Re: Wifi not working

Reply #11
I have updated the kernel to 5.7. It now gives me this error

Code: [Select]
Building module:
cleaning build area...(bad exit status: 127)
make -j8 KERNELRELEASE=5.7.10-artix1-1 -C /usr/lib/modules/5.7.10-artix1-1/build M=/var/lib/dkms/rtw88/r1.029812e/build...(bad exit status: 127)
Error! Bad return status for module build on kernel: 5.7.10-artix1-1 (x86_64)
Consult /var/lib/dkms/rtw88/r1.029812e/build/make.log for more information.
:: Running post-transaction hooks...
(1/1) Install DKMS modules
==> dkms install --no-depmod -m rtw88 -v r1.029812e -k 5.7.10-artix1-1
Error! Bad return status for module build on kernel: 5.7.10-artix1-1 (x86_64)
Consult /var/lib/dkms/rtw88/r1.029812e/build/make.log for more information.
==> Warning, `dkms install --no-depmod -m rtw88 -v r1.029812e -k 5.7.10-artix1-1' returned 10
==> depmod 5.7.10-artix1-1

Re: Wifi not working

Reply #12
did you have a look at
Code: [Select]
/var/lib/dkms/rtw88/r1.029812e/build/make.log
as stated in the message?

Re: Wifi not working

Reply #13
do you have linux-headers installed at all ??

installation works without problem:
Code: [Select]
[picasso NEW]# pacman -U rtw88-dkms-git-r1.029812e-1-any.pkg.tar.zst 
načítají se balíčky...
řeší se závislosti..
kontrola konfliktních balíčků...

Balíčky  (1) rtw88-dkms-git-r1.029812e-1

Celková velikost po instalaci:   2,94 MiB

:: Pokračovat v instalaci? [A/n]
(1/1) kontrola klíčů v klíčence                                          [########################################] 100%
(1/1) kontrola integrity balíčků                                         [########################################] 100%
(1/1) načítání balíčku                                                   [########################################] 100%
(1/1) kontrola konfliktů souborů                                         [########################################] 100%
(1/1) kontrola volného místa na disku                                    [########################################] 100%
:: Zpracovávání změn balíčku...
(1/1) instalace rtw88-dkms-git                                           [########################################] 100%

Creating symlink /var/lib/dkms/rtw88/r1.029812e/source ->
                 /usr/src/rtw88-r1.029812e

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...(bad exit status: 2)
make -j8 KERNELRELEASE=5.7.10-zen1-1-zen -C /usr/lib/modules/5.7.10-zen1-1-zen/build M=/var/lib/dkms/rtw88/r1.029812e/build.....
cleaning build area...(bad exit status: 2)
Kernel cleanup unnecessary for this kernel.  Skipping...

DKMS: build completed.

rtw_pci.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.7.10-zen1-1-zen/updates/

rtw_8723de.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.7.10-zen1-1-zen/updates/

rtw_8723d.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.7.10-zen1-1-zen/updates/

rtw_8822be.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.7.10-zen1-1-zen/updates/

rtw_8822b.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.7.10-zen1-1-zen/updates/

rtw_8822ce.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.7.10-zen1-1-zen/updates/

rtw_8822c.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.7.10-zen1-1-zen/updates/

rtw_8821ce.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.7.10-zen1-1-zen/updates/

rtw_8821c.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.7.10-zen1-1-zen/updates/

rtw_core.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.7.10-zen1-1-zen/updates/

depmod.....

DKMS: install completed.
:: Probíhá potransakční hook...
(1/1) Install DKMS modules
==> dkms install --no-depmod -m rtw88 -v r1.029812e -k 5.7.10-zen1-1-zen
==> depmod 5.7.10-zen1-1-zen

Re: Wifi not working

Reply #14
I reinstalled everything, update linux and linux-headers and do what  nimish said. Everything works fine now. Thank you everyone  :)