Turning off wireless power management in wlan0 rc.wireless.conf is ignored
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Turning off wireless power management in wlan0 rc.wireless.conf is ignored
I added the line in the section
Code:
## Pick up any Access Point, should work on most 802.11 cards
*)
INFO="Any ESSID"
ESSID="any"
IWCONFIG="power off"
;;
## ---------- END SECTION TO REMOVE ------------
In rc.wireless.conf, but the line has no effect. Power management is turned on by default whenever I reboot.
Is the above command getting executed at all? Should I make rc.wireless.conf executable?
I am using networkmanager with the gnome applet in Xfce. Does that override the settings in rc.wireless.conf?
Last edited by vharishankar; 08-08-2012 at 03:00 AM.
Will it make a difference to add iwconfig wlan0 power off to rc.local? Is that a recommended approach or should this be configured in some other place?
Will it make a difference to add iwconfig wlan0 power off to rc.local? Is that a recommended approach or should this be configured in some other place?
That's indeed how I would try to achieve this, too.
That's indeed how I would try to achieve this, too.
Eric
Thanks. For some reason now it works even in rc.wireless.conf. I haven't put it in /etc/rc.d/rc.local yet, but since it is deprecated I will use rc.local for this.
Hm.... marking as unsolved. Guess I spoke too soon.
I changed the /etc/rc.d/rc.local to include iwconfig wlan0 power off and it still doesn't work. I guess NetworkManager is setting the power management to on every time it initializes the interface and thus overriding iwconfig.
Not sure where to change the setting in NetworkManager. It's irritating to have slow connection because of wireless power management.
Last edited by vharishankar; 08-08-2012 at 11:38 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.