#[SOLVED] Troubles Resolving WiFi Difficulties with Arch

148 messages · Page 1 of 1 (latest)

thorn fern
#

Hello, I will try to be as direct as I can:

My laptop seems to struggle with maintaining any wireless connection (especially my university's wireless connection) and I'm still experiencing this after upgrading my laptop's WiFi card itself. (I'm now using an AX210). Although my speed and experience has improved (as naturally expected with a current component), I seem to just suddenly drop out and back in constantly? If I look at my list of connections, they tend to disappear and reappear constantly. Since I didn't think it would hurt to try this, I visited my university's IT help area and the one Arch guy (who wasn't present, but messaged the person I was speaking to) suggested a possible driver misconfiguration of some sort. I hear drivers can be a bit messy, but I cannot seem to resolve my problem in spite of the troubleshooting steps I've taken on the Arch wiki.

I use regular Arch with the KDE desktop environment (plus networkmanager). I would sincerely appreciate any help, plus feel free to ask for some clarification if need be!

#

(This might be slightly unrelated, but I will note that I'm still learning. However, I'm very open-minded and I try to do whatever I can before approaching others about stuff)

proven orchid
#

Also, please post the output of systemctl list-units --type service --no-pager

thorn fern
thorn fern
#

It might sound a bit funny to say I'm not sure what wifi drivers I might have installed, but the only clue I seem to be getting is possible driver issues (since the list of available connections would constantly "refresh" as well as my connection dropping in and out)

#

This happened with my last wifi card as well, so it makes me think this has nothing to do with the card itself

#

More fun

#

Here's the lspci output as well, if it helps

proven orchid
# thorn fern

You have many network managers enabled at the same time

#

This can lead to the issues you are experiencing

thorn fern
#

Ah

#

How would I get rid of the others?

proven orchid
#

are you intentionally using iwd as network manager's backend ?

thorn fern
#

or keep the one which is needed?

proven orchid
#

or not

thorn fern
#

I don't think so

proven orchid
#

Okay

thorn fern
#

I just downloaded the network manager and iwlwifi

proven orchid
#

So

thorn fern
#

which I believe iwlwifi was included with the kernel itself

#

afaik

proven orchid
#
sudo systemctl disable --now systemd-networkd```
thorn fern
#

Let me try that

#

What is networkd supposed to be?

proven orchid
#

systemd's network manager

thorn fern
#

Ah, I see

#

And I guess iwd isn't necessary in my case here

#

Well, I'll keep an eye out from here and let you know if things run more smoothly now

proven orchid
#

Nop, you can use iwd as networkmanager's backend instead of wpa_supplicant but you have to configure it

thorn fern
#

Here's the new output

#

(You might notice how iwd is gone)

proven orchid
#

yes they're disabled now

thorn fern
#

I believe one source suggested that I just uninstall it

proven orchid
#

anyway you should post the output of lspci -k

thorn fern
#

somewhere on the Arch forum

#

Oh, will do

#

Here it is

proven orchid
#

driver looks fine 👍

thorn fern
#

Strange, that's a different CPU from what my system has

proven orchid
#

you should no longer disconnect randomly if there's no other issues

thorn fern
#

or claims to has

#

It's an i7-8650U

thorn fern
south oracleBOT
#

0fficerk received a thank you cookie!

thorn fern
#

It doesn't seem to be happening so far, so maybe I'm okay now

proven orchid
thorn fern
#

But I guess I upgraded my wifi card in the process

#

which definitely did help overall

proven orchid
#

but you mention a "miconfiguration" that the school's IT person did? maybe you should reverse that

#

you didn't really detail what it was

thorn fern
#

Oh, I just had a network dropout a second ago

#

Odd

proven orchid
#

Well hold on

#

networkd is still active

thorn fern
#

Either this was just a regular dropout of my internet or it

#

It is?

proven orchid
proven orchid
thorn fern
#

I did

proven orchid
#

maybe you omitted the --now part :p

thorn fern
#

Hold on, I'll share the output

#

Let me double check

#

I wrote this

#

sudo systemctl disable --now systemd-networkd

proven orchid
#

do systemctl status systemd-networkd

thorn fern
#

It's active???

proven orchid
#

can you show me the output pls?

thorn fern
#

disabled, but "preset: enabled"

proven orchid
#

that's weird it should have stopped, well at least it is disabled

thorn fern
#

How would I stop it?

proven orchid
#

sudo systemctl stop systemd-networkd

thorn fern
#

sudo systemctl stop systemd-networkd
Warning: Stopping systemd-networkd.service, but it can still be activated by:
systemd-networkd.socket

#

Oh, didn't save as a box

#

but let me check it now

#

Woah, that uploaded slowly

proven orchid
thorn fern
#

It's still running?

#

apparently

#

In fact, it generates copies of the same status?

proven orchid
#

systemctl status systemd-networkd.socket

thorn fern
#

``● systemd-networkd.socket - Network Service Netlink Socket
Loaded: loaded (/usr/lib/systemd/system/systemd-networkd.socket; disabled; preset: disabled)
Active: active (running) since Thu 2023-06-15 14:53:35 ACST; 1h 24min ago
Triggers: ● systemd-networkd.service
Docs: man:systemd-networkd.service(8)
man:rtnetlink(7)
Listen: route 1361 (Netlink)
CGroup: /system.slice/systemd-networkd.socket

Notice: journal has been rotated since unit was started, output may be incomplete.``

#

So it's still active?

#

supposedly?

proven orchid
thorn fern
#

Alright, will do

#

One moment

#

Okay, back in my OS

#

I will try this now

#

Okay, it's different for socket

proven orchid
#

Okay

#

good

#

and now the status of systemd-networkd

thorn fern
proven orchid
#

ok all is good

#

it just required a reboot lol

thorn fern
#

why is the preset enabled?

#

Shouldn't that be disabled too?

proven orchid
#

you should look at the one before it

thorn fern
#

Right

#

Though I was wondering why it differed

proven orchid
#

did you use archinstall?

thorn fern
#

Yeah

#

Was that possibly the cause?

proven orchid
#

yeah maybe that's why the preset is enabled :p

thorn fern
#

I wasn't sure if archinstall was considered official for this server either, so my apologies there

proven orchid
#

well actually it's enabled on my system as well

#

so idk

#

no idea how these presets work tbh

thorn fern
#

But the preset shouldn't mean anything now

#

since it's disabled

proven orchid
#

yeah forget about it

thorn fern
#

Is there anything else I should check?

proven orchid
#

no more conflicting network managers

thorn fern
#

That probably explained that one dropout from earlier

proven orchid
#

now just monitor your network

thorn fern
#

Just to ensure this kind of thing doesn't happen again?

proven orchid
#

if any more drops come back to this thread

thorn fern
#

Alright

#

I appreciate your help so far, thank you

proven orchid
#

np

#

a useful command would be journalctl -f which helps you monitor journal messages in real time

#

in case the network drops then you can see the messages (logs) immediately

thorn fern
#

@proven orchid Pardon my ping, but it seems like it hasn't happened ever since. I believe it's genuinely all good now

#

I would assume I might have screwed up somewhere and caused many to run at once???

proven orchid
proven orchid
thorn fern
#

I guess I'll just leave them be, although I hope it doesn't somehow come back

#

Even then, I know how to fix it

#

or at least know the cause

proven orchid
#

You disabled the services so you shouldn't worry

#

they won't come back on their own :p

#

And if somehow this issue comes back you can always create a new thread so no worries

thorn fern
#

Thanks

proven orchid
# thorn fern Thanks

If you don't need anything else, mark this as solved by prepending [SOLVED] to the thread's title.

thorn fern
#

[SOLVED] Troubles Resolving WiFi Difficulties with Arch