Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
WiFi mess - Multiple services trying to control wifi?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
loderatum
n00b
n00b


Joined: 26 Oct 2024
Posts: 6

PostPosted: Mon Jan 27, 2025 12:01 am    Post subject: WiFi mess - Multiple services trying to control wifi? Reply with quote

Hello, new Gentoo user here. I installed with systemd.

My goal is to have a stable WiFi connection that I can control from the XFCE gui. I have been using WPA supplicant from the command line to start the WiFi. I later installed networkmanager.

My WiFi was never very stable, and there may have been multiple services trying to control it from the start. I may have made it worse by installing networkmanager.

I guess I need to know a good way to determine all the services that might be trying to control the wifi, and know which ones I should disable. Or whether that's even my problem...

My symptom is repeated messages like this on the console, associated with temporary loss of WiFi connectivity: https://0x0.st/8XIF.txt

Here are my systemctl services: https://0x0.st/8XI7.txt

Here is my make.conf: http://0x0.st/8XIh.bin

Please suggest what other commands to run to help troubleshoot. thank you!
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1884
Location: Germany

PostPosted: Mon Jan 27, 2025 8:20 am    Post subject: Reply with quote

Maybe it is just this https://wiki.gentoo.org/wiki/Wpa_supplicant#Setup_for_NetworkManager, since both do work together.

But make sure you have read the notice at the start of the page from https://wiki.gentoo.org/wiki/NetworkManager
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54813
Location: 56N 3W

PostPosted: Mon Jan 27, 2025 10:18 am    Post subject: Reply with quote

loderatum,

Your pastebin is normal wifi startup.
Look for
Code:
reason = 3
being repeated in dmesg.
That means the wifi disconnected because it was told to.

Ahh you have reason=4 ... that's supposed to mean Disassociated due to inactivity.
Overly enthusiastic power saving maybe?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
loderatum
n00b
n00b


Joined: 26 Oct 2024
Posts: 6

PostPosted: Mon Jan 27, 2025 7:50 pm    Post subject: Reply with quote

banana, thank you, I had missed wpa_gui. I will use that to control the WiFi from now on.

NeddySeagoon, thanks, that sheds some light on these messages.

It's definitely dropping the connection while I'm in the middle of an interactive SSH session, so it won't be inactivity. It looks like when this happens I am getting both reason=4 and reason=2. Here are the messages I captured: http://0x0.st/8X7E.txt
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54813
Location: 56N 3W

PostPosted: Mon Jan 27, 2025 7:57 pm    Post subject: Reply with quote

loderatum,

There is a list of reason codes here.
2 is Authentication no longer valid.

Is your system trying to change Access Points?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
loderatum
n00b
n00b


Joined: 26 Oct 2024
Posts: 6

PostPosted: Tue Jan 28, 2025 3:39 am    Post subject: Reply with quote

Well, I removed networkmanager and the frequent disconnects went away, so I believe there was some sort of conflict happening.

Now I know about wpa_gui and the reason codes, so thank you everyone!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum