{"id":1335,"date":"2018-02-19T05:08:26","date_gmt":"2018-02-19T03:08:26","guid":{"rendered":"https:\/\/community.virtono.com\/?p=1335"},"modified":"2020-06-10T16:40:49","modified_gmt":"2020-06-10T13:40:49","slug":"wlan-power-management-under-linux-with-iw-rules","status":"publish","type":"post","link":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/wlan-power-management-under-linux-with-iw-rules\/","title":{"rendered":"Wlan power management under Linux with iw rules"},"content":{"rendered":"<div id=\"bodyContent\" class=\"mw-body-content\">\n<div id=\"contentSub\">The command-line\u00a0<b>tool iw<\/b>\u00a0allows a variety of configuration options for wireless devices.\u00a0Since the power management concerning. The transmitting \/ receiving performance with some cards is problematic, you can disable this in Linux.\u00a0The article shows how\u00a0to install and use\u00a0the tool on\u00a0Ubuntu\u00a0or\u00a0Debian\u00a0,\u00a0Red Hat Enterprise Linux\u00a0and CentOS.\u00a0In general, the tool is already preinstalled in most distributions.<\/div>\n<div><\/div>\n<div>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_73 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/wlan-power-management-under-linux-with-iw-rules\/#Installation_of_iw\" title=\"Installation of iw\">Installation of iw<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/wlan-power-management-under-linux-with-iw-rules\/#Use_of_iw\" title=\"Use of iw\">Use of iw<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/wlan-power-management-under-linux-with-iw-rules\/#Examples\" title=\"Examples\">Examples<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Installation_of_iw\"><\/span><span id=\"Installation_von_iw\" class=\"mw-headline\">Installation of iw<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To use\u00a0<b>iw<\/b>\u00a0, use the package manager to perform the installation from the repositories.<\/p>\n<div class=\"thumb tright\">\n<div class=\"thumbinner\"><a class=\"image fancybox\" href=\"https:\/\/i0.wp.com\/www.thomas-krenn.com\/de\/wiki\/Datei%3APowermanagement_wlan_linux.png?ssl=1\" target=\"_blank\" rel=\"noopener\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"thumbimage\" src=\"https:\/\/i0.wp.com\/www.thomas-krenn.com\/de\/wikiDE\/images\/thumb\/9\/92\/Powermanagement_wlan_linux.png\/433px-Powermanagement_wlan_linux.png?resize=433%2C311&#038;ssl=1\" alt=\"Power management wlan linux.png\" width=\"433\" height=\"311\" \/><\/a><\/p>\n<div class=\"thumbcaption\">\n<div class=\"magnify\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<ul>\n<li>Ubuntu \/ Debian based systems:\u00a0<code>$ sudo apt install iw<\/code><\/li>\n<li>RHEL \/ CentOS:\u00a0<code># yum install iw<\/code><\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Use_of_iw\"><\/span><span id=\"Verwendung_von_iw\" class=\"mw-headline\">Use of iw<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>After a successful installation\u00a0<b>iw<\/b>\u00a0can be\u00a0executed in the terminal as root and be called with further parameters.<\/p>\n<p>Among other things, the tool offers several options for configuring available WLAN adapters:<\/p>\n<ul>\n<li>Control of power management<\/li>\n<li>Control of transmission power<\/li>\n<li>Output hardware properties of the WLAN device<\/li>\n<li>Output connection status of the WLAN device<\/li>\n<li>Scan the neighboring WLAN networks for signal strength (reception quality) \/ transmission rate and encryption method used<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Examples\"><\/span><span id=\"Beispiele\" class=\"mw-headline\">Examples<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Here are some examples of\u00a0<b>how<\/b>\u00a0to use\u00a0<b>iw<\/b>\u00a0:<\/p>\n<ul>\n<li>Get current WLAN interfaces:<\/li>\n<\/ul>\n<dl>\n<dd><code># iw dev<\/code><\/dd>\n<\/dl>\n<ul>\n<li>Current device capabilities of the WLAN device:<\/li>\n<\/ul>\n<dl>\n<dd><code># iw list<\/code><\/dd>\n<\/dl>\n<ul>\n<li>Switch off power management (problematic: poor transmission \/ reception power):<\/li>\n<\/ul>\n<dl>\n<dd><code># iw dev wlan0 set power_save off<\/code><\/dd>\n<\/dl>\n<ul>\n<li>Get current power management status:<\/li>\n<\/ul>\n<dl>\n<dd><code># if dev wlan0 get power_save<\/code><\/dd>\n<\/dl>\n<p><b>Power management in conjunction with NetworkManager<\/b><\/p>\n<p>Since the setting is lost during a reboot, it is recommended to\u00a0permanently enter\u00a0the settings in the file\u00a0<i>\/etc\/NetworkManager\/conf.d\/default-wifi-powersave-on.conf<\/i>\u00a0.\u00a0For example the value &#8220;2&#8221; for power management &#8220;Off&#8221;.<\/p>\n<p>Add the following entry to\u00a0<i>default-wifi-powersave-on.conf<\/i>\u00a0:<\/p>\n<pre>[Connection]\r\n\r\nwifi.powersave = 2\r\n<\/pre>\n<\/div>\n<div id=\"jump-to-nav\" class=\"mw-jump\"><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>The command-line\u00a0tool iw\u00a0allows a variety of configuration options for wireless devices.\u00a0Since the power management concerning. The transmitting \/ receiving performance with some cards is problematic, you can disable this in Linux.\u00a0The article shows how\u00a0to install and use\u00a0the tool on\u00a0Ubuntu\u00a0or\u00a0Debian\u00a0,\u00a0Red Hat Enterprise Linux\u00a0and CentOS.\u00a0In general, the tool is already preinstalled in<\/p>\n","protected":false},"author":4,"featured_media":1336,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[3],"tags":[],"class_list":["post-1335","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorial-how-to"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2018\/02\/433px-Powermanagement_wlan_linux.png?fit=433%2C311&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7ISfL-lx","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":1134,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/ubuntu-how-to-use-windows-programs\/","url_meta":{"origin":1335,"position":0},"title":"Ubuntu: How to use Windows programs","author":"Shreyash Sharma","date":"October 21, 2017","format":false,"excerpt":"With the \"Wine\" tool you can use Windows programs under Ubuntu.\u00a0The freeware is free and is constantly developed further.\u00a0Several million users already use the tool.\u00a0We will show you how the program works. The change from XP or another Windows to Ubuntu can fail on many things, but certainly not on\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/10\/freeware-laeuft-ubuntu-linux-mac-bild-screenshot-wine-105171.jpg?fit=598%2C449&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/10\/freeware-laeuft-ubuntu-linux-mac-bild-screenshot-wine-105171.jpg?fit=598%2C449&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/10\/freeware-laeuft-ubuntu-linux-mac-bild-screenshot-wine-105171.jpg?fit=598%2C449&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":2164,"url":"https:\/\/www.virtono.com\/community\/knowledgebase\/manage-linux-package-managers-with-the-shell\/","url_meta":{"origin":1335,"position":1},"title":"Manage Linux package managers with the shell","author":"Shreyash Sharma","date":"December 19, 2020","format":false,"excerpt":"Package management via the Advanced Package Tool, or APT for short, is part of the recipe for success of Debian and thus also of offshoots such as Ubuntu.\u00a0There are plenty of graphical interfaces for this, but APT can only take advantage of all its advantages in the shell. Installing and\u2026","rel":"","context":"In &quot;Knowledgebase&quot;","block_context":{"text":"Knowledgebase","link":"https:\/\/www.virtono.com\/community\/category\/knowledgebase\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/12\/installing-linux-apps-package.png?fit=640%2C412&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/12\/installing-linux-apps-package.png?fit=640%2C412&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/12\/installing-linux-apps-package.png?fit=640%2C412&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":3477,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-htop-on-linux\/","url_meta":{"origin":1335,"position":2},"title":"How To Install htop on Linux","author":"George B.","date":"June 9, 2023","format":false,"excerpt":"When it comes to monitoring system resources, htop on Linux stands out as a powerful tool that provides a real-time, interactive view of your system's performance. Unlike traditional command-line utilities, htop offers a user-friendly interface with intuitive visualizations. In this article, we'll delve into the process of installing htop on\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/06\/How-To-Install-htop-on-Linux.png?fit=600%2C330&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/06\/How-To-Install-htop-on-Linux.png?fit=600%2C330&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/06\/How-To-Install-htop-on-Linux.png?fit=600%2C330&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":1259,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/installing-synology-assistant-on-ubuntu\/","url_meta":{"origin":1335,"position":3},"title":"Installing Synology Assistant on Ubuntu","author":"Daniel Draga","date":"November 10, 2017","format":false,"excerpt":"This article shows\u00a0how to\u00a0install\u00a0Synology Assistant\u00a0on\u00a0Ubuntu\u00a0.\u00a0The\u00a0Synology\u00a0Assistant is a small tool to disk or RackStations to locate the local network.\u00a0It facilitates the commissioning of a new NAS and connects after entering the user information to the web interface of the device.\u00a0In addition, any number of Synology devices can be monitored.\u00a0The use of\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/11\/synology_logo.jpg?fit=815%2C230&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/11\/synology_logo.jpg?fit=815%2C230&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/11\/synology_logo.jpg?fit=815%2C230&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/11\/synology_logo.jpg?fit=815%2C230&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":2296,"url":"https:\/\/www.virtono.com\/community\/knowledgebase\/docker-installation\/","url_meta":{"origin":1335,"position":4},"title":"Docker Installation","author":"Shreyash Sharma","date":"March 8, 2021","format":false,"excerpt":"I suggest you get machine to follow along this part. So here's a little plug of our own: Cloud VPS, for as little as \u20ac2.95 a month. This article is a part of our complete series of articles on Docker. Click here to access the Free Series. While Docker was\u2026","rel":"","context":"In &quot;Knowledgebase&quot;","block_context":{"text":"Knowledgebase","link":"https:\/\/www.virtono.com\/community\/category\/knowledgebase\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/12122013Docker_twitter.png?fit=750%2C375&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/12122013Docker_twitter.png?fit=750%2C375&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/12122013Docker_twitter.png?fit=750%2C375&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/12122013Docker_twitter.png?fit=750%2C375&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":3472,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-apache-maven-on-centos-7\/","url_meta":{"origin":1335,"position":5},"title":"How to install Apache Maven on CentOS 7","author":"George B.","date":"June 8, 2023","format":false,"excerpt":"We will walk you through the process of installing Apache Maven on CentOS Linux. We will cover the installation of the necessary packages, configuring the environment variables, and demonstrate how to build projects using Maven. Apache Maven is a powerful build automation tool that plays a crucial role in managing\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/06\/How-to-install-Apache-Maven-on-CentOS-7.png?fit=600%2C330&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/06\/How-to-install-Apache-Maven-on-CentOS-7.png?fit=600%2C330&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/06\/How-to-install-Apache-Maven-on-CentOS-7.png?fit=600%2C330&ssl=1&resize=525%2C300 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/1335","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/comments?post=1335"}],"version-history":[{"count":1,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/1335\/revisions"}],"predecessor-version":[{"id":1337,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/1335\/revisions\/1337"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/media\/1336"}],"wp:attachment":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/media?parent=1335"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/categories?post=1335"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/tags?post=1335"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}