initial commit

This commit is contained in:
2025-07-07 22:30:20 +03:00
commit 2b776d7cce
9 changed files with 994 additions and 0 deletions

20
wifi-powersave-off.sh Executable file
View File

@@ -0,0 +1,20 @@
#!/bin/bash
# Disable WiFi power saving for all wireless interfaces
# Run as root or with sudo
for iface in $(iw dev | awk '/Interface/ {print $2}'); do
echo "Disabling power saving for $iface..."
iw dev "$iface" set power_save off
done
echo "WiFi power saving disabled for all interfaces."
echo "To make this persistent across reboots, create a NetworkManager config: /etc/NetworkManager/conf.d/wifi-powersave.conf"
cat <<EOF | sudo tee /etc/NetworkManager/conf.d/wifi-powersave.conf
[connection]
wifi.powersave = 2
EOF
sudo systemctl reload NetworkManager
echo "Persistent WiFi power saving setting applied."