How often do you need to connect to a new wireless network?

|
jonathn 2022-07-22 23:07:51
ufoludek 2022-07-22 22:36:03
Actually since we’re talking about networking do you have any idea why is NetworkManager so slow to connect to the internet? I’m connected via cable, running bspwm with lightdm as desktop manager. When the login screen appears and I enter my password instantly as soon as the login prompt appears NetworkManager takes like probably 7 or 8 seconds to finally connect to the internet.

Journalctl logs: http://ix.io/45aa

This seems to be an issue on some systems but not others – I have that same delay in bringing up a connection on boot and on resume, but someone else who was having the problem (and filed a bug upstream) then said it resolved itself.

ufoludek 2022-07-22 23:08:26
jonathn 2022-07-22 23:07:51
This seems to be an issue on some systems but not others – I have that same delay in bringing up a connection on boot and on resume, but someone else who was having the problem (and filed a bug upstream) then said it resolved itself.

Mhhhhhhhhh, so it is a thing but nobody knows why. Great.

grazzolini 2022-07-22 23:16:36
ufoludek 2022-07-22 22:36:03
Actually since we’re talking about networking do you have any idea why is NetworkManager so slow to connect to the internet? I’m connected via cable, running bspwm with lightdm as desktop manager. When the login screen appears and I enter my password instantly as soon as the login prompt appears NetworkManager takes like probably 7 or 8 seconds to finally connect to the internet.

Journalctl logs: http://ix.io/45aa

Did you check your Ethernet speeds? Because I had to change my network interface settings to disable autonegotiation and force the speed.

ufoludek 2022-07-22 23:16:54
grazzolini 2022-07-22 23:16:36
Did you check your Ethernet speeds? Because I had to change my network interface settings to disable autonegotiation and force the speed.

I have auto negotiation disabled

grazzolini 2022-07-22 23:17:53
ufoludek 2022-07-22 23:16:54
I have auto negotiation disabled

Are you using cat 6 cable?

ufoludek 2022-07-22 23:17:57
grazzolini 2022-07-22 23:17:53
Are you using cat 6 cable?

cat5e

grazzolini 2022-07-22 23:18:53
ufoludek 2022-07-22 23:17:57
cat5e

And you confirmed you’re getting the speed you can?

ufoludek 2022-07-22 23:19:46
grazzolini 2022-07-22 23:18:53
And you confirmed you’re getting the speed you can?

Yep

alexandarzaric 2022-07-22 23:20:34
ufoludek 2022-07-22 22:36:03
Actually since we’re talking about networking do you have any idea why is NetworkManager so slow to connect to the internet? I’m connected via cable, running bspwm with lightdm as desktop manager. When the login screen appears and I enter my password instantly as soon as the login prompt appears NetworkManager takes like probably 7 or 8 seconds to finally connect to the internet.

Journalctl logs: http://ix.io/45aa

do you have some external device aatached via usb port?

ufoludek 2022-07-22 23:21:17
alexandarzaric 2022-07-22 23:20:34
do you have some external device aatached via usb port?

Mouse, keyboard, usb microphone and external usb audio card

grazzolini 2022-07-22 23:23:32
ufoludek 2022-07-22 23:19:46
Yep

Have you tried using another network manager? Or even no manager at all?

grazzolini 2022-07-22 23:23:44
Because it doesn’t seem to be a physical layer issue
ufoludek 2022-07-22 23:24:06
grazzolini 2022-07-22 23:23:32
Have you tried using another network manager? Or even no manager at all?

Nope

grazzolini 2022-07-22 23:24:10
Also, network managers usually get out of the way once the interface is configured
grazzolini 2022-07-22 23:24:19
ufoludek 2022-07-22 23:24:06
Nope

Give it a try

alexandarzaric 2022-07-22 23:24:24
ufoludek 2022-07-22 23:21:17
Mouse, keyboard, usb microphone and external usb audio card

unplug everything and try. that was my problem with external hard but i used to have problem with wifi connection and speed.

ufoludek 2022-07-22 23:24:27
Any recommendations?
ufoludek 2022-07-22 23:24:48
alexandarzaric 2022-07-22 23:24:24
unplug everything and try. that was my problem with external hard but i used to have problem with wifi connection and speed.

Why would USB be a problem in this case?

grazzolini 2022-07-22 23:24:50
ufoludek 2022-07-22 23:24:27
Any recommendations?

Do you need a GUI?

grazzolini 2022-07-22 23:25:01
If not, systemd-networkd
ufoludek 2022-07-22 23:25:10
grazzolini 2022-07-22 23:24:50
Do you need a GUI?

Mhh I don’t “need” one, but having one is comfy not gonna lie

alexandarzaric 2022-07-22 23:25:41
ufoludek 2022-07-22 23:24:48
Why would USB be a problem in this case?

i’m guessing. it’s not hard to try

grazzolini 2022-07-22 23:25:49
ufoludek 2022-07-22 23:24:48
Why would USB be a problem in this case?

It could be that depending on the amount of devices you have, if it shares the same bus as your network card, it could, in theory, affect the speed

ufoludek 2022-07-22 23:26:17
grazzolini 2022-07-22 23:25:49
It could be that depending on the amount of devices you have, if it shares the same bus as your network card, it could, in theory, affect the speed

My motherboard has 3 NICs, one 1G, one 2,5G (which I disabled) and a wireless one

ufoludek 2022-07-22 23:26:27
Which is still enabled (I should disable it since I don’t use it)
grazzolini 2022-07-22 23:26:45
ufoludek 2022-07-22 23:25:10
Mhh I don’t “need” one, but having one is comfy not gonna lie

How often do you need to connect to a new wireless network? Because I think using iwd client is very easy

ufoludek 2022-07-22 23:26:55
grazzolini 2022-07-22 23:26:45
How often do you need to connect to a new wireless network? Because I think using iwd client is very easy

Never, it’s a desktop

grazzolini 2022-07-22 23:27:07
ufoludek 2022-07-22 23:26:17
My motherboard has 3 NICs, one 1G, one 2,5G (which I disabled) and a wireless one

What’s 2,5G? Never heard of this

grazzolini 2022-07-22 23:27:18
ufoludek 2022-07-22 23:26:55
Never, it’s a desktop

Ah, why aren’t you using static then?

ufoludek 2022-07-22 23:27:49
grazzolini 2022-07-22 23:27:07
What’s 2,5G? Never heard of this

archlinuxgroup-601323.jpg

ufoludek 2022-07-22 23:28:04
ufoludek 2022-07-22 23:27:49

https://www.gigabyte.com/Motherboard/X570-AORUS-MASTER-rev-10/sp#sp

ufoludek 2022-07-22 23:28:15
grazzolini 2022-07-22 23:27:18
Ah, why aren’t you using static then?

I have an ip bound in my router dhcp settings

ufoludek 2022-07-22 23:28:25
My MAC address always gets the same IP
grazzolini 2022-07-22 23:28:30
ufoludek 2022-07-22 23:27:49

Lol, I didn’t knew this was a thing

grazzolini 2022-07-22 23:28:40
ufoludek 2022-07-22 23:28:25
My MAC address always gets the same IP

So all you need is a DHCP client

|