You are not logged in.

#1 2023-05-03 07:16:52

moshpirit
Member
Registered: 2016-01-13
Posts: 43

[SOLVED] WiFi seems disconected but I can use it (KDE Plasma)

Basically this: I don't know why, but it shows that I'm disconnected to the Internet, when I'm actually am connected. This is a problem for me because sometimes I lose signal for real, and I need to know it to quickly connect it back or restart the router.

If I open ksysguard, and if I search "network", I can see that I'm running in the background (IDK how relevant this information can be):

NetworkManager, root, 522, , 0, 0, 484, 0, 0, 334112, 5132, 17156, 399, 0, /usr/bin/NetworkManager --no-daemon , 0, , /system.slice/NetworkManager.service, , 0
ksgrd_network_helper, user, 8090, , 0, 0.0625, 288, 0, 0, 233540, 2496, 6524, 276036, 0, /usr/lib/ksysguard/ksgrd_network_helper , 0, , /user.slice/user-1000.slice/user@1000.service/session.slice/plasma-kded.service, , 0
systemd-networkd, systemd-network, 488, , 0, 0, 26, 0, 0, 20500, 1280, 8440, 394, 1, /usr/lib/systemd/systemd-networkd , 0, , /system.slice/systemd-networkd.service, , 0

Systray shows this icon (it says it's disconnected in a floating message).

Feel free to ask me for more info!

Last edited by moshpirit (2024-02-25 16:26:46)

Offline

#2 2023-05-03 07:24:40

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,272

Re: [SOLVED] WiFi seems disconected but I can use it (KDE Plasma)

You're at least running networkmanager and systemd-networkd in parallel.

Please post the output of

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f

The pick one and disable the other(s).

Online

#3 2023-05-03 07:44:51

moshpirit
Member
Registered: 2016-01-13
Posts: 43

Re: [SOLVED] WiFi seems disconected but I can use it (KDE Plasma)

You're right! any recommendation about which one to disable?

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
bluetooth.service                        | bluetooth.target.wants
dbus-org.bluez.service                   | system
dbus-org.freedesktop.network1.service    | system
dbus-org.freedesktop.nm-dispatcher.service | system
dbus-org.freedesktop.resolve1.service    | system
dbus-org.freedesktop.timesync1.service   | system
display-manager.service                  | system
fstrim.timer                             | timers.target.wants
gcr-ssh-agent.socket                     | sockets.target.wants
getty@tty1.service                       | getty.target.wants
iwd.service                              | multi-user.target.wants
NetworkManager.service                   | multi-user.target.wants
NetworkManager-wait-online.service       | network-online.target.wants
p11-kit-server.socket                    | sockets.target.wants
pipewire-media-session.service           | pipewire.service.wants
pipewire-session-manager.service         | user
pipewire.socket                          | sockets.target.wants
pulseaudio.socket                        | sockets.target.wants
remote-fs.target                         | multi-user.target.wants
systemd-networkd.service                 | multi-user.target.wants
systemd-networkd.socket                  | sockets.target.wants
systemd-networkd-wait-online.service     | network-online.target.wants
systemd-network-generator.service        | sysinit.target.wants
systemd-resolved.service                 | sysinit.target.wants
systemd-timesyncd.service                | sysinit.target.wants
xdg-user-dirs-update.service             | default.target.wants

Offline

#4 2023-05-03 10:43:02

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,102

Re: [SOLVED] WiFi seems disconected but I can use it (KDE Plasma)

disable iwd and all of the systemd-networkd services if you want NetworkManager/applet integration and configure your connection from within the applet.

Last edited by V1del (2023-05-03 10:43:41)

Offline

#5 2023-05-12 08:25:35

moshpirit
Member
Registered: 2016-01-13
Posts: 43

Re: [SOLVED] WiFi seems disconected but I can use it (KDE Plasma)

Hi, if I disable iwd I no longer can interact with the WiFi networks through the applets because it disables the WiFi connection, I feel like I'm missing a very important piece of information, though.

Offline

#6 2023-05-12 10:27:47

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,102

Re: [SOLVED] WiFi seems disconected but I can use it (KDE Plasma)

Restart NetworkManager after, NetworkManager is the only network related service that should be actively active. If you want NetworkManager to use iwd instead of wpa_supplicant, see https://wiki.archlinux.org/title/Networ … Fi_backend but do not enable iwd explicitly regadless

Last edited by V1del (2023-05-12 10:27:56)

Offline

#7 2023-05-28 17:36:24

moshpirit
Member
Registered: 2016-01-13
Posts: 43

Re: [SOLVED] WiFi seems disconected but I can use it (KDE Plasma)

It worked! Thanks a lot!!

To explicitly have the solution here:

create the file /etc/NetworkManager/conf.d/wifi_backend.conf and insert:

[device]
wifi.backend=iwd

Offline

#8 2023-05-28 18:33:04

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,272

Re: [SOLVED] WiFi seems disconected but I can use it (KDE Plasma)

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Online

Board footer

Powered by FluxBB