LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-23-2023, 06:01 PM   #1
czezz
Member
 
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 924

Rep: Reputation: 43
wpa_supplicant CTRL-EVENT-DISCONNECTED bssid=xx:xx:xx:xx:xx:xx reason=4 locally_generated=1


Hi everyone,
Ubuntu 22.04

System was running for long months just fine and today all of the sudden WiFi gets disconnected after some minutes since boot and there is absolutely no way to reconnect.
System does not see any wireless networks at all.
The only thing that helps (for a few minutes) is reboot.

By looking at syslog i can see:
Code:
wpa_supplicant[714]: wlp2s0: CTRL-EVENT-DISCONNECTED bssid=xx:xx:xx:xx:xx:xx reason=4 locally_generated=1
reason=4 means: "Disassociated due to inactivity"
I know that from here: https://www.toomanyatoms.com/compute...ion_codes.html

What i already tried, and didnt help was to set wifi.powersave to 2 (disable powersave) in /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
Previously it was 3 (enable powersave).

Any other ideas what might be wrong here?
Full syslog (since the issue starts) in attachment: syslog.txt
Attached Files
File Type: txt syslog.txt (5.9 KB, 15 views)

Last edited by czezz; 12-23-2023 at 06:04 PM.
 
Old 12-27-2023, 02:45 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,850

Rep: Reputation: 161Reputation: 161
Based on your syslog, your client lost AP and then start to scan the AP. But AP is gone, can't be found.
 
Old 12-27-2023, 05:37 PM   #3
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,173

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
Are other wifi devices also having this problem? Just wondering if your AP is acting up.
Instead of a reboot have you tried restarting wpa supplicant?
Code:
sudo service wpa_supplicant restart
 
Old 12-29-2023, 07:22 AM   #4
czezz
Member
 
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 924

Original Poster
Rep: Reputation: 43
Hi guys, thanks for your replies.
I dont really know what was root cause of this issue. The fact is that all of the sudden all wireless networks were gone only for that specific host.
I tired number of things including restarting wpa_supplicant (ty @uteck) but none helped.

Eventually, I have reinstalled network-manager and that did a trick!
Code:
sudo apt reinstall network-manager
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wpa_supplicant[...]: wlan0: CTRL-EVENT-DISCONNECTED bssid=... reason=10 RomeoTangoSiera Linux - Networking 0 12-19-2022 03:45 PM
[SOLVED] linux wpa_supplicant[422] wls32: CTRL-EVENT-BEACON-LOSS dave67 Linux - Networking 1 12-31-2020 06:32 PM
Ctrl+c and ctrl+v and ctrl+a dont work fine after install Nvidia drivers eros1989 Linux - Software 5 03-05-2019 07:00 AM
How to disable Ctrl+C, Ctrl+V, Ctrl+X in rdesktop? Aswathy Linux - Newbie 1 01-19-2011 06:22 PM
Recognizing ctrl+c,ctrl+l,ctrl+d in C programs leonardo6023 Programming 1 08-19-2009 09:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration