You are not logged in.

#1 2022-03-24 16:08:56

NoodlesWeAte
Member
Registered: 2022-03-13
Posts: 19

Packets are leaking when connecting to wifi.

I can't use internet with my current arch setup.
I had a custom install arch, but then I reinstalled it with the archinstall script and tried several times.
I am using both iwd and networkmanager, and if I stop any one of them, wifi doesn't even work.
I am not posting any output of any commands, as I don't know where to even begin with.

I can't upgrade any packages, nor update my database. As the upgrade takes too long that yay or pacman thinks I lost the connection.

Last edited by NoodlesWeAte (2022-03-24 16:13:21)

Offline

#2 2022-03-24 17:33:18

twelveeighty
Member
From: Alberta, Canada
Registered: 2011-09-04
Posts: 1,225

Re: Packets are leaking when connecting to wifi.

How to get logs, etc.:

Offline

#3 2022-03-24 18:01:26

NoodlesWeAte
Member
Registered: 2022-03-13
Posts: 19

Re: Packets are leaking when connecting to wifi.

The output of

journalctl -u iwd.service -u NetworkManager.service -u dhcpcd.service -u systemd-networkd.service | xclip -sel clip

is here
https://gist.github.com/IAteNoodles-Lin … 87d5e2a825

Offline

#4 2022-03-24 19:59:26

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Packets are leaking when connecting to wifi.

What do you mean by 'leaking'???
Don't post partial logs, we need to see the whole thing.

But I suspect that your issue is that you have multiple services fighting over your connection.
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

No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#5 2022-03-25 01:12:05

NoodlesWeAte
Member
Registered: 2022-03-13
Posts: 19

Re: Packets are leaking when connecting to wifi.

By leaking I mean, my laptop is leaking in the range of 33-100% packets sometimes,
I mean my internet works, sometimes goes upto 3mbps, but then drops to 12kbps and then after five mins or so goes back up again and then down.
The output

ups-browsed.service                     | multi-user.target.wants
cups-lpd.socket                          | sockets.target.wants
cups.path                                | multi-user.target.wants
cups.service                             | multi-user.target.wants
cups.service                             | printer.target.wants
cups.socket                              | sockets.target.wants
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
dhcpcd.service                           | multi-user.target.wants
dirmngr.socket                           | sockets.target.wants
display-manager.service                  | system
gcr-ssh-agent.socket                     | sockets.target.wants
getty@tty1.service                       | getty.target.wants
gpg-agent-browser.socket                 | sockets.target.wants
gpg-agent-extra.socket                   | sockets.target.wants
gpg-agent.socket                         | sockets.target.wants
gpg-agent-ssh.socket                     | sockets.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                 | multi-user.target.wants
systemd-timesyncd.service                | sysinit.target.wants
systemd-time-wait-sync.service           | sysinit.target.wants
xdg-user-dirs-update.service             | default.target.wants

Offline

#6 2022-03-25 07:07:46

seth
Member
Registered: 2012-09-03
Posts: 60,917

Re: Packets are leaking when connecting to wifi.

Packages are "lost", not leaking - and the reason is, as Slithery spotted in your journal and confirmed by the list of services, that you're running dhcpcd, NM, systemd-networkd concurrently, causing LargeWarmLadybird-max-1mb.gif

Pick one, disable the others.

Offline

#7 2022-03-25 10:10:54

NoodlesWeAte
Member
Registered: 2022-03-13
Posts: 19

Re: Packets are leaking when connecting to wifi.

seth wrote:

Packages are "lost", not leaking - and the reason is, as Slithery spotted in your journal and confirmed by the list of services, that you're running dhcpcd, NM, systemd-networkd concurrently, causing https://thumbs.gfycat.com/LargeWarmLadybird-max-1mb.gif

Pick one, disable the others.

I disabled the all and left only NM, but the problem is still there. I lose connection frequently.

Offline

#8 2022-03-25 10:28:10

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,927

Re: Packets are leaking when connecting to wifi.

"Generally" or only for pacman downloads? If only for pacman downloads make sure your mirrors are set up correctly: https://wiki.archlinux.org/title/Mirror … ng_mirrors

If generally still, post a full

sudo journalctl -b

Offline

#9 2022-03-25 10:54:07

NoodlesWeAte
Member
Registered: 2022-03-13
Posts: 19

Re: Packets are leaking when connecting to wifi.

No, it is systemwide.
I mean the connection is still there and it is connected too, but internet goes up and down, sometimes to kbps.
I have changed the mirrors using reflector but no luck either.

https://gist.github.com/IAteNoodles-Lin … ba3a673308

Offline

#10 2022-03-25 11:36:05

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,927

Re: Packets are leaking when connecting to wifi.

An ath9k chip, they have a known regression in the current kernels, iirc, 5.16.14 is the last one not including said regression, alternatively check the upstream patches that are discussed to maybe fix this: https://bugzilla.kernel.org/show_bug.cgi?id=215703

if you want to downgrade the kernel, refer to https://wiki.archlinux.org/title/Arch_Linux_Archive

Last edited by V1del (2022-03-25 11:37:05)

Offline

#11 2022-03-25 15:36:57

NoodlesWeAte
Member
Registered: 2022-03-13
Posts: 19

Re: Packets are leaking when connecting to wifi.

Yeah, this thread describes my problem exactly. I will downgrade the kernel till there is a mainline patch fixing it.

Offline

Board footer

Powered by FluxBB