You are not logged in.

#1 2020-02-04 20:49:29

mht130
Member
Registered: 2019-08-11
Posts: 18

wifi connection issue with arch kde

I can not connect to wifi easily, kde gui wifi interface dose not work and I have to use wifi-menu to connect every time I boot up
systemctl status netctl@wlp3s0:

● netctl@wlp3s0.service - Networking for netctl profile wlp3s0
     Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static; vendor preset: disa>
     Active: inactive (dead)
       Docs: man:netctl.profile(5)
lines 1-4/4 (END)...skipping...
● netctl@wlp3s0.service - Networking for netctl profile wlp3s0
     Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static; vendor preset: disabled)
     Active: inactive (dead)
       Docs: man:netctl.profile(5)

and systemctl start netctl:

Job for netctl@wlp3s0.service failed because the control process exited with error code.
See "systemctl status netctl@wlp3s0.service" and "journalctl -xe" for details.

lspci -k :

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
        Subsystem: ASUSTeK Computer Inc. Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers
        Kernel driver in use: skl_uncore
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)
        Subsystem: ASUSTeK Computer Inc. HD Graphics 620
        Kernel driver in use: i915
        Kernel modules: i915
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 02)
        Subsystem: ASUSTeK Computer Inc. Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem
        Kernel driver in use: proc_thermal
        Kernel modules: processor_thermal_device
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
        Subsystem: ASUSTeK Computer Inc. Sunrise Point-LP USB 3.0 xHCI Controller
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
        Subsystem: ASUSTeK Computer Inc. Sunrise Point-LP Thermal subsystem
        Kernel driver in use: intel_pch_thermal
        Kernel modules: intel_pch_thermal
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
        Subsystem: ASUSTeK Computer Inc. Sunrise Point-LP CSME HECI
        Kernel driver in use: mei_me
        Kernel modules: mei_me
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
        Subsystem: ASUSTeK Computer Inc. Sunrise Point-LP SATA Controller [AHCI mode]
        Kernel driver in use: ahci
        Kernel modules: ahci
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)
        Kernel driver in use: pcieport
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
        Kernel driver in use: pcieport
00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1)
        Kernel driver in use: pcieport
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-LP LPC Controller (rev 21)
        Subsystem: ASUSTeK Computer Inc. Sunrise Point-LP LPC Controller
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
        Subsystem: ASUSTeK Computer Inc. Sunrise Point-LP PMC
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
        Subsystem: ASUSTeK Computer Inc. Sunrise Point-LP HD Audio
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
        Subsystem: ASUSTeK Computer Inc. Sunrise Point-LP SMBus
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801
01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 920MX] (rev a2)
        Subsystem: ASUSTeK Computer Inc. GM108M [GeForce 920MX]
        Kernel driver in use: nouveau
        Kernel modules: nouveau
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
        Subsystem: ASUSTeK Computer Inc. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
        Kernel driver in use: r8169
        Kernel modules: r8169
03:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)
        Subsystem: AzureWave QCA9377 802.11ac Wireless Network Adapter
        Kernel driver in use: ath10k_pci
        Kernel modules: ath10k_pci

I made a profile with wifi-menu and enabled it with netctl-auto so every time I boot up I can connet to my wifi but I need that kde gui for controling wifi

Offline

#2 2020-02-04 21:56:39

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,425

Re: wifi connection issue with arch kde

If you "need that KDE gui" you have to remove/disable netctl and use NetworkManager instead the KDE applet uses NetworkManager and netctl/wifi-menu and networkmanager directly conflict with each other.

Offline

#3 2020-02-04 22:51:32

mht130
Member
Registered: 2019-08-11
Posts: 18

Re: wifi connection issue with arch kde

NetworkManager is enabled but in its status I found this errors

● NetworkManager.service - Network Manager
     Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled; vendor preset: disabled)
    Drop-In: /usr/lib/systemd/system/NetworkManager.service.d
             └─NetworkManager-ovs.conf
     Active: active (running) since Wed 2020-02-05 02:18:26 +0330; 27s ago
       Docs: man:NetworkManager(8)
   Main PID: 1413 (NetworkManager)
      Tasks: 4 (limit: 14217)
     Memory: 3.7M
     CGroup: /system.slice/NetworkManager.service
             └─1413 /usr/bin/NetworkManager --no-daemon

