Frederic, 1 year ago (edited 1 year ago) You need to unload your wifi module before suspend. Without systemd it’s easy: create a file /etc/pm/config.d/config containing: <span style="color:#323232;">HOOK_BLACKLIST="wireless" </span><span style="color:#323232;">SUSPEND_MODULES=”NAME_OF_YOUR_WIFI_MODULE” </span><span style="color:#323232;">SUSPEND_MODULES=”wl” </span> With systemd try this create a file /usr/lib/systemd/system-sleep/fix-wifi.sh containing (fuck this editor, replace the “##” with “&&”) : <span style="color:#323232;">#!/bin/bash </span><span style="color:#323232;">[ "$1" = "post" ] ## exec /usr/sbin/modprobe NAME_OF_YOUR_WIFI_MODULE </span><span style="color:#323232;">[ "$1" = "pre" ] ## exec /usr/sbin/modprobe -r NAME_OF_YOUR_WIFI_MODULE </span><span style="color:#323232;">exit 0 </span> and make it executable with chmod 755 /usr/lib/systemd/system-sleep/fix-wifi.sh
You need to unload your wifi module before suspend.
Without systemd it’s easy:
create a file /etc/pm/config.d/config containing:
<span style="color:#323232;">HOOK_BLACKLIST="wireless" </span><span style="color:#323232;">SUSPEND_MODULES=”NAME_OF_YOUR_WIFI_MODULE” </span><span style="color:#323232;">SUSPEND_MODULES=”wl” </span>
With systemd try this
create a file /usr/lib/systemd/system-sleep/fix-wifi.sh containing (fuck this editor, replace the “##” with “&&”) :
<span style="color:#323232;">#!/bin/bash </span><span style="color:#323232;">[ "$1" = "post" ] ## exec /usr/sbin/modprobe NAME_OF_YOUR_WIFI_MODULE </span><span style="color:#323232;">[ "$1" = "pre" ] ## exec /usr/sbin/modprobe -r NAME_OF_YOUR_WIFI_MODULE </span><span style="color:#323232;">exit 0 </span>
and make it executable with chmod 755 /usr/lib/systemd/system-sleep/fix-wifi.sh