You are not logged in.

#1 2021-10-23 15:51:57

Bonkers4Cereal
Member
Registered: 2021-10-23
Posts: 2

Wifi disconnects and reconnects and disconnects etc

Well the title i just installed Arch Linux with the gnome desktop environment
and after installing gnome the WiFi has been weird so if i connect form the built in menu or settings the WiFi repetitively keeps discconecting and reconnecting and if i look at it for a while it says something about a dhcp error i have Network manager, iwd and dhcpd installed or atleast enabled the services for but if i connect from iwctl then it stays connected for around 4-5 minutes then loses connection .

For my hardware i have a Realtek WiFi card and a Atheros Ethernet card.

Not really sure what else to put here if you need anything else just ask if you werent already.

Offline

#2 2021-10-24 10:14:37

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

Re: Wifi disconnects and reconnects and disconnects etc

Unless you configured  networkmanager for iwd compat you have three conflicting services. Disable/stop iwd and dhcpcd. Networkmanager should be the only service that's enabled if you want GNOME integration.

If that didn't help after a reboot post the full output of

sudo journalctl -b

https://wiki.archlinux.org/title/List_o … n_services

Last edited by V1del (2021-10-24 10:15:04)

Offline

#3 2021-10-24 11:44:28

duyinthee
Member
Registered: 2015-06-14
Posts: 242
Website

Re: Wifi disconnects and reconnects and disconnects etc

I'm not sure, it is direct related to your issue or not.
Recently I had a problem with network manager which cannot reconnect wifi network after the network drops on the other side.
Network Manager was trying to reconnect and stuck there.
I get it solved by using dhclient as DHCP client.

[main]
dhcp=dhclient

in /etc/NetworkManager/conf.d/dhcp-client.conf
I also tested with dhcpcd but it doesn't solve. dhclient solved the problem.
see: https://wiki.archlinux.org/title/Networ … HCP_client

I would like to suggest trying change DHCP client one or another.

Offline

#4 2021-10-25 22:04:00

JKMooney
Member
Registered: 2021-10-23
Posts: 5

Re: Wifi disconnects and reconnects and disconnects etc

It definitely looks like competing services.  You mentioned you have iwd and Network Manager enabled. Network Manager will only use iwd as it's backend if you create a configuration file telling it to (https://wiki.archlinux.org/title/Networ … Fi_backend).  Otherwise, Network Manager uses wpa_supplicant.  If you got them both running, it will connect briefly, then die because they're competing with each other.  Also, Network Manager can do DHCP without help (and, if you are using something else, you need to tell Network Manager that's what you're doing by editing a config file).  So, as the moderator said, stop/disable iwd and dhcpcd and let's see what happens next (unless, of course, you're about to tell me you actually made the necessary configuration changes for those to work with Network Manager).

Last edited by JKMooney (2021-10-25 22:04:42)

Offline

#5 2021-11-08 22:52:39

Bonkers4Cereal
Member
Registered: 2021-10-23
Posts: 2

Re: Wifi disconnects and reconnects and disconnects etc

JKMooney wrote:

It definitely looks like competing services.  You mentioned you have iwd and Network Manager enabled. Network Manager will only use iwd as it's backend.


Yep turns out i was dumb and used dhcp, iwd, and Network Manager  disableing the first two resolved the problem

Last edited by Bonkers4Cereal (2021-11-08 22:53:00)

Offline

Board footer

Powered by FluxBB