You are not logged in.

#1 2024-08-20 21:53:41

Taventra
Member
Registered: 2024-08-20
Posts: 7

Randomly disconnecting from internet.

Every 5-20 minutes, my internet will either get extremely slow or it will completely stop. It sometimes fixes itself after a few minutes. I have noticed that every time I look at dmesg after disconnecting, there is always this line: deauthenticating from 86:5a:25:8e:75:73 by local choice (Reason: 3=DEAUTH_LEAVING)

I have turned off all power saving in bios and my system only has arch linux. Every other device on my network works perfectly fine.

Thanks for any help

Offline

#2 2024-08-21 07:38:14

seth
Member
Registered: 2012-09-03
Posts: 57,935

Re: Randomly disconnecting from internet.

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

Offline

#3 2024-08-21 08:39:04

yxcv
Member
Registered: 2024-02-13
Posts: 39

Re: Randomly disconnecting from internet.

Taventra wrote:

Every 5-20 minutes, my internet will either get extremely slow or it will completely stop. It sometimes fixes itself after a few minutes. I have noticed that every time I look at dmesg after disconnecting, there is always this line: deauthenticating from 86:5a:25:8e:75:73 by local choice (Reason: 3=DEAUTH_LEAVING)

I have turned off all power saving in bios and my system only has arch linux. Every other device on my network works perfectly fine.

Thanks for any help

Next Modem
then ISP


Elektrische Energie garantiert bis
5024 OHNE neue Uranbergwerke
und ganz ohne westliche Hilfe

Offline

#4 2024-08-21 16:16:03

Taventra
Member
Registered: 2024-08-20
Posts: 7

Re: Randomly disconnecting from internet.

seth wrote:

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

Here is the output:

%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f

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
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-pulse.socket                    | sockets.target.wants
pipewire-session-manager.service         | user
pipewire.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
systemd-userdbd.socket                   | sockets.target.wants
wireplumber.service                      | pipewire.service.wants

Offline

#5 2024-08-21 16:17:59

seth
Member
Registered: 2012-09-03
Posts: 57,935

Re: Randomly disconnecting from internet.

If you want to use NM, disable iwd and systemd-networkd*
If you want to use iwd as NM backend, see https://wiki.archlinux.org/title/Networ … Fi_backend

Offline

#6 2024-08-21 17:10:53

Taventra
Member
Registered: 2024-08-20
Posts: 7

Re: Randomly disconnecting from internet.

seth wrote:

If you want to use NM, disable iwd and systemd-networkd*
If you want to use iwd as NM backend, see https://wiki.archlinux.org/title/Networ … Fi_backend


I disabled iwd and systemd-networkd and the internet just doesn't work. Once I enabled and started iwd again, everything worked again. Is there a config I need to change?

Offline

#7 2024-08-21 17:16:01

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,019

Re: Randomly disconnecting from internet.

What is actually setting up your network? Use that and disable the rest.

Online

#8 2024-08-21 17:40:45

Taventra
Member
Registered: 2024-08-20
Posts: 7

Re: Randomly disconnecting from internet.

Scimmia wrote:

What is actually setting up your network? Use that and disable the rest.

I disabled and stopped everything then I enabled and started NM and it seems to be working now smile I'll reply again if there is a disconnect but I havent got any so far

Offline

#9 2024-08-21 17:56:42

Taventra
Member
Registered: 2024-08-20
Posts: 7

Re: Randomly disconnecting from internet.

Taventra wrote:
Scimmia wrote:

What is actually setting up your network? Use that and disable the rest.

I disabled and stopped everything then I enabled and started NM and it seems to be working now smile I'll reply again if there is a disconnect but I havent got any so far


Right after I sent that, the internet cut out and came back but randomly stops for a minute.

Heres what happened during the disconnect:

