Skip to content

Instantly share code, notes, and snippets.

@jcberthon
jcberthon / networkmanager-wifi-powersave.md
Last active Oct 12, 2021
NetworkManager Wi-Fi powersaving configuration
View networkmanager-wifi-powersave.md

NetworkManager WiFi Power Saving

NetworkManager supports WiFi powersaving but the function is rather undocumented.

From the source code: wifi.powersave can have the following value:

  • NM_SETTING_WIRELESS_POWERSAVE_DEFAULT (0): use the default value
  • NM_SETTING_WIRELESS_POWERSAVE_IGNORE (1): don't touch existing setting
  • NM_SETTING_WIRELESS_POWERSAVE_DISABLE (2): disable powersave
@shamil
shamil / howto_deb_repackage.txt
Created Jul 19, 2012
Howto repackage deb packages
View howto_deb_repackage.txt
Use folowing steps to repackage dep package:
1: Extract deb package
# dpkg-deb -x <package.deb> <dir>
2: Extract control-information from a package
# dpkg-deb -e <package.deb> <dir/DEBIAN>
3. After completed to make changes to the package, repack the deb
# dpkg-deb -b <dir> <new-package.deb>
@marktheunissen
marktheunissen / pedantically_commented_playbook.yml
Last active Oct 9, 2021 — forked from phred/pedantically_commented_playbook.yml
Insanely complete Ansible playbook, showing off all the options
View pedantically_commented_playbook.yml
This playbook has been removed as it is now very outdated.