Wifi not working in kde [Archlabs]

So after few weeks of break i tried to installed archlabs + kde on my laptop, I installed it using WiFi (activated by nmtui). Installation was successful but the only problem i found was that i couldn’t connect to the wifi. There’s no icon in the tray and yes plasma-nm is also installed, networks which are available in my area are also visible but when i try to connect my wifi using the password it says “Connection deactivated.”, “The wifi network could not be found”.

When tried connecting through nmtui it says network not found.

Did you try to connect with ‘wifi-menu’ ?

go to your terminal ,

sudo wifi-menu

if wifi-menu is installed it will run and show available networks,
if it runs try to connect from there


P.S.

Checking Network status

sudo lshw -C network

this command will list all the available / recognized / installed network cards,
make sure your wifi card is showing up

systemctl status NetworkManager

this command shows the network manager status, make sure it is active

That will conflict with network-manager and should not be used without first disabling any other networking services and setting the interface down.

@Nyuke: please post the output of

ls -lR /etc/systemd/system

wifi-menu isn’t installed.

Output of ls -lR /etc/systemd/system =>

/etc/systemd/system:
total 8
lrwxrwxrwx 1 root root 36 Jul 26 17:54 display-manager.service -> /usr/lib/systemd/system/sddm.service
drwxr-xr-x 2 root root 4096 Jul 26 17:42 getty.target.wants
drwxr-xr-x 2 root root 4096 Jul 26 17:42 multi-user.target.wants

/etc/systemd/system/getty.target.wants:
total 0
lrwxrwxrwx 1 root root 38 Jul 26 17:42 getty@tty1.service -> /usr/lib/systemd/system/getty@.service

/etc/systemd/system/multi-user.target.wants:
total 0
lrwxrwxrwx 1 root root 40 Jul 26 17:42 remote-fs.target -> /usr/lib/systemd/system/remote-fs.target

You need to enable NM:

systemctl enable --now NetworkManager.service

https://wiki.archlinux.org/index.php/NetworkManager#Enable_NetworkManager

output of systemctl status NetworkManager

● NetworkManager.service - Network Manager
     Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; disabled; vendor preset: disabled)
    Drop-In: /usr/lib/systemd/system/NetworkManager.service.d
             └─NetworkManager-ovs.conf
     Active: active (running) since Sun 2020-07-26 20:20:45 IST; 6min ago
       Docs: man:NetworkManager(8)
   Main PID: 794 (NetworkManager)
      Tasks: 3 (limit: 3406)
     Memory: 10.7M
     CGroup: /system.slice/NetworkManager.service
             └─794 /usr/bin/NetworkManager --no-daemon

Jul 26 20:22:44 archlabs NetworkManager[794]: <info>  [1595775164.0579] device (wlp5s0): state ange: config -> failed (reason 'ssid-not-found', sys-iface-state: 'managed')
Jul 26 20:22:44 archlabs NetworkManager[794]: <info>  [1595775164.0595] manager: NetworkManager state is now DISCONNECTED
Jul 26 20:22:44 archlabs NetworkManager[794]: <info>  [1595775164.1640] device (wlp5s0): set-hw-addr: set MAC address to 3E:82:96:28:50:1E (scanning)
Jul 26 20:22:44 archlabs NetworkManager[794]: <warn>  [1595775164.6817] device (wlp5s0): Activation: failed for connection 'Home'
Jul 26 20:22:44 archlabs NetworkManager[794]: <info>  [1595775164.6868] device (wlp5s0): supplicant interface state: disconnected -> interface_disabled
Jul 26 20:22:44 archlabs NetworkManager[794]: <info>  [1595775164.6869] device (p2p-dev-wlp5s0): supplicant management interface state: disconnected -> interface_disabled
Jul 26 20:22:44 archlabs NetworkManager[794]: <info>  [1595775164.6963] device (wlp5s0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
Jul 26 20:22:44 archlabs NetworkManager[794]: <info>  [1595775164.7777] device (wlp5s0): supplicant interface state: interface_disabled -> inactive
Jul 26 20:22:44 archlabs NetworkManager[794]: <info>  [1595775164.7777] device (p2p-dev-wlp5s0): supplicant management interface state: interface_disabled -> inactive
Jul 26 20:22:47 archlabs NetworkManager[794]: <info>  [1595775167.6828] manager: startup complete

lshw is not installed, i’ll install and post the output switches lan cable

does this command work , please check it

nmtui

your device is not connected to any wireless network
try to activate any available connection using above command

@vishnu @Head_on_a_Stick even after running

systemctl enable --now NetworkManager.service

and using nmtui for connecting the network, I get the following errors:
from nmtui:

Could not activate connection: Activation failed: The Wi-Fi network could not be found.

and from gui :
(after staying at “waiting for authorization” for too long)

Connection (wifi-name) deactivated.

The wifi network (id) could not be found

If you are connected to multiple networks like,

USB tethering,
LAN (Ethernet) cable 
Wifi 

you may face ip conflict issue

  • make sure you attempt only with a single interface
  • disable/ unplug all other than wifi
  • reboot
  • check network manager or start it with previous command
  • try to connect again
  • or try with this command
wpa_supplicant -i interface -c <(wpa_passphrase "your_SSID" "your_key")

Didn’t worked either :/, still same errors.

sudo lshw -C network

Please post the output of this command

Are you sure that the SSID is correct?

A couple questions for you:
1.) Did the wireless network work correctly when you were using the Archlabs installer CD?
2.) Does the wireless network work correctly on a different Linux OS or with Windows?

Yep, I’m sure that the SSID is correct.

  1. I installed archlabs using Wi-Fi only (used nmtui to connect)
  2. Yes it worked on previous distros like manjaro, neon and windows too.

OK, that’s weird. What model is your laptop?

I’m sure you haven’t heard about this but still

HCL ME ICON L 74

OK, unfortunately there isn’t enough information online to help me find what your wireless card is.
Can you run

lspci

in your terminal, and post the results here?

Example Output

colson@colson-Aspire-E5-575:~$ lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)
00:1d.2 PCI bridge: Intel Corporation Device 9d1a (rev f1)
00:1d.3 PCI bridge: Intel Corporation Device 9d1b (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-LP LPC Controller (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
02:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411B PCI Express Card Reader (rev 01)
03:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12)
colson@colson-Aspire-E5-575:~$