Aug 21 10:52:48 archlinux wpa_supplicant[3736]: wlan0: No network configuration >
Aug 21 10:52:48 archlinux systemd-networkd[3891]: wlan0: Connected WiFi access p>
Aug 21 10:52:48 archlinux wpa_supplicant[3736]: wlan0: CTRL-EVENT-DISCONNECTED b>
Aug 21 10:52:48 archlinux wpa_supplicant[3736]: wlan0: BSSID 86:5a:25:8e:75:73 i>
Aug 21 10:52:48 archlinux wpa_supplicant[3736]: wlan0: CTRL-EVENT-DSCP-POLICY cl>
Aug 21 10:52:48 archlinux wpa_supplicant[3736]: wlan0: CTRL-EVENT-SUBNET-STATUS->
Aug 21 10:52:48 archlinux NetworkManager[3642]: <info>  [1724262768.2111] device>
Aug 21 10:52:48 archlinux NetworkManager[3642]: <info>  [1724262768.2111] device>
Aug 21 10:52:48 archlinux kernel: wlan0: associated
Aug 21 10:52:48 archlinux kernel: wlan0: Limiting TX power to 30 (30 - 0) dBm as>
Aug 21 10:52:48 archlinux NetworkManager[3642]: <info>  [1724262768.2163] device>
Aug 21 10:52:48 archlinux NetworkManager[3642]: <info>  [1724262768.2164] device>
Aug 21 10:52:48 archlinux iwd[590]: event: state, old: connecting (auto), new: c>
Aug 21 10:52:48 archlinux systemd-networkd[3891]: wlan0: Gained carrier
Aug 21 10:52:48 archlinux NetworkManager[3642]: <info>  [1724262768.3161] device>
Aug 21 10:52:48 archlinux NetworkManager[3642]: <info>  [1724262768.3161] device>
Aug 21 10:52:48 archlinux systemd-networkd[3891]: wlan0: DHCPv4 address 192.168.>
Aug 21 10:52:48 archlinux systemd-timesyncd[581]: Network configuration changed,>
Aug 21 10:52:48 archlinux wpa_supplicant[3736]: wlan0: CTRL-EVENT-SIGNAL-CHANGE >
Aug 21 10:52:48 archlinux systemd-timesyncd[581]: Contacted time server 64.111.9>
Aug 21 10:52:49 archlinux systemd-networkd[3891]: wlan0: Gained IPv6LL

Iwd, wpa_supplicant??? I disabled those. I wonder if they are getting enabled again whenever I reboot sad

Offline

#10 2024-08-21 18:10:01

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

Re: Randomly disconnecting from internet.

wpa_supplicant is expected to show up if it shows up after NetworkManager. The other two, iwd and systemd-networkd you will have to double check and ensure they are disabled.

Offline

#11 2024-08-21 18:17:13

Taventra
Member
Registered: 2024-08-20
Posts: 7

Re: Randomly disconnecting from internet.

V1del wrote:

wpa_supplicant is expected to show up if it shows up after NetworkManager. The other two, iwd and systemd-networkd you will have to double check and ensure they are disabled.

They showed up when I used the command seth sent above. I have disabled iwd and systemd-networkd and stopped them and now the internet has completely stopped.

Offline

#12 2024-08-21 20:50:24

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

Re: Randomly disconnecting from internet.

Setup a connection with NM. What environment are you using? if you want to be able to select internet connections from a GUI you'll want networkmanager active and configure your network via that.

Offline

#13 2024-08-22 14:57:51

Taventra
Member
Registered: 2024-08-20
Posts: 7

Re: Randomly disconnecting from internet.

V1del wrote:

Setup a connection with NM. What environment are you using? if you want to be able to select internet connections from a GUI you'll want networkmanager active and configure your network via that.

I am using i3. I realized I had to get a connection so I used nmcli to do that. thanks smile

I havent got random disconnects so far but sometimes the internet just gets painfully slow for no reason. But thats probably another issue.

Offline

Board footer

Powered by FluxBB