Feb 05 02:18:27 mohammad NetworkManager[1413]: <info>  [1580856507.4049] device (wlp3s0): supplicant interface state: init -> starting
Feb 05 02:18:27 mohammad NetworkManager[1413]: <error> [1580856507.5421] sup-iface[0x564c114380f0,wlp3s0]: error adding interface: wpa_supplicant couldn't grab this interface.
Feb 05 02:18:27 mohammad NetworkManager[1413]: <info>  [1580856507.5422] device (wlp3s0): supplicant interface state: starting -> down
Feb 05 02:18:33 mohammad NetworkManager[1413]: <info>  [1580856513.0348] manager: startup complete
Feb 05 02:18:37 mohammad NetworkManager[1413]: <warn>  [1580856517.6031] device (wlp3s0): re-acquiring supplicant interface (#1).
Feb 05 02:18:37 mohammad NetworkManager[1413]: <error> [1580856517.7457] sup-iface[0x564c114381e0,wlp3s0]: error adding interface: wpa_supplicant couldn't grab this interface.
Feb 05 02:18:37 mohammad NetworkManager[1413]: <info>  [1580856517.7459] device (wlp3s0): supplicant interface state: starting -> down
Feb 05 02:18:47 mohammad NetworkManager[1413]: <warn>  [1580856527.6026] device (wlp3s0): re-acquiring supplicant interface (#2).
Feb 05 02:18:47 mohammad NetworkManager[1413]: <error> [1580856527.7455] sup-iface[0x564c114382d0,wlp3s0]: error adding interface: wpa_supplicant couldn't grab this interface.
Feb 05 02:18:47 mohammad NetworkManager[1413]: <info>  [1580856527.7456] device (wlp3s0): supplicant interface state: starting -> down

Offline

#4 2020-02-04 22:58:18

seth
Member
Registered: 2012-09-03
Posts: 49,979

Re: wifi connection issue with arch kde

systemctl list-unit-files --state=enabled

Offline

#5 2020-02-04 23:13:15

mht130
Member
Registered: 2019-08-11
Posts: 18

Re: wifi connection issue with arch kde

UNIT FILE                                  STATE  
autovt@.service                            enabled
dbus-org.freedesktop.nm-dispatcher.service enabled
dhcpcd.service                             enabled
display-manager.service                    enabled
getty@.service                             enabled
NetworkManager-dispatcher.service          enabled
NetworkManager-wait-online.service         enabled
NetworkManager.service                     enabled
sddm.service                               enabled
remote-fs.target                           enabled
pamac-cleancache.timer                     enabled

11 unit files listed.

Offline

#6 2020-02-04 23:14:44

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,425

Re: wifi connection issue with arch kde

Disable dhcpcd.service...

Offline

#7 2020-02-04 23:15:39

seth
Member
Registered: 2012-09-03
Posts: 49,979

Re: wifi connection issue with arch kde

Disable dhcpcd.service and stay away from wifi-menu/netctl if you want to use networkmanager

Offline

#8 2020-02-05 11:11:39

mht130
Member
Registered: 2019-08-11
Posts: 18

Re: wifi connection issue with arch kde

I disabled dhcpcd but didn't solve
There is the still those errors on network manager status
after restarting network manager here is status:

● NetworkManager.service - Network Manager
     Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled; vendor preset: disabled)
    Drop-In: /usr/lib/systemd/system/NetworkManager.service.d
             └─NetworkManager-ovs.conf
     Active: active (running) since Wed 2020-02-05 14:45:21 +0330; 4s ago
       Docs: man:NetworkManager(8)
   Main PID: 1994 (NetworkManager)
      Tasks: 4 (limit: 14217)
     Memory: 3.8M
     CGroup: /system.slice/NetworkManager.service
             └─1994 /usr/bin/NetworkManager --no-daemon

Feb 05 14:45:21 mohammad NetworkManager[1994]: <info>  [1580901321.5808] device (wlp3s0): driver supports Access Point (AP) mode
Feb 05 14:45:21 mohammad NetworkManager[1994]: <info>  [1580901321.5813] manager: (wlp3s0): new 802.11 Wi-Fi device (/org/freedesktop/NetworkManager/Devices/3)
Feb 05 14:45:21 mohammad NetworkManager[1994]: <info>  [1580901321.5825] device (wlp3s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Feb 05 14:45:21 mohammad NetworkManager[1994]: <info>  [1580901321.6783] device (wlp3s0): set-hw-addr: set MAC address to D2:72:6A:F8:0F:06 (scanning)
Feb 05 14:45:21 mohammad NetworkManager[1994]: <info>  [1580901321.9462] agent-manager: agent[a9eacca19bb20e4d,:1.24/org.kde.plasma.networkmanagement/1000]: agent registered
Feb 05 14:45:21 mohammad NetworkManager[1994]: <info>  [1580901321.9469] ovsdb: Could not connect: No such file or directory
Feb 05 14:45:21 mohammad NetworkManager[1994]: <info>  [1580901321.9537] supplicant: wpa_supplicant running
Feb 05 14:45:21 mohammad NetworkManager[1994]: <info>  [1580901321.9538] device (wlp3s0): supplicant interface state: init -> starting
Feb 05 14:45:22 mohammad NetworkManager[1994]: <error> [1580901322.0875] sup-iface[0x5652544150f0,wlp3s0]: error adding interface: wpa_supplicant couldn't grab this interface.
Feb 05 14:45:22 mohammad NetworkManager[1994]: <info>  [1580901322.0876] device (wlp3s0): supplicant interface state: starting -> down

Last edited by mht130 (2020-02-05 11:16:47)

Offline

#9 2020-02-05 12:50:31

seth
Member
Registered: 2012-09-03
Posts: 49,979

Re: wifi connection issue with arch kde

Did you also stop dhcpcd or reboot?

Offline

#10 2020-02-05 14:31:23

mht130
Member
Registered: 2019-08-11
Posts: 18

Re: wifi connection issue with arch kde

Yes I did

Offline

#11 2020-02-05 14:32:29

seth
Member
Registered: 2012-09-03
Posts: 49,979

Re: wifi connection issue with arch kde

Please post a complete system journal ("sudo journalctl -b"), you can use https://wiki.archlinux.org/index.php/Pastebin

Offline

#12 2020-02-05 20:02:01

mht130
Member
Registered: 2019-08-11
Posts: 18

Re: wifi connection issue with arch kde

here is journalctl -b:
https://pastebin.com/YMHhs0tF

Offline

#13 2020-02-05 20:58:55

seth
Member
Registered: 2012-09-03
Posts: 49,979

Re: wifi connection issue with arch kde

Feb 05 23:09:50 mohammad dhcpcd[560]: wlp3s0: connected to Access Point `tp-link-tajik'
Feb 05 23:09:50 mohammad dhcpcd[560]: DUID 00:04:5a:cd:e8:c4:48:85:15:4a:89:d1:98:ce:78:f1:51:98
Feb 05 23:09:50 mohammad dhcpcd[560]: wlp3s0: IAID 2e:89:d4:68
Feb 05 23:09:50 mohammad dhcpcd[560]: wlp3s0: rebinding lease of 192.168.1.122
Feb 05 23:09:51 mohammad NetworkManager[471]: <info>  [1580931591.1054] manager: startup complete
Feb 05 23:09:51 mohammad dhcpcd[560]: wlp3s0: NAK: from 192.168.1.1 `TP-LINK'
Feb 05 23:09:51 mohammad dhcpcd[560]: wlp3s0: soliciting a DHCP lease
Feb 05 23:09:51 mohammad dhcpcd[560]: wlp3s0: offered 192.168.1.107 from 192.168.1.1 `TP-LINK'
Feb 05 23:09:51 mohammad dhcpcd[560]: wlp3s0: probing address 192.168.1.107/24
Feb 05 23:09:54 mohammad systemd[1]: NetworkManager-dispatcher.service: Succeeded.

So dhcpcd is still running…

systemctl list-unit-files --state=enabled

Offline

#14 2020-02-05 22:30:43

mht130
Member
Registered: 2019-08-11
Posts: 18

Re: wifi connection issue with arch kde

UNIT FILE                                  STATE  
autovt@.service                            enabled
dbus-org.freedesktop.nm-dispatcher.service enabled
display-manager.service                    enabled
getty@.service                             enabled
NetworkManager-dispatcher.service          enabled
NetworkManager-wait-online.service         enabled
NetworkManager.service                     enabled
sddm.service                               enabled
remote-fs.target                           enabled
pamac-cleancache.timer                     enabled

10 unit files listed.

Offline

#15 2020-02-05 22:32:02

seth
Member
Registered: 2012-09-03
Posts: 49,979

Re: wifi connection issue with arch kde

So what starts dhcpcd?

Offline

#16 2020-02-05 22:40:21

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,425

Re: wifi connection issue with arch kde

Did you configure networkmanager to use dhcpcd? This would be good information to provide in the opening post if you've done adjustments like these.

Offline

#17 2020-02-05 22:43:48

seth
Member
Registered: 2012-09-03
Posts: 49,979

Re: wifi connection issue with arch kde

Feb 05 23:09:44 mohammad NetworkManager[471]: <info>  [1580931584.8126] dhcp-init: Using DHCP client 'internal'
…
Feb 05 23:09:45 mohammad NetworkManager[471]: <error> [1580931585.6277] sup-iface[0x5559657eb130,wlp3s0]: error adding interface: wpa_supplicant couldn't grab this interface.

Offline

#18 2020-02-05 22:47:26

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,425

Re: wifi connection issue with arch kde

Ah whoops missed those.

Offline

#19 2020-02-05 23:39:23

mht130
Member
Registered: 2019-08-11
Posts: 18

Re: wifi connection issue with arch kde

Ok, I remove dhcpcd and then reboot but it didn`t work then I used netctl to enable one of my wifi profile (which made by wifi-menu) and reboot . it is really weird but now it`s working.
Obviously there is still something wrong with my system and that will come back to me some other time so I would be appreciate if you help me fix this for good

Last edited by mht130 (2020-02-05 23:40:26)

Offline

#20 2020-02-06 01:52:42

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,425

Re: wifi connection issue with arch kde

Stop using netctl, you will only deepen the issue. Remove/disable any netctl profiles, netctl and networkmanager are inherently incompatible

Offline

Board footer

Powered by FluxBB