View previous topic :: View next topic |
Author |
Message |
nurali Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1768416315647a085243060.png)
Joined: 17 Nov 2022 Posts: 182 Location: Somewhere,Earth
|
Posted: Fri Oct 11, 2024 1:04 pm Post subject: Not connecting wifi after resume from suspend |
|
|
Hello all:
I am using DWM with xfce-power-manager with slock
And I am using gentoo-sources to be the kernel source with my own configurating (Building everything in kernel, no initramfs, no extra modules)
Everytime I wake this pc up from it's sleep, I can't use wifi
shows: wlp6s0 ...... DOWN mode
shows nothing in Activate a connection
Code: |
journalctl -u NetworkManager
..........................
Oct 11 18:22:33 gentoo NetworkManager[246022]: <info> [1728642153.3678] device (wlp6s0): supplicant interface state: interface_disabled -> inactive
Oct 11 18:22:33 gentoo NetworkManager[246022]: <info> [1728642153.3762] device (wlp6s0): supplicant interface state: inactive -> authenticating
Oct 11 18:22:37 gentoo NetworkManager[246022]: <info> [1728642157.0153] device (wlp6s0): supplicant interface state: authenticating -> disconnected
Oct 11 18:22:47 gentoo NetworkManager[246022]: <info> [1728642167.0229] device (wlp6s0): supplicant interface state: disconnected -> scanning
Oct 11 18:22:47 gentoo NetworkManager[246022]: <info> [1728642167.0561] device (wlp6s0): supplicant interface state: scanning -> authenticating
Oct 11 18:22:50 gentoo NetworkManager[246022]: <info> [1728642170.0187] device (wlp6s0): supplicant interface state: authenticating -> disconnected
Oct 11 18:22:58 gentoo NetworkManager[246022]: <warn> [1728642178.4300] device (wlp6s0): Activation: (wifi) association took too long, failing activation
Oct 11 18:22:58 gentoo NetworkManager[246022]: <info> [1728642178.4300] device (wlp6s0): state change: config -> failed (reason 'ssid-not-found', sys-iface-state: 'managed')
Oct 11 18:22:58 gentoo NetworkManager[246022]: <info> [1728642178.4302] manager: NetworkManager state is now DISCONNECTED
Oct 11 18:22:58 gentoo NetworkManager[246022]: <info> [1728642178.4636] device (wlp6s0): set-hw-addr: set MAC address to D2:A7:AA:BB:A9:10 (scanning)
Oct 11 18:22:58 gentoo NetworkManager[246022]: <warn> [1728642178.7164] device (wlp6s0): Activation: failed for connection 'PeakyBlinders'
Oct 11 18:22:58 gentoo NetworkManager[246022]: <info> [1728642178.7164] device (wlp6s0): supplicant interface state: disconnected -> interface_disabled
Oct 11 18:22:58 gentoo NetworkManager[246022]: <info> [1728642178.7165] device (wlp6s0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
Oct 11 18:22:58 gentoo NetworkManager[246022]: <info> [1728642178.7311] device (wlp6s0): supplicant interface state: interface_disabled -> inactive
Oct 11 18:27:21 gentoo systemd[1]: Stopping Network Manager...
Oct 11 18:27:21 gentoo NetworkManager[246022]: <info> [1728642441.6664] caught SIGTERM, shutting down normally.
Oct 11 18:27:21 gentoo NetworkManager[246022]: <info> [1728642441.6672] device (wlp6s0): state change: disconnected -> unmanaged (reason 'unmanaged-quitting', sys-iface-state: 'managed')
Oct 11 18:27:21 gentoo NetworkManager[246022]: <info> [1728642441.7365] device (wlp6s0): set-hw-addr: reset MAC address to A0:02:A5:FF:BF:04 (unmanage)
Oct 11 18:27:21 gentoo NetworkManager[246022]: <info> [1728642441.9954] exiting (success)
Oct 11 18:27:22 gentoo systemd[1]: NetworkManager.service: Deactivated successfully.
Oct 11 18:27:22 gentoo systemd[1]: Stopped Network Manager.
-- Boot 9c2af8cc0ff846e5a0fda9ffce55cb14 --
Oct 11 18:27:44 gentoo systemd[1]: Starting Network Manager...
Oct 11 18:27:44 gentoo NetworkManager[569]: <info> [1728642464.3616] NetworkManager (version 1.48.4) is starting... (boot:9c2af8cc-0ff8-46e5-a0fd-a9ffce55cb14)
Oct 11 18:27:44 gentoo NetworkManager[569]: <info> [1728642464.3616] Read config: /etc/NetworkManager/NetworkManager.conf (lib: 31-mac-addr-change.conf)
Oct 11 18:27:44 gentoo NetworkManager[569]: <info> [1728642464.3644] manager[0x557955580700]: monitoring kernel firmware directory '/lib/firmware'.
Oct 11 18:27:44 gentoo NetworkManager[569]: <info> [1728642464.3831] hostname: hostname: using hostnamed
Oct 11 18:27:44 gentoo NetworkManager[569]: <info> [1728642464.3831] hostname: static hostname changed from (none) to "gentoo"
Oct 11 18:27:44 gentoo NetworkManager[569]: <info> [1728642464.3832] dns-mgr: init: dns=systemd-resolved rc-manager=unmanaged (auto), plugin=systemd-resolved
Oct 11 18:27:44 gentoo NetworkManager[569]: <info> [1728642464.3842] rfkill0: found Wi-Fi radio killswitch (at /sys/devices/pci0000:00/0000:00:01.2/0000:02:00.2/0000:03:08.0/0000:06:00.0/ieee80211/phy0/rfkill>
Oct 11 18:27:44 gentoo NetworkManager[569]: <info> [1728642464.3843] manager[0x557955580700]: rfkill: Wi-Fi hardware radio set enabled
Oct 11 18:27:44 gentoo NetworkManager[569]: <info> [1728642464.3843] manager[0x557955580700]: rfkill: WWAN hardware radio set enabled
Oct 11 18:27:44 gentoo NetworkManager[569]: <info> [1728642464.3858] Loaded device plugin: NMWifiFactory (/usr/lib64/NetworkManager/1.48.4/libnm-device-plugin-wifi.so)
Oct 11 18:27:44 gentoo NetworkManager[569]: <info> [1728642464.3894] Loaded device plugin: NMBluezManager (/usr/lib64/NetworkManager/1.48.4/libnm-device-plugin-bluetooth.so)
|
I rebooted the system and it finally can connect.
My wireless card is Intel AX210
What caused this? Plz somebody check this. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kgdrenefort Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/7661068826613b962e31a4.jpg)
Joined: 19 Sep 2023 Posts: 313 Location: Somewhere in the 77
|
Posted: Fri Oct 11, 2024 2:22 pm Post subject: |
|
|
Hello,
my first guess: Wi-fi card goes into a sleeping mode to… save energy, and does not wakes up.
Can't find a specific fix or someone on gentoo having the same behavior.
I tried to find out something on the wiki with «power management», «energy saving», «wifi» or «laptop mode» but can't find, but that's really ringing a bell to me (and it could _also_ happens on Windows as well). On Windows it's easy, you uncheck a box about saving mode for this.
Here I guess that would be into NetworkManager config stuff, maybe try this Ubuntu topic, hope this helps: https://askubuntu.com/questions/1022203/how-to-prevent-wifi-sleep-after-suspend
Regards,
GASPARD DE RENEFORT Kévin _________________ Traduction wiki, pour praticiper.
Custom logos/biz card/website. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nurali Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1768416315647a085243060.png)
Joined: 17 Nov 2022 Posts: 182 Location: Somewhere,Earth
|
Posted: Fri Oct 11, 2024 2:35 pm Post subject: |
|
|
kgdrenefort wrote: | Hello,
my first guess: Wi-fi card goes into a sleeping mode to… save energy, and does not wakes up.
Can't find a specific fix or someone on gentoo having the same behavior.
I tried to find out something on the wiki with «power management», «energy saving», «wifi» or «laptop mode» but can't find, but that's really ringing a bell to me (and it could _also_ happens on Windows as well). On Windows it's easy, you uncheck a box about saving mode for this.
Here I guess that would be into NetworkManager config stuff, maybe try this Ubuntu topic, hope this helps: https://askubuntu.com/questions/1022203/how-to-prevent-wifi-sleep-after-suspend
Regards,
GASPARD DE RENEFORT Kévin |
Thanks for replying
I also thought about that, tried looking round Wireless lan drivers, ACPI, Networking support etc. in the kernel, also did not get anything
And also, I saw that Ubuntu topic, but not working
Weird, let's wait for other's opinion, maybe someone is gonna K.O. this problem |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|