Pessoal, estou usando o Fedora 42 tem mais ou menos um mês e estava tudo ok, mas desde o final da semana passada estou com um problema chato, após o computador retornar do sleep o Wifi não funciona, só volta a funciona após um reboot.
Já tentei rodar os comandos
sudo modprobe -r iwlmvm iwlwifi
sudo modprobe iwlmvm iwlwifi
E também o
sudo systemctl restart NetworkManager
Os dois sem sucesso, acabo reiniciando o computador muitas vezes ao dia.
Alguém passou por isso?? Estou quase saindo do fedora por isso.
Crie o arquivo e reinicie.
Veja se resolve
Crie o arquivo
/etc/modprobe.d/iwlmvm.conf
E adicione
options iwlmvm power_scheme=1
A power_scheme
of 1 sets iwlmvm to “Always Active.” Available options are:
Value |
Description |
1 |
Always Active |
2 |
Balanced |
3 |
Low-power |
Obrigado.
Configurei aqui, vou testar e depois coloco o resultado.
@swatquest acabei de voltar do almoço e ao retomar do sleep o wifi não voltou, precisei reiniciar novamente 
Ok, I think this is probably about as solved as im going to get for now:
I have implemented rfkill around sleep, works great. (avoids wlan0 becoming wlan1, 2, 3… after each sleep. Not a big deal but was kinda annoying)
Idk of a kosher/elegant method, but this is the script that handles the blocking/unblocking:
/usr/lib/systemd/system-sleep/kill-wifi.sh
#!/bin/sh
# Kill wireless NIC at suspend to avoid kernel attempting to access hardware before it has finished waking
if [ "${1}" == "pre" ]; then
# Bring down wlan before sleep:
/bin/printf "Killing wireless"
/bin/rfkill block wlan
elif [ "${1}" == "post" ]; then
# Bring up wlan after sleep
/bin/printf "Onboarding wireless"
/bin/rfkill unblock wlan
fi
I also removed the modprobe.d configs, as I dont think they were helping me
1 curtida